diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/tvl/template/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/tvl/template/default.nix b/web/tvl/template/default.nix index 37a6545af767..7f4aa399a45c 100644 --- a/web/tvl/template/default.nix +++ b/web/tvl/template/default.nix @@ -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> |