mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
post-cover: enable mardownify
* allows users to add links and stuff #17
This commit is contained in:
parent
a9e00a3640
commit
d0c7635a8b
@ -100,3 +100,8 @@
|
||||
pointer-events: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-cover a {
|
||||
color: var(--secondary);
|
||||
box-shadow: 0 1px 0 var(--primary);
|
||||
}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user