summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html37
1 files changed, 23 insertions, 14 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e0fdb94..be7e066 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -52,22 +52,27 @@
{{ $section_class = "blog" }}
{{ else if in .Page.Params.categories "article" }}
{{ $section_class = "article" }}
+ {{ else if in .Page.Params.categories "emacs" }}
+ {{ $section_class = "emacs" }}
{{ end }}
<body class="{{ $section_class }}">
<header>
<div class="logo">
- {{ if in .Page.Params.category "bsd" }}
- {{ $logo := resources.Get "logos/logo-beastie-white.svg" }}
+ {{ if in .Page.Params.category "bsd" }}
+ {{ $logo := resources.Get "logos/logo-beastie-white.svg"}}
<img src="{{$logo.RelPermalink}}" class="beastie">
- {{ else if in .Page.Params.categories "star-trek" }}
+ {{ else if in .Page.Params.categories "star-trek" }}
{{ $logo := resources.Get "logos/logo-startrek-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="stbadge">
- {{ else if in .Page.Params.category "blog" }}
+ {{ else if in .Page.Params.category "blog" }}
{{ $logo := resources.Get "logos/logo-blog-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="blogicon">
- {{ else if in .Page.Params.categories "article" }}
+ {{ else if in .Page.Params.categories "article" }}
{{ $logo := resources.Get "logos/logo-article-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="files">
+ {{ else if in .Page.Params.Categories "emacs" }}
+ {{ $logo := resources.Get "logos/logo-emacs-white.svg" }}
+ <img src="{{$logo.RelPermalink}}" class="emacslogo">
{{ end }}
</div>
@@ -99,17 +104,21 @@
<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="/">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 id="categories-nav">
+ <a href="/articles/">Articles</a> |
+ <a href="/blog/">Blog</a> |
+ <a href="/bsd/">BSD</a> |
+ <a href="/emacs/">Emacs</a> |
+ <a href="/funnies/">Funnies</a> |
+ <a href="/site/">Site info</a> |
+ <a href="/star-trek/">Star Trek </a> |
+ <a href="/vcs/git">VCS</a>
+ </nav>
</nav>
</nav>
</footer>