profile-mode: add support for adding subtitle

This commit is contained in:
Aditya Telange 2020-10-02 13:58:25 +05:30
parent c055e14be6
commit d18c5b74be
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,11 @@
padding: 12px 0;
}
.profile_inner span {
padding: 10px 0;
font-size: 18px;
}
img {
display: inline-table;
width: 180px;

View File

@ -3,7 +3,7 @@
<div class="profile_inner">
{{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}}
<h1>{{- .title | default $.Site.Title -}}</h1>
<span>{{- .subtitle -}}</span>
{{- partial "social_icons.html" $.Site.Params.socialIcons -}}
{{- with .buttons }}