diff options
| author | Francesco <tomaselli.fr@gmail.com> | 2024-05-26 19:12:55 +0200 | 
|---|---|---|
| committer | Francesco <tomaselli.fr@gmail.com> | 2024-05-26 19:12:55 +0200 | 
| commit | ab0f499d806dc2176498e880a1dea8dd38fb5bbd (patch) | |
| tree | e9b4194d795dfc170f10c22fabbedc099a6938c9 /layouts/partials | |
| parent | cd0ac01ee72bce7c686661ad94e4cf6da4a58463 (diff) | |
Added meta descriptions
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/head.html | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9350ee6..cdd766a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,12 @@  <meta charset="utf-8">  <meta name="viewport" content="width=device-width"> +{{- if .IsHome -}} +<meta name="description" content="{{ site.Params.Description }}" /> +{{- else -}} +<meta name="description" content="{{ .Params.Description }}" /> +{{- end }} +  <title>      {{ if .IsHome }}      {{ site.Title }} | 
