fix(web/blog): Correctly wrap footer content

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>
This commit is contained in:
Vincent Ambo 2021-11-04 16:23:47 +01:00 committed by tazjin
parent f360bbdcf0
commit 0e5730a26f

View file

@ -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;