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/drassil_comments/comments.html | 20 +++++++++++++++++++ _includes/drassil_sidebar/sidebar.html | 6 ++++++ _includes/gw_content/body.html | 5 +++++ _includes/gw_content/content.html | 25 +++++++++++++++++++++++ _includes/gw_content/wrapper.html | 5 +++++ _includes/gw_defines/defines.html | 5 +++++ _includes/gw_footer/footer.html | 19 ++++++++++++++++++ _includes/gw_head/head.html | 13 ++++++++++++ _includes/gw_head/meta.html | 12 +++++++++++ _includes/gw_head/scripts.html | 15 ++++++++++++++ _includes/gw_head/styles.html | 9 +++++++++ _includes/gw_header/downloads.html | 5 +++++ _includes/gw_header/header.html | 21 ++++++++++++++++++++ _includes/gw_header/logo.html | 4 ++++ _includes/gw_tail/tail.html | 34 ++++++++++++++++++++++++++++++++ _includes/gw_tools/page_actions.html | 14 +++++++++++++ _includes/gw_tools/search_module.html | 25 +++++++++++++++++++++++ _includes/gw_tools/tools.html | 13 ++++++++++++ 18 files changed, 250 insertions(+) create mode 100644 _includes/drassil_comments/comments.html create mode 100644 _includes/drassil_sidebar/sidebar.html create mode 100644 _includes/gw_content/body.html create mode 100644 _includes/gw_content/content.html create mode 100644 _includes/gw_content/wrapper.html create mode 100644 _includes/gw_defines/defines.html create mode 100644 _includes/gw_footer/footer.html 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 create mode 100644 _includes/gw_header/downloads.html create mode 100644 _includes/gw_header/header.html create mode 100644 _includes/gw_header/logo.html create mode 100644 _includes/gw_tail/tail.html create mode 100644 _includes/gw_tools/page_actions.html create mode 100644 _includes/gw_tools/search_module.html create mode 100644 _includes/gw_tools/tools.html (limited to '_includes') diff --git a/_includes/drassil_comments/comments.html b/_includes/drassil_comments/comments.html new file mode 100644 index 0000000..bf4d761 --- /dev/null +++ b/_includes/drassil_comments/comments.html @@ -0,0 +1,20 @@ +
+ + \ No newline at end of file diff --git a/_includes/drassil_sidebar/sidebar.html b/_includes/drassil_sidebar/sidebar.html new file mode 100644 index 0000000..4b7a396 --- /dev/null +++ b/_includes/drassil_sidebar/sidebar.html @@ -0,0 +1,6 @@ +Menu: + + \ No newline at end of file diff --git a/_includes/gw_content/body.html b/_includes/gw_content/body.html new file mode 100644 index 0000000..5edfa9b --- /dev/null +++ b/_includes/gw_content/body.html @@ -0,0 +1,5 @@ + + {% include gw_content/wrapper.html %} + + {% include gw_tail/tail.html %} + \ No newline at end of file diff --git a/_includes/gw_content/content.html b/_includes/gw_content/content.html new file mode 100644 index 0000000..347f69d --- /dev/null +++ b/_includes/gw_content/content.html @@ -0,0 +1,25 @@ +
+ {% include gw_tools/tools.html %} + + {% if site.inc_before_toc %} + {% include {{ site.inc_before_toc }} %} + {% endif %} + +
+ + {% if site.inc_after_toc %} + {% include {{ site.inc_after_toc }} %} + {% endif %} + + {% if site.inc_before_content %} + {% include {{ site.inc_before_content }} %} + {% endif %} + +
+ {{ content }} +
+ + {% if site.inc_after_content %} + {% include {{ site.inc_after_content }} %} + {% endif %} +
\ No newline at end of file diff --git a/_includes/gw_content/wrapper.html b/_includes/gw_content/wrapper.html new file mode 100644 index 0000000..9fb0223 --- /dev/null +++ b/_includes/gw_content/wrapper.html @@ -0,0 +1,5 @@ +
+ {% include gw_header/header.html %} + {% include gw_content/content.html %} + {% include gw_footer/footer.html %} +
\ No newline at end of file diff --git a/_includes/gw_defines/defines.html b/_includes/gw_defines/defines.html new file mode 100644 index 0000000..d479d72 --- /dev/null +++ b/_includes/gw_defines/defines.html @@ -0,0 +1,5 @@ +{% assign version = "1.0.5" %} +{% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %} +{% capture url %} +{% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%} +{% endcapture %} \ No newline at end of file diff --git a/_includes/gw_footer/footer.html b/_includes/gw_footer/footer.html new file mode 100644 index 0000000..7aed17c --- /dev/null +++ b/_includes/gw_footer/footer.html @@ -0,0 +1,19 @@ + \ No newline at end of file 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 diff --git a/_includes/gw_header/downloads.html b/_includes/gw_header/downloads.html new file mode 100644 index 0000000..8f654f9 --- /dev/null +++ b/_includes/gw_header/downloads.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/_includes/gw_header/header.html b/_includes/gw_header/header.html new file mode 100644 index 0000000..1b0b74c --- /dev/null +++ b/_includes/gw_header/header.html @@ -0,0 +1,21 @@ +
+ {% if site.inc_before_header %} + {% include {{ site.inc_before_header }} %} + {% endif %} + + {% if site.show_downloads %} + {% include gw_header/logo.html %} + {% endif %} + + {% if site.github.is_user_page %} +

View My GitHub Profile

+ {% endif %} + + {% if site.show_downloads %} + {% include gw_header/downloads.html %} + {% endif %} + + {% if site.inc_after_header %} + {% include {{ site.inc_after_header }} %} + {% endif %} +
\ No newline at end of file diff --git a/_includes/gw_header/logo.html b/_includes/gw_header/logo.html new file mode 100644 index 0000000..a4a36c3 --- /dev/null +++ b/_includes/gw_header/logo.html @@ -0,0 +1,4 @@ + +

{{ site.title | default: site.github.repository_name }}

+
+

{{ site.description | default: site.github.project_tagline }}

\ No newline at end of file diff --git a/_includes/gw_tail/tail.html b/_includes/gw_tail/tail.html new file mode 100644 index 0000000..e86191c --- /dev/null +++ b/_includes/gw_tail/tail.html @@ -0,0 +1,34 @@ +{% if site.inc_before_tail %} +{% include {{ site.inc_before_tail }} %} +{% endif %} + + + +{% if site.google_analytics %} + +{% endif %} + + + +{% if site.inc_after_tail %} +{% include {{ site.inc_after_tail }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/gw_tools/page_actions.html b/_includes/gw_tools/page_actions.html new file mode 100644 index 0000000..927b178 --- /dev/null +++ b/_includes/gw_tools/page_actions.html @@ -0,0 +1,14 @@ +{{page.relative_path}} +{% if site.use_github_wiki %} +Edit +History +Source +{% else %} +Edit +{% if site.use_prose_io %} +Edit + with Prose.io +{% endif %} +History +Source +{% endif %} \ No newline at end of file diff --git a/_includes/gw_tools/search_module.html b/_includes/gw_tools/search_module.html new file mode 100644 index 0000000..f79335a --- /dev/null +++ b/_includes/gw_tools/search_module.html @@ -0,0 +1,25 @@ +{% if site.google_cse_token %} + + +{% else %} +
+ + {% if site.use_github_wiki %} + + {% else %} + + + {% endif %} + +
+{% endif %} \ No newline at end of file diff --git a/_includes/gw_tools/tools.html b/_includes/gw_tools/tools.html new file mode 100644 index 0000000..c0b50f7 --- /dev/null +++ b/_includes/gw_tools/tools.html @@ -0,0 +1,13 @@ +
+ {% if site.inc_before_tools %} + {% include {{ site.inc_before_tools }} %} + {% endif %} + + {% include gw_tools/page_actions.html %} + + {% include gw_tools/search_module.html %} + + {% if site.inc_after_tools %} + {% include {{ site.inc_after_tools }} %} + {% endif %} +
\ No newline at end of file -- cgit