about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-15 09:55:34 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-15 09:55:34 +0100
commit20f8b9405915e227d8868e32ec2bc89a145bcff4 (patch)
tree22c411daee9d684cf0a05196697a2387e0f2387f
parent1640aca459163e684e9b684d558c49dcdb116005 (diff)
downloadkronika-20f8b9405915e227d8868e32ec2bc89a145bcff4.tar.gz
kronika-20f8b9405915e227d8868e32ec2bc89a145bcff4.zip
Add path to lowdown-f
Netlify doesn't use PATH, idk why
-rwxr-xr-xgen2
-rwxr-xr-xssg52
2 files changed, 2 insertions, 2 deletions
diff --git a/gen b/gen
index b80c009..524ebde 100755
--- a/gen
+++ b/gen
@@ -26,7 +26,7 @@ post_rss() {
     <pubDate>$date</pubDate>
     <title>$title</title>
     <description><![CDATA[
-    $(lowdown-f $file)
+    $(./tools/lowdown-f $file)
     ]]></description>
   </item>
 EOF
diff --git a/ssg5 b/ssg5
index 67736d6..a0e8339 100755
--- a/ssg5
+++ b/ssg5
@@ -201,7 +201,7 @@ render_md_files_lowdown() {
       echo "<article class="kronika">" > $in || \
       echo "<article>" > $in
 
-    lowdown-f "$1/$f" >> $in && \
+    ./tools/lowdown-f "$1/$f" >> $in && \
     echo "</article>" >> $in
 
     cat "$in" |