forked from Deuxfleurs/site
Fix title
This commit is contained in:
parent
2ea473d3bd
commit
8fbeec66ba
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
|||
AG2
|
||||
===
|
||||
|
||||
Présent : Quentin, Alex, Maximilien, Vincent
|
||||
Remote : Simon
|
||||
Invité : Tom
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
extends ./_layout.pug
|
||||
|
||||
prepend root
|
||||
- title = element.nice_path[element.nice_path.length - 1]
|
||||
- if (element.tags.includes('is_index'))
|
||||
- title = element.nice_path[element.nice_path.length - 1]
|
||||
- else
|
||||
- title = element.nice_name
|
||||
|
||||
block content
|
||||
!= markdown
|
||||
|
|
Loading…
Reference in a new issue