diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 7 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5d1df3c..d7b936c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,7 @@ <!DOCTYPE html> <html lang="en-GB"> <head> + <link href="//gmpg.org/xfn/11" rel="profile"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> @@ -18,6 +19,8 @@ <link rel="prefetch" href="/css/syntax.css"> {{- end }} <link rel="stylesheet" href="/css/hyde.css"> - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"> + {{ range .AlternativeOutputFormats -}} + {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{ end -}} {{ partial "hook_head_end.html" . }} - </head> \ No newline at end of file + </head> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index c89cc6f..c8fa089 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -19,9 +19,9 @@ <nav> <ul class="sidebar-nav"> - <li><a href="{{ .Site.BaseURL }}">Home</a></li> - {{- range .Site.Menus.main }} - <li><a href="{{.URL}}">{{ .Name }}</a></li> + <li><a href="{{ .Site.BaseURL }}">Home</a> </li> + {{ range .Site.Menus.main -}} + <li><a href="{{.URL}}"> {{ .Name }} </a></li> {{- end }} </ul> </nav> |