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
|
Présent : Quentin, Alex, Maximilien, Vincent
|
||||||
Remote : Simon
|
Remote : Simon
|
||||||
Invité : Tom
|
Invité : Tom
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
extends ./_layout.pug
|
extends ./_layout.pug
|
||||||
|
|
||||||
prepend root
|
prepend root
|
||||||
|
- if (element.tags.includes('is_index'))
|
||||||
- title = element.nice_path[element.nice_path.length - 1]
|
- title = element.nice_path[element.nice_path.length - 1]
|
||||||
|
- else
|
||||||
|
- title = element.nice_name
|
||||||
|
|
||||||
block content
|
block content
|
||||||
!= markdown
|
!= markdown
|
||||||
|
|
Loading…
Reference in a new issue