diff --git a/assets/css/_page/_home.scss b/assets/css/_page/_home.scss index 9a7e1f58..7b460108 100644 --- a/assets/css/_page/_home.scss +++ b/assets/css/_page/_home.scss @@ -29,7 +29,10 @@ font-size: 1.25rem; font-weight: bold; margin: 0; - padding: 0.5rem; + + &:not(:empty) { + padding: 0.5rem; + } } .home-subtitle { diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 22d14e6b..3708212f 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -18,7 +18,7 @@ {{- end -}} {{- /* Title */ -}} -

+

{{ $repost := $params.repost | default dict }} {{- with $repost -}} {{- if eq .Enable true -}} @@ -28,7 +28,7 @@ {{- end -}} {{- end -}} {{ .Title }} -

+ {{- /* Meta */ -}}
diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index e56af6ca..d7dcf4ae 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -36,14 +36,14 @@
{{- end -}} - {{- with $profile.title -}} -

+

+ {{- with $profile.title -}} {{- . | safeHTML -}} -

- {{- end -}} + {{- end -}} + {{- with $profile.subtitle -}} -

+

{{- if $profile.typeit -}} {{- $id := dict "Content" . "Scratch" $.Scratch "Id" "typeit-profile-subtitle" | partial "function/id.html" -}} {{ . }} @@ -52,7 +52,7 @@ {{- else -}} {{- . -}} {{- end -}} -

+

{{- end -}} {{- if $profile.social -}}