From a515191afddb3952fa93c6aacf83c73c8024e069 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 29 Oct 2014 06:46:02 +0200 Subject: Customizer: include the minified files only on GitHub pages. --- docs/_includes/footer.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/_includes/footer.html') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index ef68da3eb..c6ad43cd5 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -46,7 +46,17 @@ {% endif %} {% if page.slug == "customize" %} +{% if site.github %} +{% else %} + + + + + + + +{% endif %} {% endif %} -- cgit v1.2.3 From aad0f00887239a1971ae746a2828f037b5d30541 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 28 Oct 2014 23:04:25 -0700 Subject: indentation and comment --- docs/_includes/footer.html | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'docs/_includes/footer.html') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index c6ad43cd5..c44cabec8 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -33,31 +33,38 @@ ================================================== --> + {% if site.github %} - + {% else %} - + {% endif %} + {% if site.github %} - + {% else %} - - - + + + {% endif %} + {% if page.slug == "customize" %} -{% if site.github %} - -{% else %} - - - - - - - -{% endif %} + {% if site.github %} + + {% else %} + {% comment %} + This list is repeated in our Gruntfile—update both when making changes. + {% endcomment %} + + + + + + + + {% endif %} {% endif %} + -- cgit v1.2.3 From d10700427805c40497b24d7f4ffdd58a7a83c997 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Mon, 3 Nov 2014 16:19:40 +0100 Subject: Remove duplicate code from Customizer/Gruntfile by sharing it --- docs/_includes/footer.html | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'docs/_includes/footer.html') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index c44cabec8..24dfd26a5 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -43,25 +43,19 @@ {% if site.github %} {% else %} - - - + {% for file in site.data.configBridge.paths.docsJs %} + + {% endfor %} {% endif %} {% if page.slug == "customize" %} + {% if site.github %} {% else %} - {% comment %} - This list is repeated in our Gruntfile—update both when making changes. - {% endcomment %} - - - - - - - + {% for file in site.data.configBridge.paths.customizerJs %} + + {% endfor %} {% endif %} {% endif %} -- cgit v1.2.3