mirror of
https://github.com/iyear/tdl
synced 2025-01-08 11:57:55 +08:00
feat(hugo): add include shortcode
This commit is contained in:
parent
8798bb2ad6
commit
c35c494e8d
2
docs/layouts/shortcodes/include.html
Normal file
2
docs/layouts/shortcodes/include.html
Normal file
@ -0,0 +1,2 @@
|
||||
{{ $file := .Get 0 }}
|
||||
{{ $file | readFile | replaceRE "^---[\\s\\S]+?---" "" | markdownify }}
|
Loading…
Reference in New Issue
Block a user