feat: Ajout d'une balise head avec l'encodage
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2023-07-21 18:17:58 +02:00
parent e5f065b738
commit 106dd6a636
2 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{/* {{ partial "head.html" . }} */}}
{{ partial "head.html" . }}
<body>
{{/* {{ partial "header.html" . }} */}}
{{/* {{ partial "debug.html" . }} */}}

View File

@ -0,0 +1,14 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="{{ .Permalink }}" />
{{ with .OutputFormats.Get "RSS" }}<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" />{{ end }}
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
{{ if ne hugo.Environment "production" }}<meta name="robots" content="noindex">{{ end }}
{{/* {{ partial "social_metadata.html" . }}
{{ partial "style.html" . }} */}}
</head>