feat: add opengraph and microdata to pages

This commit is contained in:
Bruno Carlin 2025-06-15 02:09:31 +02:00
parent fb8887c2a5
commit c5a8939224
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 8E254EA0FFEB9B6D
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,5 @@
baseURL: 'https://bcarlin.net/' baseURL: 'https://bcarlin.net/'
languageCode: 'fr-FR' languageCode: 'en_US'
title: 'Bruno Carlin' title: 'Bruno Carlin'
theme: ['bcarlin'] theme: ['bcarlin']
uglyUrls: true uglyUrls: true

View file

@ -21,5 +21,9 @@
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
<meta name="description" content="{{ .Description }}"> <meta name="description" content="{{ .Description }}">
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/schema.html" . }}
{{ partialCached "head/css.html" . }} {{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }} {{ partialCached "head/js.html" . }}