diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-05 22:40:28 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-05 22:40:28 +0200 |
| commit | 33cfc1d4e8f3b5b55202588e5b5148a48b43d427 (patch) | |
| tree | 8163aebcb5d3844e30b71b84b17934e38f618217 /backend/templates/base.html | |
| parent | e9713ae0fe2fd5f714fc73a46adfb5810899a05c (diff) | |
refactor(backend): generalize file parsing
Diffstat (limited to 'backend/templates/base.html')
| -rw-r--r-- | backend/templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html index 3af37f9..5e6982b 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -6,13 +6,13 @@ <title>{{ .Title }}</title> {{ $styles := asset "styles.css" }}<link rel="stylesheet" href="{{ $styles.Src }}" integrity="{{ $styles.Checksum }}"> <link rel="shortcut icon" href="{{ static .Logo.Favicon }}"> - <meta property="description" content="{{ .Description }}" /> + <meta property="description" content="{{ .PageDescription }}" /> <!-- Open Graph --> <meta property="og:title" content="{{ .Title }}" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://{{ .Domain }}{{ .URL }}" /> <meta property="og:image" content="{{ fullStatic .Image }}" /> - <meta property="og:description" content="{{ .Description }}" /> + <meta property="og:description" content="{{ .PageDescription }}" /> <meta property="og:local" content="fr_FR" /> <meta property="og:site_name" content="{{ .Name }}" /> {{ if ne .PubDate "" }}<meta property="article:published_time" content="{{ .PubDate }}">{{ end }} @@ -21,7 +21,7 @@ <meta property="twitter:domain" content="{{ .Domain }}" /> <meta property="twitter:url" content="https://{{ .Domain }}{{ .URL }}" /> <meta name="twitter:title" content="{{ .Title }}" /> - <meta name="twitter:description" content="{{ .Description }}" /> + <meta name="twitter:description" content="{{ .PageDescription }}" /> <meta name="twitter:image" content="{{ fullStatic .Image }}" /> </head> <body hx-push-url="true"> |
