From d18c5b74be3143961ba26ecbca134b01437baafa Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 2 Oct 2020 13:58:25 +0530 Subject: [PATCH] profile-mode: add support for adding subtitle --- assets/css/profile-mode.css | 5 +++++ layouts/partials/index_profile.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/css/profile-mode.css b/assets/css/profile-mode.css index aa1440d9..8c218043 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 37db61f2..279a3a4e 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -3,7 +3,7 @@
{{- if .imageUrl}}{{ .imageTitle | default {{- end}}

{{- .title | default $.Site.Title -}}

- + {{- .subtitle -}} {{- partial "social_icons.html" $.Site.Params.socialIcons -}} {{- with .buttons }}