Fix title

This commit is contained in:
Quentin 2020-04-18 17:25:39 +02:00
parent 2ea473d3bd
commit 8fbeec66ba
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,3 @@
AG2
===
Présent : Quentin, Alex, Maximilien, Vincent
Remote : Simon
Invité : Tom

View file

@ -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