mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
profile-mode: add support for adding subtitle
This commit is contained in:
parent
c055e14be6
commit
d18c5b74be
@ -16,6 +16,11 @@
|
|||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile_inner span {
|
||||||
|
padding: 10px 0;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
display: inline-table;
|
display: inline-table;
|
||||||
width: 180px;
|
width: 180px;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="profile_inner">
|
<div class="profile_inner">
|
||||||
{{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}}
|
{{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}}
|
||||||
<h1>{{- .title | default $.Site.Title -}}</h1>
|
<h1>{{- .title | default $.Site.Title -}}</h1>
|
||||||
|
<span>{{- .subtitle -}}</span>
|
||||||
{{- partial "social_icons.html" $.Site.Params.socialIcons -}}
|
{{- partial "social_icons.html" $.Site.Params.socialIcons -}}
|
||||||
|
|
||||||
{{- with .buttons }}
|
{{- with .buttons }}
|
||||||
|
Loading…
Reference in New Issue
Block a user