From 1d810d72378b36329369434f4016d87a92957e58 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Wed, 12 Apr 2017 15:49:39 +0000
Subject: [PATCH] add absolute url to css
---
layouts/_default/baseof.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index cb1b591..ec9c4b5 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -17,7 +17,7 @@
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
{{ end }}
- <link href='/dist/main.css' rel='stylesheet' type="text/css" />
+ <link href='{{ "/dist/main.css" | absURL }}' rel='stylesheet' type="text/css" />
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
{{- template "_internal/opengraph.html" . -}}
@@ -29,7 +29,7 @@
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
</head>
- <body class="ma0 sans-serifTK avenir bg-near-white">
+ <body class="ma0 avenir bg-near-white">
{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
<main class="pb7" role="main">
{{ block "main" . }}{{ end }}
--
Gitblit v1.10.0