about summary refs log tree commit diff
path: root/web/tvl/template/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-05T12·41+0100
committertazjin <mail@tazj.in>2021-11-05T12·51+0000
commit4baf633622bd75492ce1e62336c8c2c99c44e13d (patch)
treefac435ca3abad44c63a79e9ee23f34719342c2b3 /web/tvl/template/default.nix
parent10e279ac13f3fe98cfd301dc38d54507740f9b86 (diff)
refactor(web/tvl/template): Move footer into a separate target r/3003
This makes it possible for the footer to be reused in other places,
e.g. when templating blog posts (which do not go through
//web/tvl/template (yet)).

Change-Id: Ia8ab0e1c6db4f76b4de49239e11a4474038f60ae
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3773
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'web/tvl/template/default.nix')
-rw-r--r--web/tvl/template/default.nix16
1 files changed, 1 insertions, 15 deletions
diff --git a/web/tvl/template/default.nix b/web/tvl/template/default.nix
index b91016c22f..f33274f02e 100644
--- a/web/tvl/template/default.nix
+++ b/web/tvl/template/default.nix
@@ -37,21 +37,7 @@ runCommandNoCC "index.html" {
   footerPart = ''
     <hr>
     <footer>
-      <p class="footer">
-        <a class="uncoloured-link" href="https://at.tvl.fyi/?q=%2F%2FREADME.md">code</a>
-        |
-        <a class="uncoloured-link" href="https://cl.tvl.fyi/">reviews</a>
-        |
-        <a class="uncoloured-link" href="https://tvl.fyi/builds">ci</a>
-        |
-        <a class="uncoloured-link" href="https://b.tvl.fyi/">bugs</a>
-        |
-        <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>
+      ${depot.web.tvl.footer args}
     </footer>
   </body>
   '';