diff --git a/themes/patek/assets/img/favicon.ico b/themes/patek/assets/img/favicon.ico new file mode 100644 index 0000000..3c3da53 Binary files /dev/null and b/themes/patek/assets/img/favicon.ico differ diff --git a/themes/patek/assets/img/favicon.png b/themes/patek/assets/img/favicon.png new file mode 100644 index 0000000..9733dfa Binary files /dev/null and b/themes/patek/assets/img/favicon.png differ diff --git a/themes/patek/assets/img/favicon.svg b/themes/patek/assets/img/favicon.svg new file mode 100644 index 0000000..0d41fc3 --- /dev/null +++ b/themes/patek/assets/img/favicon.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/themes/patek/layouts/_default/baseof.html b/themes/patek/layouts/_default/baseof.html index c27b670..5ce60f5 100644 --- a/themes/patek/layouts/_default/baseof.html +++ b/themes/patek/layouts/_default/baseof.html @@ -1,7 +1,19 @@ - {{- partial "head.html" . -}} - + + + {{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }} + {{ $favicon := resources.Get "img/favicon.ico" }} + + {{ block "css" . -}} + + {{ partial "sass.html" "css/main.scss" }} + + {{- end }} + {{ block "js" . -}} + {{ partial "js.html" "js/patek-logo-custom-element/patekLogo.js" }} + {{ end }} + {{ block "body" . }} {{- partial "header.html" . -}}
diff --git a/themes/patek/layouts/index.html b/themes/patek/layouts/index.html index f25ebc3..a8bc639 100644 --- a/themes/patek/layouts/index.html +++ b/themes/patek/layouts/index.html @@ -1,3 +1,5 @@ +{{ define "title" }} Pátek {{ end }} + {{ define "body" }}
diff --git a/themes/patek/layouts/partials/head.html b/themes/patek/layouts/partials/head.html deleted file mode 100644 index c823d29..0000000 --- a/themes/patek/layouts/partials/head.html +++ /dev/null @@ -1,11 +0,0 @@ - - -{{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }} -{{ block "css" . -}} - -{{ partial "sass.html" "css/main.scss" }} - -{{- end }} -{{ block "js" . -}} -{{ partial "js.html" "js/patek-logo-custom-element/patekLogo.js" }} -{{ end }}