From 31c4bcb5b72ac070a1cee9b245eb4634941651ab Mon Sep 17 00:00:00 2001
From: Adam Caprez <acaprez2@unl.edu>
Date: Wed, 12 Dec 2018 23:06:40 +0000
Subject: [PATCH] Remove absURL to fix URL generation on production location.

---
 layouts/partials/custom-head.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html
index 8f6a3a66..d3584da1 100644
--- a/layouts/partials/custom-head.html
+++ b/layouts/partials/custom-head.html
@@ -1,4 +1,4 @@
 <link rel="stylesheet" href="/css/custom.css">
 <link href="//cloud.typography.com/7717652/616662/css/fonts.css" type="text/css" rel="stylesheet">
-{{ if isset .Params "scripts" }}{{ range .Params.scripts }}<script src="{{ printf "%s" . | absURL }}"></script>{{ end }}{{ end }}
-{{ if isset .Params "css" }}{{ range .Params.css }}<link rel="stylesheet" href="{{ printf "%s" . | absURL }}">{{ end }}{{ end }}
+{{ if isset .Params "scripts" }}{{ range .Params.scripts }}<script src="{{ printf "%s" . }}"></script>{{ end }}{{ end }}
+{{ if isset .Params "css" }}{{ range .Params.css }}<link rel="stylesheet" href="{{ printf "%s" . }}">{{ end }}{{ end }}
-- 
GitLab