Merge pull request #7 from applikationsprogramvara/add_template

Finalizing bringing in templates
This commit is contained in:
⚔️ DR ⚔️ 2021-02-01 20:31:29 -05:00 committed by GitHub
commit 0287eda06a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 48 deletions

View 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>

View File

@ -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>

View File

@ -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 &copy; 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fad fa-diamond"></span> <p>Hugo Story &copy; 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>