Copying layouts from old theme to new

This commit is contained in:
2020-05-31 05:21:00 +01:00
parent 3503ec15d8
commit 9dbf2d80d7
28 changed files with 882 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{{- $related := .Site.RegularPages.Related . | first 3 -}}
{{- with $related -}}
<div class="related-content row mt-5 row-cols-1 row-cols-lg-3">
{{- range . -}}
<div class="col mb-3">
{{ .Render "card" }}
</div>
{{- end -}}
</div>
{{- end -}}