Build the page scaffolding with CSS grid
Grid columns are symmetrical. From the outside in, they are: - outer margin - inner margin - wide gutter - inner gutter - main content
This commit is contained in:
parent
5dd0748e25
commit
3cbce149ba
5 changed files with 64 additions and 24 deletions
|
@ -8,14 +8,16 @@
|
|||
<header class="site-header">
|
||||
{{ partial "site/header.html" . }}
|
||||
</header>
|
||||
<main>
|
||||
<div class="body__container">
|
||||
{{ if not .IsNode }}
|
||||
{{ partial "page_breadcrumb.html" . }}
|
||||
{{ end }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
{{ partial "site/footer.html" . }}
|
||||
</footer>
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
{{ partial "site/footer.html" . }}
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue