about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-04T15·23+0100
committertazjin <mail@tazj.in>2021-11-05T10·39+0000
commit0e5730a26f290dbc361a3a51756b60eec94e5c5f (patch)
treed47d9c7fda49b953fce2a6c0358825433e2a8b10 /web
parentf360bbdcf0328839da963daea845eef61d7cb395 (diff)
fix(web/blog): Correctly wrap footer content r/3001
Name clash went undetected because I called this variable the same
thing, oops.

Change-Id: Iafa508f26887302b1c256088c50c68cd0ed7eea2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3771
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'web')
-rw-r--r--web/blog/fragments.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/blog/fragments.nix b/web/blog/fragments.nix
index 56e603905d03..f95c0f17a5fe 100644
--- a/web/blog/fragments.nix
+++ b/web/blog/fragments.nix
@@ -35,7 +35,7 @@ let
     </header>
   '';
 
-  footer = content: ''
+  fullFooter = content: ''
     <hr>
     <footer>
       ${content}
@@ -86,7 +86,7 @@ let
     cat ${renderMarkdown post.content} >> $out
     echo '</article>' >> $out
 
-    cat ${writeText "footer.html" footer} >> $out
+    cat ${writeText "footer.html" (fullFooter footer)} >> $out
   '';
 in {
   inherit isDraft isUnlisted renderPost;