diff options
author | mms <michal@sapka.me> | 2023-11-28 13:11:45 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-11-28 13:11:45 +0100 |
commit | 2b1e12780e96a700bfe6cfb7783c08d18808e907 (patch) | |
tree | 94caac4c936db05e20f5fd3d8181c0452a9f7d0d /layouts/_default/baseof.html | |
parent | be3668eefdfe4c019bbb31162a6df77eac800fc2 (diff) |
feat: new header
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9addbf0..b5305ab 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -41,30 +41,21 @@ <link rel="pingback" href="https://webmention.io/d-s.sh/xmlrpc"> </head> <body> - <header> - <a href="/"> - <h1>{{ .Site.Title }}</h1> - </a> - - <nav id="top-nav"> - <nav id="main-nav"> - <a href="/">Home</a> - <a href="/about">About</a> - <a href="/links">Links</a> - <a href="/index.xml">RSS</a> - </nav> - <nav id="categories-nav"> - <a href="/category/engineering">Engineering</a> - <a href="/category/emacs">Emacs</a> - <a href="/category/bsd">BSD</a> - <a href="/category/computer-history">Computer History</a> - <a href="/star-trek">Star Trek</a> + <div class="logo"> + </div> + + <div class="name"> + <nav> + <h1>{{partial "site-name" . }}</h1> + {{ if not (in .Page.Params.category "mws") }} + <a href="/">Part of MWS</a> + {{ end }} </nav> - </nav> + </div> + </header> - </header> <main class="right-column"> {{ partial "back_nav" . }} @@ -81,5 +72,23 @@ </main> + + <footer> + <nav id="top-nav"> + <nav id="main-nav"> + <a href="/">Home</a> + <a href="/about">About</a> + <a href="/links">Links</a> + <a href="/index.xml">RSS</a> + </nav> + <nav id="categories-nav"> + <a href="/category/engineering">Engineering</a> + <a href="/category/emacs">Emacs</a> + <a href="/category/bsd">BSD</a> + <a href="/category/computer-history">Computer History</a> + <a href="/star-trek">Star Trek</a> + </nav> + </nav> + </footer> </body> </html> |