pwa
This commit is contained in:
parent
211fcc11a0
commit
24e6f13227
6
config.toml
Normal file
6
config.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
title = "website name"
|
||||
baseURL = '/'
|
||||
languageCode = 'en-us'
|
||||
|
||||
[params]
|
||||
pwa = true
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue