diff options
author | gabrielgio <gabriel.giovanini@pm.me> | 2020-07-12 20:54:52 +0200 |
---|---|---|
committer | gabrielgio <gabriel.giovanini@pm.me> | 2020-07-12 20:54:52 +0200 |
commit | 31a09fcf1c0d7abf4791ca6e5bba37135d3305f7 (patch) | |
tree | ab2911083c5fca428fd009b20a24bdf36186b563 /themes/flamingo/layouts/partials/header.html | |
parent | beccd4b2a4730325b18f52aae6f457b2c593dc85 (diff) | |
download | gabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.tar.gz gabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.tar.bz2 gabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.zip |
Add log and some others small fixes
Diffstat (limited to 'themes/flamingo/layouts/partials/header.html')
-rw-r--r-- | themes/flamingo/layouts/partials/header.html | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/themes/flamingo/layouts/partials/header.html b/themes/flamingo/layouts/partials/header.html index 478c6f1..f45fb9b 100644 --- a/themes/flamingo/layouts/partials/header.html +++ b/themes/flamingo/layouts/partials/header.html @@ -3,19 +3,14 @@ <!-- title wrapper --> <div class="title-wrapper"> <a href="/"> - <h2 class="title">{{ .Site.Title }}</h2> + <h2 class="title" >{{ .Site.Title }}</h2> </a> <nav> <ul> - <li><a href="/posts/">posts</a></li> - <li><a href="/projects/">projects</a></li> - <li><a href={{ .Site.Params.resume }} target="_blank">resume</a></li> - <!-- <li><a href="/resume/" target="_blank" >resume</a></li> --> - </ul> + <li><a class="{{ cond (eq .Title "Posts") "active-link" ""}}" href="/posts/">posts</a></li> + <li><a class="{{ cond (eq .Title "Logs") "active-link" ""}}" href="/logs/">logs</a></li> </nav> </div> - <!-- title wrapper end --> - {{ with .Site.Menus.main }} <nav> <ul> |