mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01: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;
|
pointer-events: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.entry-cover a {
|
||||||
|
color: var(--secondary);
|
||||||
|
box-shadow: 0 1px 0 var(--primary);
|
||||||
|
}
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
{{- else}}
|
{{- else}}
|
||||||
<img src="{{ .Permalink -}} {{- .Params.cover.image }}" alt="{{ .Params.cover.alt | plainify }}">
|
<img src="{{ .Permalink -}} {{- .Params.cover.image }}" alt="{{ .Params.cover.alt | plainify }}">
|
||||||
{{- end}}
|
{{- end}}
|
||||||
<p>{{.Params.cover.caption}}</p>
|
<p>{{.Params.cover.caption | markdownify }}</p>
|
||||||
</figure>
|
</figure>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Params.ShowToc }}
|
{{- if .Params.ShowToc }}
|
||||||
|
Loading…
Reference in New Issue
Block a user