Umstellung auf neue Hugo Version 0.139.4 - Verschieben der Author-Sektion

This commit is contained in:
marcodn 2025-01-02 19:19:27 +01:00
parent dca5adb929
commit 8662c0add2
9 changed files with 32 additions and 24 deletions

View file

@ -9,12 +9,12 @@
<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) -}}
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Params.Author.avatar "description" .Site.Params.Author.description) -}}
</div>
<div class="col-lg-6">
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
{{ with .Site.Author.social }}
{{ with .Site.Params.Author.social }}
{{- partial "widget/socials.html" . -}}
{{ end }}
</div>
@ -22,8 +22,8 @@
{{ end }}
{{ define "sidebar" }}
{{- if isset .Site.Author "linkdata" -}}
{{- with (index .Site.Data .Site.Author.linkdata) }}
{{- if isset .Site.Params.Author "linkdata" -}}
{{- with (index .Site.Data .Site.Params.Author.linkdata) }}
<div class="position-sticky">
{{- partial "widget/header.html" (dict "title" "Links") -}}
{{- partial "widget/links.html" . -}}