diff options
Diffstat (limited to '_build')
-rw-r--r-- | _build/data/projects/cowlib.toml | 4 | ||||
-rw-r--r-- | _build/themes/ninenines/layouts/partials/head.html | 6 | ||||
-rw-r--r-- | _build/themes/ninenines/layouts/partials/header.html | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/_build/data/projects/cowlib.toml b/_build/data/projects/cowlib.toml index 6150d953..d1850709 100644 --- a/_build/data/projects/cowlib.toml +++ b/_build/data/projects/cowlib.toml @@ -3,7 +3,7 @@ catchphrase = "Support library for the Web." description = "The Web toolbox for HTTP/1.1, HTTP/2, Websocket, Multipart, Cookies, URL encoding..." name = "cowlib" repository = "https://github.com/ninenines/cowlib" -versions = ["2.11", "2.10", "2.9", "2.8"] -branches = ["2.11.0", "2.10.1", "2.9.1", "2.8.0"] +versions = ["2.12", "2.11", "2.10", "2.9", "2.8"] +branches = ["2.12.0", "2.11.0", "2.10.1", "2.9.1", "2.8.0"] has_source = true has_manual = true 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> |