From d0c7635a8bb288305d7feecb9821e8b9eac78a64 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 5 Oct 2020 14:56:06 +0530 Subject: [PATCH] post-cover: enable mardownify * allows users to add links and stuff #17 --- assets/css/post-entry.css | 5 +++++ layouts/_default/single.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index 31f02664..340ffac6 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -100,3 +100,8 @@ pointer-events: none; width: 100%; } + +.entry-cover a { + color: var(--secondary); + box-shadow: 0 1px 0 var(--primary); +} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5c72ac44..97821ccd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -33,7 +33,7 @@ {{- else}} {{ .Params.cover.alt | plainify }} {{- end}} -

{{.Params.cover.caption}}

+

{{.Params.cover.caption | markdownify }}

{{- end }} {{- if .Params.ShowToc }}