From 8fbeec66ba66c8030ce46d6d38ac16f50b9d1fc6 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 18 Apr 2020 17:25:39 +0200 Subject: [PATCH] Fix title --- src/Association/AG2.md | 3 --- src/_markdown.pug | 5 ++++- 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