From b459553595791be66b0e6bdefc3958050744c457 Mon Sep 17 00:00:00 2001 From: Mahendrata Harpi Date: Sat, 29 Aug 2020 10:56:53 +0700 Subject: [PATCH] Add conditional to load js code --- _includes/footer.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index ebf7347..9b07897 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,9 +1,9 @@ - - + +{%- if page.google_analytics -%} + + +{%- endif -%} +{%- if page.url == '/archive/' -%} + + +{%- endif -%} \ No newline at end of file