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>
|
||||
<!--
|
||||
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>
|
||||
{{ define "main" }}
|
||||
|
||||
{{ partial "template/head" . }}
|
||||
|
||||
<body class="is-preload">
|
||||
|
||||
<!-- Wrapper -->
|
||||
<div id="wrapper" class="divided">
|
||||
|
||||
<!-- Main -->
|
||||
{{ partial "banner" site.Data.banner }}
|
||||
{{ partial "spotlight" site.Data.spotlight1 }}
|
||||
{{ partial "spotlight" site.Data.spotlight2 }}
|
||||
|
@ -25,11 +10,4 @@
|
|||
{{ partial "elements_reference" . }}
|
||||
{{ partial "template/footer" . }}
|
||||
|
||||
<!-- Wrapper -->
|
||||
</div>
|
||||
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ partial "template/scripts" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Reference in New Issue