feat(web/tvl/template): Support extraFooter
argument
Change-Id: If42bb8476cd513d7844ef3494e82563a5786c670 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3649 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
1431a0a7ca
commit
0ec6b4fad6
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
, content
|
||||
# optional extra html to inject into <head>
|
||||
, extraHead ? null
|
||||
# optional extra html to inject into <footer>
|
||||
, extraFooter ? null
|
||||
# whether to use global URLs instead of absolute paths
|
||||
, useUrls ? false
|
||||
}@args:
|
||||
|
@ -49,6 +51,7 @@ runCommandNoCC "index.html" {
|
|||
<a class="uncoloured-link" href="https://todo.tvl.fyi/">todos</a>
|
||||
|
|
||||
<a class="uncoloured-link" href="https://atward.tvl.fyi/">search</a>
|
||||
'' + lib.optionalString (args ? extraFooter) extraFooter + ''
|
||||
</p>
|
||||
<p class="lod">ಠ_ಠ</p>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue