Restructure centered columns
This commit is contained in:
@@ -60,8 +60,10 @@
|
|||||||
</main>
|
</main>
|
||||||
{{ if .Site.Copyright }}
|
{{ if .Site.Copyright }}
|
||||||
<footer>
|
<footer>
|
||||||
<div class="justify-content-center pb-3 row text-center">
|
<div class="justify-content-center row">
|
||||||
<div class="col text-muted" style="max-width:100ch">{{ .Site.Copyright | markdownify }}</div>
|
<div class="col col-auto">
|
||||||
|
<p class="text-muted" style="max-width:100ch">{{ .Site.Copyright | markdownify }}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -7,8 +7,9 @@
|
|||||||
<article>
|
<article>
|
||||||
{{ if or .Title .Description .PublishDate }}
|
{{ if or .Title .Description .PublishDate }}
|
||||||
<header>
|
<header>
|
||||||
<div class="justify-content-center row text-center">
|
<div class="justify-content-center row">
|
||||||
<div class="col" style="max-width:100ch">
|
<div class="col col-auto text-center">
|
||||||
|
<div style="max-width:100ch">
|
||||||
{{ if .Title }}
|
{{ if .Title }}
|
||||||
<h1 class="display-5 fw-bold">
|
<h1 class="display-5 fw-bold">
|
||||||
{{ if .Params.link }}
|
{{ if .Params.link }}
|
||||||
@@ -26,12 +27,13 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Content }}
|
{{ if .Content }}
|
||||||
<div class="row">
|
<div class="justify-content-center row">
|
||||||
<div class="col">
|
<div class="col col-auto">
|
||||||
<div class="mx-auto" style="max-width:66ch">
|
<div style="max-width:66ch">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user