mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-06 09:31:17 -04:00
post-cover: enable mardownify
* allows users to add links and stuff #17
This commit is contained in:
parent
a9e00a3640
commit
d0c7635a8b
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue