diff options
Diffstat (limited to 'scripts/postinfo')
-rwxr-xr-x | scripts/postinfo | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/postinfo b/scripts/postinfo deleted file mode 100755 index d6da015..0000000 --- a/scripts/postinfo +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -cd "$(dirname $0)" - -filename=$1 - -jq -n \ - --argjson title "$(./meta title $filename)" \ - --argjson subtitle "$(./meta subtitle $filename)" \ - --argjson author "$(./meta author $filename)" \ - --argjson date "$(./meta date $filename)" \ - --argjson tags "$(./meta tags $filename)" \ - --argjson cover "$(./meta cover $filename)" \ - --argjson id "$(basename $filename .md | jq --raw-input)" \ -'{ - "title": $title, - "subtitle": $subtitle, - "author": $author, - "date": $date, - "tags": $tags, - "cover": $cover, - "id": $id -}' - |