Use opengraph tags

This commit is contained in:
Rafael Mardojai CM 2023-12-17 09:16:18 -05:00
parent 4fbcf4dca3
commit 9da8cc0f65
No known key found for this signature in database
GPG key ID: 2B2DAB2A58566C84
4 changed files with 7 additions and 3 deletions

View file

@ -2,6 +2,8 @@ baseURL = 'https://dialectapp.org'
languageCode = 'en'
title = 'Dialect'
disableKinds = ['taxonomy', 'term']
[menus]
[[menus.main]]
name = 'About'

View file

@ -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

View file

@ -4,6 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ template "_internal/opengraph.html" . }}
<title>{{ if not .IsHome }}{{ .Title }} — {{ end }}{{ .Site.Title }}</title>
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }}

View file

@ -9,7 +9,7 @@
<img src="dialect.png" alt="Dialect Window">
</picture>
<h3 class="hero-desc">{{ .Params.hero_desc}}</h3>
<h3 class="hero-desc">{{ .Params.description }}</h3>
</div>
</section>