mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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