Browse Source

add absolute url to css

tags/v1.1
Bud Parr 7 years ago
parent
commit
1d810d7237
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/_default/baseof.html

+ 2
- 2
layouts/_default/baseof.html View File

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
{{ end }} {{ 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 */}} {{/* 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" . -}} {{- template "_internal/opengraph.html" . -}}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
{{ end }} {{ end }}
</head> </head>
<body class="ma0 sans-serifTK avenir bg-near-white">
<body class="ma0 avenir bg-near-white">
{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }} {{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
<main class="pb7" role="main"> <main class="pb7" role="main">
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}

Loading…
Cancel
Save