From d0c0227a7b76ee772a048e590ec56caf04886118 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 22 Sep 2021 15:19:43 +0300 Subject: refactor(web/tvl/template): Don't forcefully embed title in page This hands more layout control back to the page content instead of the template. There are cases (currently experimenting with logo layout) where it's visually nicer if there isn't a page title, but the rest of the template still applies. Change-Id: Ia3cd0c750beec5408e631760f1faeea8efec91db --- web/atward/indexHtml/default.nix | 5 +++++ web/tvl/default.nix | 5 +++++ web/tvl/template/default.nix | 4 ---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/web/atward/indexHtml/default.nix b/web/atward/indexHtml/default.nix index ed5f65cd41..adf7c1761a 100644 --- a/web/atward/indexHtml/default.nix +++ b/web/atward/indexHtml/default.nix @@ -4,6 +4,11 @@ depot.web.tvl.template { useUrls = true; title = "atward"; content = '' + atward + ====== + + ---------- + **atward** is [TVL's](https://tvl.fyi/) search service. It can be configured as a browser search engine for easy access to TVL bugs, code reviews, code paths and more. diff --git a/web/tvl/default.nix b/web/tvl/default.nix index 2a471fadc3..50b3eac2f6 100644 --- a/web/tvl/default.nix +++ b/web/tvl/default.nix @@ -12,6 +12,11 @@ let homepage = depot.web.tvl.template { title = "The Virus Lounge"; content = '' + The Virus Lounge + ================ + + ------- + ![The Virus Lounge](/static/virus_lounge.webp) Welcome to **The Virus Lounge**. We're a random group of diff --git a/web/tvl/template/default.nix b/web/tvl/template/default.nix index fe316b6709..37a6545af7 100644 --- a/web/tvl/template/default.nix +++ b/web/tvl/template/default.nix @@ -30,10 +30,6 @@ runCommandNoCC "index.html" { '' + lib.optionalString (args ? extraHead) extraHead + '' -
-

${title}

-
-
''; inherit content; -- cgit 1.4.1