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
This commit is contained in:
parent
87c141d3d7
commit
d0c0227a7b
3 changed files with 10 additions and 4 deletions
|
@ -4,6 +4,11 @@ depot.web.tvl.template {
|
||||||
useUrls = true;
|
useUrls = true;
|
||||||
title = "atward";
|
title = "atward";
|
||||||
content = ''
|
content = ''
|
||||||
|
atward
|
||||||
|
======
|
||||||
|
|
||||||
|
----------
|
||||||
|
|
||||||
**atward** is [TVL's](https://tvl.fyi/) search
|
**atward** is [TVL's](https://tvl.fyi/) search
|
||||||
service. It can be configured as a browser search engine for easy
|
service. It can be configured as a browser search engine for easy
|
||||||
access to TVL bugs, code reviews, code paths and more.
|
access to TVL bugs, code reviews, code paths and more.
|
||||||
|
|
|
@ -12,6 +12,11 @@ let
|
||||||
homepage = depot.web.tvl.template {
|
homepage = depot.web.tvl.template {
|
||||||
title = "The Virus Lounge";
|
title = "The Virus Lounge";
|
||||||
content = ''
|
content = ''
|
||||||
|
The Virus Lounge
|
||||||
|
================
|
||||||
|
|
||||||
|
-------
|
||||||
|
|
||||||
![The Virus Lounge](/static/virus_lounge.webp)
|
![The Virus Lounge](/static/virus_lounge.webp)
|
||||||
|
|
||||||
Welcome to **The Virus Lounge**. We're a random group of
|
Welcome to **The Virus Lounge**. We're a random group of
|
||||||
|
|
|
@ -30,10 +30,6 @@ runCommandNoCC "index.html" {
|
||||||
'' + lib.optionalString (args ? extraHead) extraHead + ''
|
'' + lib.optionalString (args ? extraHead) extraHead + ''
|
||||||
</head>
|
</head>
|
||||||
<body class="light">
|
<body class="light">
|
||||||
<header>
|
|
||||||
<h1><a class="blog-title" href="/">${title}</a> </h1>
|
|
||||||
<hr>
|
|
||||||
</header>
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit content;
|
inherit content;
|
||||||
|
|
Loading…
Reference in a new issue