mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 13:33:34 +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
|
````tree
|
||||||
- home | folder
|
- home | folder
|
||||||
- .config | folder
|
- [.config](http://example.com) | folder
|
||||||
- My Documents | folder | magic
|
- My Documents | folder | magic
|
||||||
- home.php | fa-fw fab fa-php | #888cc4
|
- 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
|
````md
|
||||||
```tree
|
```tree
|
||||||
- home | folder
|
- home | folder
|
||||||
- .config | folder
|
- [.config](http://example.com) | folder
|
||||||
- My Documents | folder | magic
|
- My Documents | folder | magic
|
||||||
- home.php | fa-fw fab fa-php | #888cc4
|
- 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
|
````go
|
||||||
{{%/* tree */%}}
|
{{%/* tree */%}}
|
||||||
- home | folder
|
- home | folder
|
||||||
- .config | folder
|
- [.config](http://example.com) | folder
|
||||||
- My Documents | folder | magic
|
- My Documents | folder | magic
|
||||||
- home.php | fa-fw fab fa-php | #888cc4
|
- home.php | fa-fw fab fa-php | #888cc4
|
||||||
{{%/* /tree */%}}
|
{{%/* /tree */%}}
|
||||||
@ -46,7 +46,7 @@ The `tree` shortcode displays a list as a tree with configurable icons and color
|
|||||||
{{ partial "shortcodes/tree.html" (dict
|
{{ partial "shortcodes/tree.html" (dict
|
||||||
"page" .
|
"page" .
|
||||||
"content" `- home | folder
|
"content" `- home | folder
|
||||||
- .config | folder
|
- [.config](http://example.com) | folder
|
||||||
- My Documents | folder | magic
|
- My Documents | folder | magic
|
||||||
- home.php | fa-fw fab fa-php | #888cc4`
|
- 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