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') 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