22 lines
No EOL
667 B
HTML
22 lines
No EOL
667 B
HTML
{{ define "main" }}
|
|
{{ range .Pages.ByTitle }}
|
|
<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.Params.Avatar "description" .Site.Params.Description) -}}
|
|
|
|
{{ with .Site.Params.Social }}
|
|
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
|
|
{{- partial "widget/socials.html" . -}}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }} |