Update layout for new hugo version.

epvpn
Robert Jacob 5 years ago
parent 9c61f8a208
commit 507e343386
  1. 2
      config.toml
  2. 4
      layouts/partials/head.html
  3. 4
      layouts/partials/social.html

@ -20,7 +20,7 @@ pluralizelisttitles = false
[[menu.main]]
name = "Home"
pre = "<i class='fa fa-home fa-fw'></i>"
weight = 0
weight = 1
identifier = "home"
url = "/"

@ -33,8 +33,8 @@
<link href="/lib/raleway/raleway.css" rel="stylesheet" type="text/css">
<!-- RSS -->
{{ if .RSSlink }}
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSlink }}" />
{{ if .RSSLink }}
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSLink }}" />
{{ end }}
{{ with .Site.Params.highlightjs }}

@ -1,9 +1,9 @@
<div class="pure-menu social">
<ul class="pure-menu-list">
{{ if and (not (eq .Title "hacKNology")) .RSSlink }}
{{ if and (not (eq .Title "hacKNology")) .RSSLink }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ .RSSlink }}"><i class="fa fa-rss fa-fw"></i>RSS</a>
<a class="pure-menu-link" href="{{ .RSSLink }}"><i class="fa fa-rss fa-fw"></i>RSS</a>
</li>
{{ else }}
<li class="pure-menu-item">

Loading…
Cancel
Save