mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2024-12-22 09:35:07 +01:00
Merge pull request #7 from applikationsprogramvara/add_template
Finalizing bringing in templates
This commit is contained in:
commit
0287eda06a
24
layouts/_default/baseof.html
Normal file
24
layouts/_default/baseof.html
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<!--
|
||||||
|
Hugo Story by CaressOfSteel
|
||||||
|
A (modular, highly tweakable) responsive one-page theme for Hugo.
|
||||||
|
Ported from Story by HTML5UP.
|
||||||
|
This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
|
||||||
|
{{ partial "template/head" . }}
|
||||||
|
|
||||||
|
<body class="is-preload">
|
||||||
|
|
||||||
|
<!-- Wrapper -->
|
||||||
|
<div id="wrapper" class="divided">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
<!-- Wrapper -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
{{ partial "template/scripts" . }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,20 +1,5 @@
|
|||||||
<!DOCTYPE HTML>
|
{{ define "main" }}
|
||||||
<!--
|
|
||||||
Hugo Story by CaressOfSteel
|
|
||||||
A (modular, highly tweakable) responsive one-page theme for Hugo.
|
|
||||||
Ported from Story by HTML5UP.
|
|
||||||
This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.
|
|
||||||
-->
|
|
||||||
<html>
|
|
||||||
|
|
||||||
{{ partial "template/head" . }}
|
|
||||||
|
|
||||||
<body class="is-preload">
|
|
||||||
|
|
||||||
<!-- Wrapper -->
|
|
||||||
<div id="wrapper" class="divided">
|
|
||||||
|
|
||||||
<!-- Main -->
|
|
||||||
{{ partial "banner" site.Data.banner }}
|
{{ partial "banner" site.Data.banner }}
|
||||||
{{ partial "spotlight" site.Data.spotlight1 }}
|
{{ partial "spotlight" site.Data.spotlight1 }}
|
||||||
{{ partial "spotlight" site.Data.spotlight2 }}
|
{{ partial "spotlight" site.Data.spotlight2 }}
|
||||||
@ -25,11 +10,4 @@
|
|||||||
{{ partial "elements_reference" . }}
|
{{ partial "elements_reference" . }}
|
||||||
{{ partial "template/footer" . }}
|
{{ partial "template/footer" . }}
|
||||||
|
|
||||||
<!-- Wrapper -->
|
{{ end }}
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
|
||||||
{{ partial "template/scripts" . }}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -2,11 +2,11 @@
|
|||||||
<footer class="wrapper style1 align-center">
|
<footer class="wrapper style1 align-center">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<ul class="icons">
|
<ul class="icons">
|
||||||
<li>{{ with .Site.Params.social.github }}<a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
|
{{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
|
||||||
<li>{{ with .Site.Params.social.twitter }}<a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
|
{{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
|
||||||
<li>{{ with .Site.Params.social.instagram }}<a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
|
{{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
|
||||||
<li>{{ with .Site.Params.social.linkedin }}<a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||||
<li>{{ with .Site.Params.social.email }}<a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fad fa-diamond"></span>
|
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fad fa-diamond"></span>
|
||||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fad fa-diamond"></span>
|
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fad fa-diamond"></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user