post-cover: enable mardownify

* allows users to add links and stuff #17
This commit is contained in:
Aditya Telange 2020-10-05 14:56:06 +05:30
parent a9e00a3640
commit d0c7635a8b
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 6 additions and 1 deletions

View File

@ -100,3 +100,8 @@
pointer-events: none;
width: 100%;
}
.entry-cover a {
color: var(--secondary);
box-shadow: 0 1px 0 var(--primary);
}

View File

@ -33,7 +33,7 @@
{{- else}}
<img src="{{ .Permalink -}} {{- .Params.cover.image }}" alt="{{ .Params.cover.alt | plainify }}">
{{- end}}
<p>{{.Params.cover.caption}}</p>
<p>{{.Params.cover.caption | markdownify }}</p>
</figure>
{{- end }}
{{- if .Params.ShowToc }}