mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Add the ability to feature an image in an article on list pages
This commit is contained in:
@ -66,6 +66,12 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Resources.GetMatch "feature" }}
|
||||
<div class="post-image">
|
||||
<img src="{{ .Permalink }}" alt="{{ .Title }}" />
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="post-description">
|
||||
{{ if .Description }}
|
||||
{{ .Description | markdownify }}
|
||||
|
Reference in New Issue
Block a user