From 9da8cc0f65df2e453202ef8c0d78606cb2ec2fae Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Sun, 17 Dec 2023 09:16:18 -0500 Subject: [PATCH] Use opengraph tags --- config.toml | 2 ++ content/_index.md | 4 ++-- layouts/_default/baseof.html | 2 ++ layouts/index.html | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 496fab4..3bc8d82 100644 --- a/config.toml +++ b/config.toml @@ -2,6 +2,8 @@ baseURL = 'https://dialectapp.org' languageCode = 'en' title = 'Dialect' +disableKinds = ['taxonomy', 'term'] + [menus] [[menus.main]] name = 'About' diff --git a/content/_index.md b/content/_index.md index 763c258..720bcfc 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,6 @@ --- -title: Home -hero_desc: Translation application for Linux desktop and mobile +title: Dialect +description: Translation application for Linux desktop and mobile buttons: - label: Download on Flathub image: https://dl.flathub.org/assets/badges/flathub-badge-en.svg diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 39eb0de..ebad081 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,8 @@ + {{ template "_internal/opengraph.html" . }} + {{ if not .IsHome }}{{ .Title }} — {{ end }}{{ .Site.Title }} {{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }} diff --git a/layouts/index.html b/layouts/index.html index 16fe1d6..06139e2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ Dialect Window -

{{ .Params.hero_desc}}

+

{{ .Params.description }}