Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/athul/archie.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathul <athul8720@gmail.com>2020-06-24 11:05:35 +0300
committerathul <athul8720@gmail.com>2020-06-24 11:05:35 +0300
commit64ff76d755e64e10a58a4c52dbb68acc0032d2a7 (patch)
tree17a1b0cb4af7905f3e4ea3e5fc37d9f700adb6a8
parentdf7775a8068bd17c89070af137b4a36826c3ee38 (diff)
OG Description
-rw-r--r--config.toml1
-rw-r--r--themes/archie/.github/FUNDING.yml3
-rw-r--r--themes/archie/layouts/partials/header.html9
3 files changed, 12 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index 0cbf54d..04a538b 100644
--- a/config.toml
+++ b/config.toml
@@ -13,6 +13,7 @@ paginate=4
mode="auto"
featherIconsCDN=true
subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)"
+ description = "Archie is a Minimal and Clean theme for Hugo"
[[params.social]]
name = "GitHub"
diff --git a/themes/archie/.github/FUNDING.yml b/themes/archie/.github/FUNDING.yml
new file mode 100644
index 0000000..1025d27
--- /dev/null
+++ b/themes/archie/.github/FUNDING.yml
@@ -0,0 +1,3 @@
+# These are supported funding model platforms
+
+ko_fi: athulcyriac
diff --git a/themes/archie/layouts/partials/header.html b/themes/archie/layouts/partials/header.html
index 756bccb..2034c03 100644
--- a/themes/archie/layouts/partials/header.html
+++ b/themes/archie/layouts/partials/header.html
@@ -14,8 +14,15 @@
{{- end -}}
<meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <meta property="og:description" content="{{ .Params.description }}" />
+ <meta name="twitter:description" content="{{ .Params.description }}" />
+ <meta name="description" content="{{ $.Param "description" }}" />
+ <meta name="description" content="{{ $.Params.description }}" />
+
<meta property="og:title" content="{{ $title }} | {{ $siteTitle }}" />
<meta name="twitter:title" content="{{ $title }} | {{ $siteTitle }}" />
+
<meta property="og:image" content="{{ .Site.Params.og_image }}"/>
<meta itemprop="name" content="{{ $title }} | {{ $siteTitle }}" />
<meta name="application-name" content="{{ $title }} | {{ $siteTitle }}" />
@@ -23,7 +30,7 @@
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- <meta name="description" content="{{ $.Param "description" }}">
+
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}