summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_content.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build_content.sh b/scripts/build_content.sh
index 3e4d512..3dea44f 100755
--- a/scripts/build_content.sh
+++ b/scripts/build_content.sh
@@ -27,7 +27,7 @@ get_filename_out() {
27 27
28get_metadata() { 28get_metadata() {
29 pandoc "$1" \ 29 pandoc "$1" \
30 -f markdown \ 30 -f markdown-citations \
31 -t plain \ 31 -t plain \
32 --metadata content_dir="$CONTENT_DIR" \ 32 --metadata content_dir="$CONTENT_DIR" \
33 --metadata file_in="$1" \ 33 --metadata file_in="$1" \
@@ -40,7 +40,7 @@ get_metadata() {
40 40
41get_content() { 41get_content() {
42 pandoc "$1" \ 42 pandoc "$1" \
43 -f markdown \ 43 -f markdown-citations \
44 -t markdown \ 44 -t markdown \
45 --metadata content_dir="$CONTENT_DIR" \ 45 --metadata content_dir="$CONTENT_DIR" \
46 --metadata file_in="$1" \ 46 --metadata file_in="$1" \
@@ -120,7 +120,7 @@ handle () {
120 echo -e "\033[0;90m[COMPILE ]\033[0m Creating feed" 120 echo -e "\033[0;90m[COMPILE ]\033[0m Creating feed"
121 121
122 pandoc "$1" \ 122 pandoc "$1" \
123 -f markdown \ 123 -f markdown-citations \
124 -t html5 \ 124 -t html5 \
125 --no-highlight \ 125 --no-highlight \
126 --template "${TEMPLATES_DIR}feed.xml" \ 126 --template "${TEMPLATES_DIR}feed.xml" \
@@ -136,7 +136,7 @@ handle () {
136 echo -e "\033[0;90m[COMPILE ]\033[0m Creating page" 136 echo -e "\033[0;90m[COMPILE ]\033[0m Creating page"
137 137
138 pandoc "$1" \ 138 pandoc "$1" \
139 -f markdown \ 139 -f markdown-citations \
140 -t html5 \ 140 -t html5 \
141 --no-highlight \ 141 --no-highlight \
142 --template "${TEMPLATES_DIR}base.html" \ 142 --template "${TEMPLATES_DIR}base.html" \
@@ -149,7 +149,7 @@ handle () {
149 $FILTERS 149 $FILTERS
150 150
151 # echo "$(pandoc "$1" \ 151 # echo "$(pandoc "$1" \
152 # -f markdown \ 152 # -f markdown-citations \
153 # -t plain \ 153 # -t plain \
154 # --no-highlight \ 154 # --no-highlight \
155 # --template scripts/metadata_tpl.json \ 155 # --template scripts/metadata_tpl.json \