Add theme
This commit is contained in:
4
themes/hugo-scroll/layouts/partials/custom_body.html
Normal file
4
themes/hugo-scroll/layouts/partials/custom_body.html
Normal file
@ -0,0 +1,4 @@
|
||||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_body.html into
|
||||
your local /layouts/partials-directory.
|
||||
Its content will appear before the closing </body>-tag -->
|
4
themes/hugo-scroll/layouts/partials/custom_head.html
Normal file
4
themes/hugo-scroll/layouts/partials/custom_head.html
Normal file
@ -0,0 +1,4 @@
|
||||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_head.html into
|
||||
your local /layouts/partials-directory.
|
||||
Its content will appear before the closing </head>-tag -->
|
16
themes/hugo-scroll/layouts/partials/footer.html
Normal file
16
themes/hugo-scroll/layouts/partials/footer.html
Normal file
@ -0,0 +1,16 @@
|
||||
<footer class="site-footer">
|
||||
<div class="inner">
|
||||
{{ with .Site.Params.copyright }}
|
||||
<section class="copyright">{{ . | markdownify }}</section>{{ end }}
|
||||
|
||||
|
||||
<section>{{ echoParam .Site.Params "hidebyline" }}</section>
|
||||
{{ if ne .Site.Params.hidedesignbyline true }}
|
||||
<section>
|
||||
<a href="https://themes.gohugo.io/hugo-scroll/">Design</a> template
|
||||
built with ♥️ by
|
||||
<a href="https://www.janraasch.com" title="Jan Raasch">Jan Raasch</a>
|
||||
</section>{{ end }}
|
||||
|
||||
</div>
|
||||
</footer>
|
37
themes/hugo-scroll/layouts/partials/head.html
Normal file
37
themes/hugo-scroll/layouts/partials/head.html
Normal file
@ -0,0 +1,37 @@
|
||||
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
|
||||
<title>{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ . | absURL }}" type="image/png"
|
||||
/>{{ end }}
|
||||
|
||||
{{ with .Site.Params.description }}
|
||||
<meta name="description" content="{{ . }}"
|
||||
/>{{ end }}
|
||||
{{ with .Site.Params.meta.keywords }}
|
||||
<meta name="keywords" content="{{ . }}"
|
||||
/>{{ end }}
|
||||
<meta name="referrer" content="no-referrer-when-downgrade" />
|
||||
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="MobileOptimized" content="320" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/screen.css" | absURL }}" />
|
||||
<link rel="stylesheet" href="{{ "css/fonts.css" | absURL }}" type="text/css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{ "fork-awesome/css/fork-awesome.min.css" | absURL }}"
|
||||
type="text/css"
|
||||
/>
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/schema.html" . }}
|
||||
|
||||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_head.html into
|
||||
your local /layouts/partials-directory -->
|
||||
{{- partial "custom_head.html" . -}}
|
0
themes/hugo-scroll/layouts/partials/header.html
Normal file
0
themes/hugo-scroll/layouts/partials/header.html
Normal file
Reference in New Issue
Block a user