diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 43 |
1 files changed, 17 insertions, 26 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 95c447d..aa899a6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -41,42 +41,33 @@ <link rel="webmention" href="https://webmention.io/d-s.sh/webmention"> <link rel="pingback" href="https://webmention.io/d-s.sh/xmlrpc"> </head> - <body> - <div class="the-site"> - <aside class="left-column"> - <a href="/"> - {{ $logo := resources.Get "logos/right.png" }} - {{ $logo1x := $logo.Resize "x160 webpn" }} - {{ $logo2x := $logo.Resize "x310 webpn" }} - <div class="logo"> - <img - alt="logo" - src="{{ $logo.Permalink }}" - srcset=" - {{ $logo1x.RelPermalink }} 1x, - {{ $logo2x.RelPermalink }} 2x - " - width="{{$logo.Width}}" - height="{{$logo.Height}}"> - </div> - </a> + <body> + + <header> + <a href="/"> <h1>{{ .Site.Title }}</h1> - <nav id="mainnav"> + </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> - <BR> + </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="/category/star-trek">Star Trek</a> - </nav> - + <nav> + </nav> + + + </header> - </aside> + <main class="right-column"> {{ block "main" . }} {{ end }} @@ -84,7 +75,7 @@ {{ block "pagination" . }} {{ end }} </main> - </div> + {{ block "FOOTER" . }} <footer> |