From 44ad28299171aa98cc8d70c88e7d580c4741896c Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Tue, 19 Mar 2019 15:51:07 +0100 Subject: [PATCH] mastodon proof and syntax improvements --- themes/hugo-sustain/layouts/partials/head.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/themes/hugo-sustain/layouts/partials/head.html b/themes/hugo-sustain/layouts/partials/head.html index 621b487..f09eb31 100644 --- a/themes/hugo-sustain/layouts/partials/head.html +++ b/themes/hugo-sustain/layouts/partials/head.html @@ -1,13 +1,14 @@ - - - + + + - {{ with .Site.Params.description }}{{ end }} - {{ with .Site.Params.keywords }}{{ end }} - + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.keywords }}{{ end }} + + {{- if .IsHome -}} {{- .Site.Title -}} @@ -19,12 +20,12 @@ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap-3.3.7.min.css" /> <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/main.css" /> {{- if .Params.highlight -}} - <link rel="stylesheet" href="{{ .Site.BaseURL }}css/tomorrow-9.7.0.min.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}css/tomorrow-9.7.0.min.css" /> {{ end }} <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fontawesome/css/all.min.css" /> <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fonts.css" /> {{ range .Site.Params.custom_css }} - <link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}"> + <link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}" /> {{ end }} {{ `<!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>