summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-02 13:58:25 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-02 14:35:38 +0530
commitd18c5b74be3143961ba26ecbca134b01437baafa (patch)
tree930dfc4a8a396419cf543e6a19eea51793f24f73
parentc055e14be6af634438c3a8189a544b1b1c5f7932 (diff)
profile-mode: add support for adding subtitle
-rw-r--r--assets/css/profile-mode.css5
-rw-r--r--layouts/partials/index_profile.html2
2 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/profile-mode.css b/assets/css/profile-mode.css
index aa1440d..8c21804 100644
--- a/assets/css/profile-mode.css
+++ b/assets/css/profile-mode.css
@@ -16,6 +16,11 @@
padding: 12px 0;
}
+.profile_inner span {
+ padding: 10px 0;
+ font-size: 18px;
+}
+
img {
display: inline-table;
width: 180px;
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html
index 37db61f..279a3a4 100644
--- a/layouts/partials/index_profile.html
+++ b/layouts/partials/index_profile.html
@@ -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 }}