From 239d68f94c6250276850fbe95eaa6cdd5c38fb26 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 16 Nov 2024 19:32:18 +0300 Subject: Своя тема, полностью всё переделал MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layouts/partials/head/opengraph/include.html | 2 - .../partials/head/opengraph/provider/base.html | 43 ---------------------- .../partials/head/opengraph/provider/twitter.html | 16 -------- 3 files changed, 61 deletions(-) delete mode 100644 themes/hugo-theme-stack/layouts/partials/head/opengraph/include.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/twitter.html (limited to 'themes/hugo-theme-stack/layouts/partials/head/opengraph') diff --git a/themes/hugo-theme-stack/layouts/partials/head/opengraph/include.html b/themes/hugo-theme-stack/layouts/partials/head/opengraph/include.html deleted file mode 100644 index 3a43f48..0000000 --- a/themes/hugo-theme-stack/layouts/partials/head/opengraph/include.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ partial "head/opengraph/provider/base" . }} -{{ partial "head/opengraph/provider/twitter" . }} \ No newline at end of file diff --git a/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html b/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html deleted file mode 100644 index 055745d..0000000 --- a/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html +++ /dev/null @@ -1,43 +0,0 @@ -{{- $title := partialCached "data/title" . .RelPermalink -}} -{{- $description := partialCached "data/description" . .RelPermalink -}} - - - - - - - -{{- with .Params.locale -}} - -{{- end -}} - -{{- if .IsPage -}} - - {{- range .Params.tags -}} - - {{- end -}} -{{- end -}} - -{{- if .IsPage -}} - {{- if not .Date.IsZero -}} - - {{- end -}} - {{- if not .Lastmod.IsZero -}} - - {{- end -}} -{{- else -}} - {{- if not .Site.Lastmod.IsZero -}} - - {{- end -}} -{{- end -}} - -{{ $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }} -{{- if $image.exists -}} - -{{- end -}} \ No newline at end of file diff --git a/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/twitter.html b/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/twitter.html deleted file mode 100644 index c39eba3..0000000 --- a/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/twitter.html +++ /dev/null @@ -1,16 +0,0 @@ -{{- with .Site.Params.opengraph.twitter.site -}} - - -{{- end -}} - -{{- $title := partialCached "data/title" . .RelPermalink -}} -{{- $description := partialCached "data/description" . .RelPermalink -}} - - - - -{{- $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" -}} -{{- if $image.exists -}} - - -{{- end -}} \ No newline at end of file -- cgit v1.2.3