From 6ee35ced8650d65fbdbb5bbbe4575f53ae8fc801 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 29 May 2017 10:52:13 -0700 Subject: move scripts to separate include so we can include them across layouts even if the footer isn't there --- _includes/footer.html | 51 -------------------------------------------------- _includes/scripts.html | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 51 deletions(-) create mode 100644 _includes/scripts.html (limited to '_includes') diff --git a/_includes/footer.html b/_includes/footer.html index a2f74e070..19b05996f 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -10,54 +10,3 @@

Currently v{{ site.current_version }}. Code licensed MIT, docs CC BY 3.0.

- - - - - - -{% if site.github %} - -{% else %} - -{% endif %} - -{% if site.github %} - -{% else %} - - - - -{% endif %} - - - - - -{% if page.layout == "docs" %} - - -{% endif %} - - diff --git a/_includes/scripts.html b/_includes/scripts.html new file mode 100644 index 000000000..a713f81d0 --- /dev/null +++ b/_includes/scripts.html @@ -0,0 +1,50 @@ + + + + + +{% if site.github %} + +{% else %} + +{% endif %} + +{% if site.github %} + +{% else %} + + + + +{% endif %} + + + + + +{% if page.layout == "docs" %} + + +{% endif %} + + -- cgit v1.2.3