diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4f18442..962696c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,29 +14,29 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + {{ $style := resources.Get "style-refractored.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - + {{ $style_2 := resources.Get "audio.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a2debbc..20ac871 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ {{ $background_path = . }} {{ end }} {{ if resources.Get $background_path }} - {{ $background_path = (resources.Get $background_path).Permalink }} + {{ $background_path = (resources.Get $background_path).RelPermalink }} {{ end }}
diff --git a/layouts/partials/link-block.html b/layouts/partials/link-block.html index a6daeff..4053f54 100644 --- a/layouts/partials/link-block.html +++ b/layouts/partials/link-block.html @@ -69,7 +69,7 @@ {{ $logo_file = . }} {{ end }} {{ if resources.Get $logo_file }} - {{ $logo_file = (resources.Get $logo_file).Permalink }} + {{ $logo_file = (resources.Get $logo_file).RelPermalink }} {{ end }} diff --git a/layouts/partials/pic_set.html b/layouts/partials/pic_set.html index a825969..52620e5 100644 --- a/layouts/partials/pic_set.html +++ b/layouts/partials/pic_set.html @@ -12,7 +12,7 @@
{{ range $num, $a := $pic_set }} {{ if resources.Get $a }} - {{ $a = (resources.Get $a).Permalink }} + {{ $a = (resources.Get $a).RelPermalink }} {{ end }} {{ $display := "block"}} @@ -22,7 +22,7 @@ {{ if and (eq $num 8) (gt (len $pic_set) 9) }} diff --git a/layouts/partials/row.html b/layouts/partials/row.html index e2c80b3..38ed739 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -33,7 +33,7 @@ {{ $avatar_path = . }} {{ end }} {{ if resources.Get $avatar_path }} - {{ $avatar_path = (resources.Get $avatar_path).Permalink }} + {{ $avatar_path = (resources.Get $avatar_path).RelPermalink }} {{ end }}
@@ -103,7 +103,7 @@ {{ range $pictures_set }} {{ $src := . }} {{ if resources.Get $src }} - {{ $src = (resources.Get $src).Permalink }} + {{ $src = (resources.Get $src).RelPermalink }} {{ end }} Responsive image {{ end }} @@ -117,7 +117,7 @@ {{ with $page.Params.pic }} {{ $src := . }} {{ if resources.Get $src }} - {{ $src = (resources.Get $src).Permalink }} + {{ $src = (resources.Get $src).RelPermalink }} {{ end }} Responsive image {{ end }}