diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html index 8f6a3a665d9662a672b00345fe5ce41b6478cd32..d3584da1275691c1a98508021efd8be15fedca13 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 }}