This commit is contained in:
Ewen 2023-12-22 17:11:45 +01:00
parent a5cc9a5593
commit 2bcb3f1dc9
4 changed files with 9 additions and 1 deletions

View file

@ -41,6 +41,9 @@
} }
} }
.related {
margin-top: 40px;
}
.post-meta { .post-meta {

View file

@ -25,7 +25,9 @@
<img src="{{ print $article $image }}" class="mb-4 post-img" alt="{{ .Title | markdownify }}"> <img src="{{ print $article $image }}" class="mb-4 post-img" alt="{{ .Title | markdownify }}">
{{ end }} {{ end }}
<div class="content">
{{ .Content }} {{ .Content }}
</div>
{{ if .Site.Params.Info.related }} {{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div> <div class="related">{{ partial "related" . }}</div>

View file

@ -6,7 +6,7 @@
{{ .Content }} {{ .Content }}
{{ range sort .Pages }} {{ range sort .Paginator.Pages }}
<article class="posts featured-post"> <article class="posts featured-post">

View file

@ -24,7 +24,10 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
<div class="content">
{{ .Content }} {{ .Content }}
</div>
{{ if .Site.Params.Info.related }} {{ if .Site.Params.Info.related }}
<div class="related">{{ partial "related" . }}</div> <div class="related">{{ partial "related" . }}</div>