blogamore/layouts/index.html

33 lines
971 B
HTML
Raw Permalink Normal View History

2022-11-13 20:52:45 +01:00
{{ define "main" }}
<div id="home-jumbotron" class="jumbotron text-center bg-light p-5">
2022-11-13 20:52:45 +01:00
<h1 class="title">{{ .Site.Title }}</h1>
2022-11-15 23:34:16 +01:00
<div>
{{ .Site.Params.Description }}
</div>
2022-11-13 20:52:45 +01:00
</div>
<div class="row">
<div class="col-lg-6">
{{- partial "widget/header.html" (dict "title" "About Me") -}}
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Author.avatar "description" .Site.Author.description) -}}
</div>
<div class="col-lg-6">
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
{{ with .Site.Author.social }}
{{- partial "widget/socials.html" . -}}
{{ end }}
</div>
</div>
{{ end }}
{{ define "sidebar" }}
{{- if isset .Site.Author "linkdata" -}}
{{- with (index .Site.Data .Site.Author.linkdata) }}
<div class="position-sticky">
{{- partial "widget/header.html" (dict "title" "Links") -}}
{{- partial "widget/links.html" . -}}
</div>
{{- end -}}
{{- end -}}
{{- end }}