forked from Git/hugo-story
Merge pull request #7 from applikationsprogramvara/add_template
Finalizing bringing in templates
This commit is contained in:
commit
0287eda06a
|
@ -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,35 +1,13 @@
|
||||||
<!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">
|
{{ partial "banner" site.Data.banner }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight1 }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight2 }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight3 }}
|
||||||
|
{{ partial "gallery" site.Data.gallery }}
|
||||||
|
{{ partial "items" site.Data.items }}
|
||||||
|
{{ partial "elements" . }}
|
||||||
|
{{ partial "elements_reference" . }}
|
||||||
|
{{ partial "template/footer" . }}
|
||||||
|
|
||||||
<!-- Wrapper -->
|
{{ end }}
|
||||||
<div id="wrapper" class="divided">
|
|
||||||
|
|
||||||
<!-- Main -->
|
|
||||||
{{ partial "banner" site.Data.banner }}
|
|
||||||
{{ partial "spotlight" site.Data.spotlight1 }}
|
|
||||||
{{ partial "spotlight" site.Data.spotlight2 }}
|
|
||||||
{{ partial "spotlight" site.Data.spotlight3 }}
|
|
||||||
{{ partial "gallery" site.Data.gallery }}
|
|
||||||
{{ partial "items" site.Data.items }}
|
|
||||||
{{ partial "elements" . }}
|
|
||||||
{{ partial "elements_reference" . }}
|
|
||||||
{{ partial "template/footer" . }}
|
|
||||||
|
|
||||||
<!-- Wrapper -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
|
||||||
{{ partial "template/scripts" . }}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,15 +1,15 @@
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<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>
|
||||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
Loading…
Reference in New Issue