mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add all files
This commit is contained in:
14
layouts/partials/head.html
Normal file
14
layouts/partials/head.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<head>
|
||||
{{ partial "meta.html" . }}
|
||||
<base href="{{ .Site.BaseUrl }}">
|
||||
<title>
|
||||
{{ $URL := "/" }}
|
||||
{{ if eq $URL "/" }}
|
||||
{{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Title }} · {{ .Site.Title }}
|
||||
{{ end }}
|
||||
</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ partial "head_includes.html" . }}
|
||||
</head>
|
Reference in New Issue
Block a user