aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Association/AG2.md3
-rw-r--r--src/_markdown.pug5
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Association/AG2.md b/src/Association/AG2.md
index 4a27429..cc8fbc4 100644
--- a/src/Association/AG2.md
+++ b/src/Association/AG2.md
@@ -1,6 +1,3 @@
-AG2
-===
-
Présent : Quentin, Alex, Maximilien, Vincent
Remote : Simon
Invité : Tom
diff --git a/src/_markdown.pug b/src/_markdown.pug
index b92c4e9..9771aeb 100644
--- a/src/_markdown.pug
+++ b/src/_markdown.pug
@@ -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