remove stylesheet variable

This commit is contained in:
Luke Smith 2022-07-11 09:16:48 -04:00
parent 58e91fcee3
commit 53b2b47f60
2 changed files with 1 additions and 3 deletions

View File

@ -5,5 +5,4 @@ languageCode = 'en-us'
[params] [params]
#relatedtext = "Related:" #relatedtext = "Related:"
favicon = "/favicon.ico" favicon = "/favicon.ico"
stylesheet = "/style.css"
showrss = true showrss = true

View File

@ -4,8 +4,7 @@
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title> <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Site.BaseURL }}"> <link rel="canonical" href="{{ .Site.BaseURL }}">
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
{{ with .Site.Params.stylesheet }}<link rel='stylesheet' type='text/css' href='{{ . }}'> <link rel='stylesheet' type='text/css' href='/style.css'>
{{ end -}}
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}"> {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}} {{ end -}}
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}"> <meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">