relative urls
This commit is contained in:
parent
d9bc61848d
commit
c6a769128f
@ -3,16 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<base href="{{ .Site.BaseURL }}">
|
|
||||||
{{ partial "html-meta.html" . -}}
|
{{ partial "html-meta.html" . -}}
|
||||||
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||||
{{ $ss := resources.Get "cheese/styles.scss" | resources.ToCSS (dict "enableSourceMap" true) | resources.Minify | resources.Fingerprint }}
|
{{ $css := resources.Get "_cheese/styles.scss" | resources.ToCSS (dict "enableSourceMap" true) | resources.Minify | resources.Fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $ss.Permalink }}">
|
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||||
{{ with .Site.Params.favicon -}}
|
{{ with .Site.Params.favicon -}}
|
||||||
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -25,7 +24,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<div>
|
<div>
|
||||||
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
<h1><a href="/">{{ .Site.Title }}</a></h1>
|
||||||
{{- if .Site.Params.subtitle }}<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Params.subtitle }}</a></h2>{{- end }}
|
{{- if .Site.Params.subtitle }}<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Params.subtitle }}</a></h2>{{- end }}
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user