From 353146891e2e3c38600b406efd904d35b5debc86 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 17 Oct 2020 15:02:40 +0530 Subject: [PATCH] home-info, profile-mode: enable markdownify for text elements --- layouts/partials/home_info.html | 4 ++-- layouts/partials/index_profile.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index 6be21134..ef086158 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -1,7 +1,7 @@ {{- with $.Site.Params.homeInfoParams }}
-

{{- .Title }}

+

{{- .Title | markdownify }}

{{- .Content | markdownify }}

@@ -10,4 +10,4 @@ {{- partial "social_icons.html" $.Site.Params.socialIcons -}}
-{{- end}} \ No newline at end of file +{{- end}} diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index 279a3a4e..5de8057a 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -2,8 +2,8 @@ {{- with .Site.Params.profileMode }}
{{- if .imageUrl}}{{ .imageTitle | default {{- end}} -

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

- {{- .subtitle -}} +

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

+ {{- .subtitle | markdownify -}} {{- partial "social_icons.html" $.Site.Params.socialIcons -}} {{- with .buttons }} @@ -17,4 +17,4 @@ {{- end }}
{{- end}} - \ No newline at end of file +