hugo

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 53b2b47f60b86624896f958670f7af0836044477
parent 58e91fcee311b90301398d960ee5ac5b1d30c224
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 11 Jul 2022 09:16:48 -0400

remove stylesheet variable

Diffstat:
Mconfig.toml | 1-
Mlayouts/partials/header.html | 3+--
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/config.toml b/config.toml @@ -5,5 +5,4 @@ languageCode = 'en-us' [params] #relatedtext = "Related:" favicon = "/favicon.ico" - stylesheet = "/style.css" showrss = true diff --git a/layouts/partials/header.html b/layouts/partials/header.html @@ -4,8 +4,7 @@ <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title> <link rel="canonical" href="{{ .Site.BaseURL }}"> <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='{{ . }}'> - {{ end -}} + <link rel='stylesheet' type='text/css' href='/style.css'> {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}"> {{ end -}} <meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">