Use narrower container for lists

master
Quentin Duchemin 2021-05-25 00:07:23 +02:00
parent 734cbbd181
commit aca1d1d256
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
3 changed files with 58 additions and 56 deletions

View File

@ -5,9 +5,7 @@
<div class="content"> <div class="content">
{{- partial "navbar.html" . -}} {{- partial "navbar.html" . -}}
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
<div class="container">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</div> </div>
</body> </body>

View File

@ -1,4 +1,5 @@
{{ define "main" }} {{ define "main" }}
<div class="container is-max-widescreen">
<main> <main>
{{ with .Content }} {{ with .Content }}
<article class="message mt-5 mb-2 is-medium"> <article class="message mt-5 mb-2 is-medium">
@ -16,4 +17,5 @@
</div> </div>
{{- partial "pagination.html" . -}} {{- partial "pagination.html" . -}}
</main> </main>
</div>
{{ end }} {{ end }}

View File

@ -1,4 +1,5 @@
{{ define "main" }} {{ define "main" }}
<div class="container">
<div class="columns mt-5 is-variable is-mobile is-8"> <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 If the current page is a blog post and belongs to a case, we will add a side menu
@ -44,4 +45,5 @@
</aside> </aside>
</section> </section>
</div> </div>
</div>
{{ end }} {{ end }}