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' languageCode = 'en'
title = 'Dialect' title = 'Dialect'
disableKinds = ['taxonomy', 'term']
[menus] [menus]
[[menus.main]] [[menus.main]]
name = 'About' name = 'About'

View file

@ -1,6 +1,6 @@
--- ---
title: Home title: Dialect
hero_desc: Translation application for Linux desktop and mobile description: Translation application for Linux desktop and mobile
buttons: buttons:
- label: Download on Flathub - label: Download on Flathub
image: https://dl.flathub.org/assets/badges/flathub-badge-en.svg image: https://dl.flathub.org/assets/badges/flathub-badge-en.svg

View file

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

View file

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