diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8410583..f1165cc 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,9 +7,9 @@ <meta name="author" content="{{ .Site.Params.author }}"> {{ .Hugo.Generator }} <meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="stylesheet" href="/css/style.css" type="text/css"> +<link rel="stylesheet" href="{{ "/css/style.css" | absURL }}" type="text/css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> -<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}"> +<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}"> <title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title> </head> <body> |