blogamore/layouts/_default/list.html

22 lines
No EOL
697 B
HTML

{{ define "main" }}
{{ range where .Pages.ByTitle "Params.hide" "!=" true }}
<article class="border-bottom">
<h1 class="mb-3">
<a href="{{ .RelPermalink | relURL }}">{{ .Title }}</a>
</h1>
<p>{{ .Description }}</p>
</article>
{{ end }}
{{ end }}
{{ define "sidebar" }}
<div class="position-sticky">
{{- partial "widget/header.html" (dict "title" "About Me") -}}
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Author.avatar "description" .Site.Author.description) -}}
{{ with .Site.Author.social }}
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
{{- partial "widget/socials.html" . -}}
{{ end }}
</div>
{{ end }}