diff options
Diffstat (limited to '_build/themes/ninenines/layouts/partials')
-rw-r--r-- | _build/themes/ninenines/layouts/partials/head.html | 6 | ||||
-rw-r--r-- | _build/themes/ninenines/layouts/partials/header.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/_build/themes/ninenines/layouts/partials/head.html b/_build/themes/ninenines/layouts/partials/head.html index b3410726..b12f87a9 100644 --- a/_build/themes/ninenines/layouts/partials/head.html +++ b/_build/themes/ninenines/layouts/partials/head.html @@ -14,7 +14,7 @@ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png"> <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png"> - {{ if .RSSLink }} - <link rel="alternate" href="{{ .RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}" /> - {{ end }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} </head> diff --git a/_build/themes/ninenines/layouts/partials/header.html b/_build/themes/ninenines/layouts/partials/header.html index cff35bcc..314af2e9 100644 --- a/_build/themes/ninenines/layouts/partials/header.html +++ b/_build/themes/ninenines/layouts/partials/header.html @@ -15,7 +15,7 @@ <div id="side-header"> <nav> <ul> - <li{{ if or (eq .URL "/articles/") (eq .Section "articles") }} class="active"{{ end }}><a title="Hear my thoughts" href="/articles">Articles</a></li> + <li{{ if or (eq .Page.RelPermalink "/articles/") (eq .Section "articles") }} class="active"{{ end }}><a title="Hear my thoughts" href="/articles">Articles</a></li> <li{{ if .IsPage }}{{ if eq .Type "talks" }} class="active"{{ end }}{{ end }}><a title="Watch my talks" href="/talks">Talks</a></li> <li{{ if .IsPage }}{{ if or (eq .Type "docs-index") (eq .Section "docs") }} class="active"{{ end }}{{ end }}><a title="Read the docs" href="/docs">Documentation</a></li> <li{{ if .IsPage }}{{ if eq .Type "services" }} class="active"{{ end }}{{ end }}><a title="Request my services" href="/services">Consulting & Training</a></li> |