mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat: show button links in listings irrespective of Type
For example, if a blog post has an attachment, it will now be linked in the listing as well as in its page header. May also reduce excess spacing by preventing empty attachment DIV in the case of no attachments/buttons since it now checks if a page has buttons.
This commit is contained in:
parent
d4ecdca0eb
commit
2b9041dc87
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
{{ if $has_attachments }}
|
||||
<div class="btn-links">
|
||||
{{ partial "page_links" (dict "page" $item "is_list" 1) }}
|
||||
{{ partial "page_links" (dict "page" . "is_list" 1) }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue