mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 07:02:03 +08:00
tree: example improvement #1067
This commit is contained in:
parent
da9ddd9c5a
commit
ad2b9fc2e0
@ -8,7 +8,7 @@ The `tree` shortcode displays a list as a tree with configurable icons and color
|
||||
|
||||
````tree
|
||||
- home | folder
|
||||
- .config | folder
|
||||
- [.config](http://example.com) | folder
|
||||
- My Documents | folder | magic
|
||||
- home.php | fa-fw fab fa-php | #888cc4
|
||||
````
|
||||
@ -21,7 +21,7 @@ The `tree` shortcode displays a list as a tree with configurable icons and color
|
||||
````md
|
||||
```tree
|
||||
- home | folder
|
||||
- .config | folder
|
||||
- [.config](http://example.com) | folder
|
||||
- My Documents | folder | magic
|
||||
- home.php | fa-fw fab fa-php | #888cc4
|
||||
```
|
||||
@ -33,7 +33,7 @@ The `tree` shortcode displays a list as a tree with configurable icons and color
|
||||
````go
|
||||
{{%/* tree */%}}
|
||||
- home | folder
|
||||
- .config | folder
|
||||
- [.config](http://example.com) | folder
|
||||
- My Documents | folder | magic
|
||||
- home.php | fa-fw fab fa-php | #888cc4
|
||||
{{%/* /tree */%}}
|
||||
@ -46,7 +46,7 @@ The `tree` shortcode displays a list as a tree with configurable icons and color
|
||||
{{ partial "shortcodes/tree.html" (dict
|
||||
"page" .
|
||||
"content" `- home | folder
|
||||
- .config | folder
|
||||
- [.config](http://example.com) | folder
|
||||
- My Documents | folder | magic
|
||||
- home.php | fa-fw fab fa-php | #888cc4`
|
||||
)}}
|
||||
|
@ -1 +1 @@
|
||||
7.5.0+4b844a8acc63f1cae8435a1be6a2ffb9c3886482
|
||||
7.5.0+da9ddd9c5a7274e9d2d30164d8c0f8f8a041db1a
|
Loading…
x
Reference in New Issue
Block a user