Fix improper container
Fix an improper container. Now content correctly appears higher on the page, and big images span the full page width.
This commit is contained in:
parent
d82dfdb5f7
commit
dd08915adf
@ -6,22 +6,17 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
{{ partial "nav.html" . }}
|
{{ partial "nav.html" . }}
|
||||||
|
|
||||||
<div role="main" class="container main-content">
|
|
||||||
|
|
||||||
{{ partial "header_wp.html" . }}
|
{{ partial "header_wp.html" . }}
|
||||||
|
|
||||||
|
<div class="container" role="main">
|
||||||
{{ if eq .Type "post" }}
|
{{ if eq .Type "post" }}
|
||||||
{{ partial "post.html" . }}
|
{{ partial "post.html" . }}
|
||||||
{{ else if eq .Type "page" }}
|
{{ else if eq .Type "page" }}
|
||||||
{{ partial "page.html" . }}
|
{{ partial "page.html" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="container" role="main">
|
|
||||||
NO MATCHING PARTIAL
|
NO MATCHING PARTIAL
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user