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 | |
parent | be3668eefdfe4c019bbb31162a6df77eac800fc2 (diff) |
feat: new header
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 49 | ||||
-rw-r--r-- | layouts/_default/index.html | 2 |
2 files changed, 30 insertions, 21 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> diff --git a/layouts/_default/index.html b/layouts/_default/index.html index d4b0324..1143c15 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -13,7 +13,7 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we <h2>Sections</h2> <nav> - <P> ✦ <a h class="sec-link" ref="/star-trek/home/"><b>Star Trek fan site</b>: my little shrine to the greatest american Sci-Fi that has ever graced our screens.</a> </p> + <P> ✦ <a class="sec-link" href="/star-trek/home/"><b>Star Trek fan site</b>: my little shrine to the greatest american Sci-Fi that has ever graced our screens.</a> </p> <P> ♠ <a class="sec-link" href="/funnies/"><b>Funnies</b>: A small, curated collection of things I found funny or ammusing.</a> </p> <p> ♻ <a class="sec-link" href="/vcs/git/"><b>Version control system</b> : My little code repository. I don't expect to cooporate on any of those, so it's just stagit.</a></p> <p> ♥ <a class="sec-link" href="/site/info/"><b>Site info</b> : you can find site uptates, metrics, statics, and legal thingies here.</a></p> |