diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 9875af5..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - web.myco.systems - - - - {{ with .Params.Tags | default .Site.Params.keywords -}} - - {{- end }} - {{ with .Site.Params.robots }} - - {{ end }} - {{ with .Params.robots }} - - {{ end }} - - {{ range .AlternativeOutputFormats -}} - {{ printf ` - ` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) | - safeHTML }} - {{ end -}} - {{/* Asset bundles */}} - {{ $assets := newScratch }} - {{ $cssScheme := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "blowfish")) }} - {{ if not $cssScheme }} - {{ $cssScheme = resources.Get "css/schemes/blowfish.css" }} - {{ end }} - {{ $assets.Add "css" (slice $cssScheme) }} - {{ $cssMain := resources.Get "css/compiled/main.css" }} - {{ $assets.Add "css" (slice $cssMain) }} - {{ $cssCustom := resources.Get "css/custom.css" }} - {{ if $cssCustom }} - {{ $assets.Add "css" (slice $cssCustom) }} - {{ end }} - {{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint - "sha512" }} - - {{ $jsAppearance := resources.Get "js/appearance.js" }} - {{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint "sha512" }} - - {{ if .Site.Params.enableSearch | default false }} - {{ $jsFuse := resources.Get "lib/fuse/fuse.min.js" }} - {{ $jsSearch := resources.Get "js/search.js" }} - {{ $assets.Add "js" (slice $jsFuse $jsSearch) }} - {{ end }} - {{ if .Site.Params.enableCodeCopy | default false }} - {{ $jsCode := resources.Get "js/code.js" }} - {{ $assets.Add "js" (slice $jsCode) }} - {{ end }} - {{ if .Site.Params.rtl | default false }} - {{ $jsRTL := resources.Get "js/rtl.js" }} - {{ $assets.Add "js" (slice $jsRTL) }} - {{ end }} - {{ if $assets.Get "js" }} - {{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint - "sha512" }} - - {{ end }} - - {{/* Icons */}} - {{ if templates.Exists "partials/favicons.html" }} - {{ partialCached "favicons.html" .Site }} - {{ else }} - - - - - {{ end }} - {{/* Social */}} - - - - - - - - - - {{/* Schema */}} - {{ partial "schema.html" . }} - {{/* Me */}} - {{ with .Site.Author.name }} - {{ end }} - {{ with .Site.Author.links }} - {{ range $links := . }} - {{ range $name, $url := $links }} - {{ end }} - {{ end }} - {{ end }} - {{/* Vendor */}} - {{ partial "vendor.html" . }} - {{/* Analytics */}} - {{ partial "analytics/main.html" .Site }} - {{/* Extend head - eg. for custom analytics scripts, etc. */}} - {{ if templates.Exists "partials/extend-head.html" }} - {{ partialCached "extend-head.html" .Site }} - {{ end }} - - - diff --git a/layouts/partials/home/background.html b/layouts/partials/home/background.html deleted file mode 100644 index 4ea65da..0000000 --- a/layouts/partials/home/background.html +++ /dev/null @@ -1,71 +0,0 @@ -{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }} -
-
-
-
-
-
- {{ $homepageImage := "" }} - {{ with .Site.Params.defaultBackgroundImage }}{{ $homepageImage = resources.Get . }}{{ end }} - {{ with .Site.Params.homepage.homepageImage }}{{ $homepageImage = resources.Get . }}{{ end }} - {{ if not (eq $homepageImage "") }} - -
-
-
-
- {{ end }} -
-
- {{ with .Site.Author.image }} - {{ $authorImage := resources.Get . }} - {{ if $authorImage }} - {{ if not $disableImageOptimization }} - {{ $authorImage = $authorImage.Fill "288x288" }} - {{ end }} - {{ $.Site.Author.name | default - {{ end }} - {{ end }} -

- {{ .Site.Author.name | default .Site.Title }} -

- {{ with .Site.Author.headline }} -

- {{ . | markdownify | emojify }} -

- {{ end }} -
- {{ with .Site.Author.links }} -
- {{ range $links := . }} - {{ range $name, $url := $links }} - {{ partial - "icon.html" $name }} - {{ end }} - {{ end }} -
- {{ end }} -
-
{{ .Content | emojify }}
-
-
-
-
-
-
- {{ partial "recent-articles/main.html" . }} -
-{{ if .Site.Params.homepage.layoutBackgroundBlur | default false }} -
- -{{ end }} diff --git a/layouts/partials/home/custom.html b/layouts/partials/home/custom.html deleted file mode 100644 index aa13ffa..0000000 --- a/layouts/partials/home/custom.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }} -
- {{ partial "partials/home/background.html" . }} -
- - - - -
- {{ partial "recent-articles-demo.html" . }} -
- diff --git a/layouts/partials/recent-articles/main.html b/layouts/partials/recent-articles/main.html deleted file mode 100644 index 43488cd..0000000 --- a/layouts/partials/recent-articles/main.html +++ /dev/null @@ -1,32 +0,0 @@ -{{ $recentArticles := 5 }} -{{ $showMoreLinkDest := "/posts" }} -{{ if .Site.Params.homepage.showRecent | default false }} -{{ if index .Site.Params.homepage "showRecentItems" }} -{{ $recentArticles = .Site.Params.homepage.showRecentItems }} -{{ end }} - -

Services

-
- -{{ if and .Site.Params.homepage.cardView (not .Site.Params.homepage.cardViewScreenWidth) | default false }} - {{ partial "recent-articles/cardview.html" . }} -{{ else if and .Site.Params.homepage.cardView .Site.Params.homepage.cardViewScreenWidth | default false }} - {{ partial "recent-articles/cardview-fullwidth.html" . }} -{{ else }} - {{ partial "recent-articles/list.html" . }} -{{ end }} - -{{ if .Site.Params.homepage.showMoreLink | default false }} -{{ if index .Site.Params.homepage "showRecentItems" }} -{{ $showMoreLinkDest = .Site.Params.homepage.showMoreLinkDest }} -{{ end }} -
- - - -
-{{ end }} -{{ end }}