diff --git a/themes/hugo-theme-ipng/layouts/_default/baseof.html b/themes/hugo-theme-ipng/layouts/_default/baseof.html index 5f8e2ec..0ddd37e 100644 --- a/themes/hugo-theme-ipng/layouts/_default/baseof.html +++ b/themes/hugo-theme-ipng/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{- partial "head.html" . -}} {{- partial "header.html" . -}} diff --git a/themes/hugo-theme-ipng/layouts/partials/head.html b/themes/hugo-theme-ipng/layouts/partials/head.html index 798caa3..da7351b 100644 --- a/themes/hugo-theme-ipng/layouts/partials/head.html +++ b/themes/hugo-theme-ipng/layouts/partials/head.html @@ -1,26 +1,26 @@ {{ .Site.Title }} {{ with .Title }}- {{ . }} {{ end }} - - + + {{ $options := dict "transpiler" "libsass" "targetPath" "css/styles.css" -}} {{ $style := resources.Get "styles.scss" | toCSS $options | minify | fingerprint -}} {{ with resources.Get "css/userstyles.css" }} {{ end -}} - - - + + + {{- range .AlternativeOutputFormats }} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end }} {{- if eq .Params.asciinema true }} - + {{- end }} diff --git a/themes/hugo-theme-ipng/layouts/shortcodes/image.html b/themes/hugo-theme-ipng/layouts/shortcodes/image.html index dd6759e..cd3501e 100644 --- a/themes/hugo-theme-ipng/layouts/shortcodes/image.html +++ b/themes/hugo-theme-ipng/layouts/shortcodes/image.html @@ -10,7 +10,7 @@ {{ with .Get + > {{- if .Get "link" }}{{ end -}} {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") }}