forked from Git/hugo-story
moving main wrapper out of index.html
This commit is contained in:
parent
459291f0f2
commit
f609df648f
|
@ -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>
|
|
Loading…
Reference in New Issue