site/src/_markdown.pug

11 lines
211 B
Text
Raw Normal View History

2020-04-18 15:17:54 +00:00
extends ./_layout.pug
prepend root
2020-04-18 15:25:39 +00:00
- if (element.tags.includes('is_index'))
- title = element.nice_path[element.nice_path.length - 1]
- else
- title = element.nice_name
2020-04-18 15:17:54 +00:00
block content
!= markdown