From 67767c62c241c20f563801f1d49979645d61ef8b Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Mon, 10 Jun 2019 06:44:15 +0800 Subject: [PATCH] Change `.Site.BaseURL` to `absURL` --- layouts/_default/single.html | 2 +- layouts/partials/header.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c69e4c3..b54adaa 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,7 +14,7 @@ {{ if .Params.tags }} {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1c82e77..b7784a6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -22,15 +22,15 @@ {{ end -}} - - + + - - + + {{ .Hugo.Generator }} - + {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ template "_internal/google_analytics_async.html" . }} {{ end }} @@ -40,9 +40,9 @@