mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
tpl/tplimpl: Add details shortcode
- Add new shortcode to render details HTML element. - Implement integration tests to check: default state, custom summary, open state, attribute sanitization, allowed attributes, and localization of default summary text. - Update docs to include details shortcode. Closes # 13090
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
9dfa112617
commit
4f130f6e4f
@@ -25,6 +25,7 @@
|
||||
|
||||
# Shortcodes
|
||||
'comment' = 'shortcodes/comment.html'
|
||||
'details' = 'shortcodes/details.html'
|
||||
'figure' = 'shortcodes/figure.html'
|
||||
'gist' = 'shortcodes/gist.html'
|
||||
'highlight' = 'shortcodes/highlight.html'
|
||||
|
Reference in New Issue
Block a user