Use narrower container for lists
parent
734cbbd181
commit
aca1d1d256
|
@ -5,9 +5,7 @@
|
|||
<div class="content">
|
||||
{{- partial "navbar.html" . -}}
|
||||
{{- partial "header.html" . -}}
|
||||
<div class="container">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<div class="container is-max-widescreen">
|
||||
<main>
|
||||
{{ with .Content }}
|
||||
<article class="message mt-5 mb-2 is-medium">
|
||||
<div class="message-body">
|
||||
|
@ -15,5 +16,6 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
{{- partial "pagination.html" . -}}
|
||||
</main>
|
||||
</main>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<div class="columns mt-5 is-variable is-mobile is-8">
|
||||
<div class="container">
|
||||
<div class="columns mt-5 is-variable is-mobile is-8">
|
||||
<!--
|
||||
If the current page is a blog post and belongs to a case, we will add a side menu
|
||||
with all other blog posts belonging to that case, emphasis to the current.
|
||||
|
@ -43,5 +44,6 @@
|
|||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue