This commit is contained in:
Nox Sluijtman 2023-08-21 23:54:26 +02:00
parent 211fcc11a0
commit 24e6f13227
2 changed files with 11 additions and 4 deletions

6
config.toml Normal file
View file

@ -0,0 +1,6 @@
title = "website name"
baseURL = '/'
languageCode = 'en-us'
[params]
pwa = true

View file

@ -1,5 +1,6 @@
<link rel='stylesheet' type='text/css' href='{{ .Site.BaseURL }}/style.css' />
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
<link rel='alternate' type='application/rss+xml' title='{{ .Site.Title }} RSS' href='/index.xml'>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta charset='UTF-8' />
<meta name='description' content='{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}'>
{{ if $.Site.Params.pwa }}<link rel="manifest" href="{{ .Site.BaseURL }}/manifest.json" />{{ end }}