blogamore/layouts/index.html

33 lines
No EOL
971 B
HTML

{{ define "main" }}
<div id="home-jumbotron" class="jumbotron text-center bg-light p-5">
<h1 class="title">{{ .Site.Title }}</h1>
<div>
{{ .Site.Params.Description }}
</div>
</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 }}