From 4a8156e08a5e3ffe540f56ecb894b951dd9b7c84 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 16 Dec 2018 15:54:48 +0100 Subject: Git-Wiki 2.0 --- _includes/gw_head/head.html | 13 +++++++++++++ _includes/gw_head/meta.html | 12 ++++++++++++ _includes/gw_head/scripts.html | 15 +++++++++++++++ _includes/gw_head/styles.html | 9 +++++++++ 4 files changed, 49 insertions(+) create mode 100644 _includes/gw_head/head.html create mode 100644 _includes/gw_head/meta.html create mode 100644 _includes/gw_head/scripts.html create mode 100644 _includes/gw_head/styles.html (limited to '_includes/gw_head') diff --git a/_includes/gw_head/head.html b/_includes/gw_head/head.html new file mode 100644 index 0000000..cf82bd9 --- /dev/null +++ b/_includes/gw_head/head.html @@ -0,0 +1,13 @@ + + {% if site.inc_before_head %} + {% include {{ site.inc_before_head }} %} + {% endif %} + + {% include gw_head/meta.html %} + {% include gw_head/scripts.html %} + {% include gw_head/styles.html %} + + {% if site.inc_after_head %} + {% include {{ site.inc_after_head }} %} + {% endif %} + \ No newline at end of file diff --git a/_includes/gw_head/meta.html b/_includes/gw_head/meta.html new file mode 100644 index 0000000..141ab05 --- /dev/null +++ b/_includes/gw_head/meta.html @@ -0,0 +1,12 @@ +{% if site.inc_before_meta %} +{% include {{ site.inc_before_meta }} %} +{% endif %} + + + + +{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }} + +{% if site.inc_after_meta %} +{% include {{ site.inc_after_meta }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/gw_head/scripts.html b/_includes/gw_head/scripts.html new file mode 100644 index 0000000..65ee4ff --- /dev/null +++ b/_includes/gw_head/scripts.html @@ -0,0 +1,15 @@ +{% if site.inc_before_scripts %} +{% include {{ site.inc_before_scripts }} %} +{% endif %} + + + + + + +{% if site.inc_after_scripts %} +{% include {{ site.inc_after_scripts }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/gw_head/styles.html b/_includes/gw_head/styles.html new file mode 100644 index 0000000..3bb7ecc --- /dev/null +++ b/_includes/gw_head/styles.html @@ -0,0 +1,9 @@ +{% if site.inc_before_styles %} +{% include {{ site.inc_before_styles }} %} +{% endif %} + + + +{% if site.inc_after_styles %} +{% include {{ site.inc_after_styles }} %} +{% endif %} \ No newline at end of file -- cgit