diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 7 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 894b907..fba4ccc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,7 @@ <head> <link href="http://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> + {{ .Hugo.Generator }} <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> @@ -10,9 +11,9 @@ <title> {{ .Title }} · {{ .Site.Title }} </title> <!-- CSS --> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/poole.css"> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/syntax.css"> - <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/hyde.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/poole.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hyde.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> <!-- Icons --> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 645b25c..4bdc33e 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,7 +1,7 @@ <div class="sidebar"> <div class="container sidebar-sticky"> <div class="sidebar-about"> - <h1>{{ .Site.Title }}</h1> + <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a> <p class="lead"> {{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}} </p> @@ -10,7 +10,7 @@ <ul class="sidebar-nav"> <li><a href="/">Home</a> </li> {{ range .Site.Menus.main }} - <li><a href="{{.Url}}"> {{ .Name }} </a></li> + <li><a href="{{.URL}}"> {{ .Name }} </a></li> {{end}} </ul> |