From 43a17aa3862ff05e051f7f92868204bc8f4eb8ef Mon Sep 17 00:00:00 2001 From: curben Date: Sun, 16 Sep 2018 12:29:03 +0930 Subject: [PATCH] Use proper comment Comment shouldn't be displayed on "View source" --- themes/typing/layout/_partial/footer.ejs | 30 ++++-------------------- themes/typing/layout/layout.ejs | 2 +- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/themes/typing/layout/_partial/footer.ejs b/themes/typing/layout/_partial/footer.ejs index b3b1339..7d3f1f0 100644 --- a/themes/typing/layout/_partial/footer.ejs +++ b/themes/typing/layout/_partial/footer.ejs @@ -1,31 +1,9 @@ -<% if (is_home()) { %> +<%/* Display footer only on /about page */%> +<% if (is_current('about/index.html')) { %>