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:
parent
f360bbdcf0
commit
0e5730a26f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue