diff options
-rwxr-xr-x | generate.sh | 1 | ||||
-rw-r--r-- | post.esh | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/generate.sh b/generate.sh index 9950f41..5a01962 100755 --- a/generate.sh +++ b/generate.sh | |||
@@ -90,7 +90,6 @@ for f in $posts; do | |||
90 | id="${file##*/}" # ill name my posts just fine | 90 | id="${file##*/}" # ill name my posts just fine |
91 | 91 | ||
92 | # generate posts | 92 | # generate posts |
93 | html=$(lowdown "$file") | ||
94 | stats=$(wc "$file") | 93 | stats=$(wc "$file") |
95 | words="$(echo $stats | awk '{print $2}')" | 94 | words="$(echo $stats | awk '{print $2}')" |
96 | lines="$(echo $stats | awk '{print $1}')" | 95 | lines="$(echo $stats | awk '{print $1}')" |
@@ -36,7 +36,7 @@ | |||
36 | <%=$title%> | 36 | <%=$title%> |
37 | </h1> | 37 | </h1> |
38 | <div class="post-text"> | 38 | <div class="post-text"> |
39 | <% lowdown "$file"%> | 39 | <% pandoc --quiet -t html -s --highlight-style monochrome "$file" %> |
40 | </div> | 40 | </div> |
41 | <%= "$intro" %> | 41 | <%= "$intro" %> |
42 | <a href="/" class="post-end-link">⟵ Back</a> | 42 | <a href="/" class="post-end-link">⟵ Back</a> |