From 4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 17 Dec 2018 19:19:20 +0100 Subject: v2.1.0 with blog feature implemented --- 404.md | 1 + _config.yml.dist | 15 ++++++++++ .../git-wiki/components/action_btn/downloads.html | 5 ++++ .../components/action_btn/page_actions.html | 23 +++++++++++++++ .../git-wiki/components/copyrights/copyrights.html | 9 ++++++ _includes/git-wiki/components/lists/page-list.html | 26 +++++++++++++++++ _includes/git-wiki/components/lists/post-list.html | 26 +++++++++++++++++ _includes/git-wiki/components/logo/logo.html | 4 +++ _includes/git-wiki/components/search/index.html | 7 +++++ .../git-wiki/components/search/se_github.html | 10 +++++++ .../git-wiki/components/search/se_google.html | 12 ++++++++ _includes/git-wiki/components/search/se_js.html | 15 ++++++++++ _includes/git-wiki/defines/defines.html | 5 ++++ _includes/git-wiki/sections/content/body.html | 5 ++++ _includes/git-wiki/sections/content/content.html | 25 ++++++++++++++++ _includes/git-wiki/sections/content/wrapper.html | 5 ++++ _includes/git-wiki/sections/footer/footer.html | 11 +++++++ _includes/git-wiki/sections/head/head.html | 13 +++++++++ _includes/git-wiki/sections/head/meta.html | 13 +++++++++ _includes/git-wiki/sections/head/scripts.html | 15 ++++++++++ _includes/git-wiki/sections/head/styles.html | 9 ++++++ _includes/git-wiki/sections/header/header.html | 29 ++++++++++++++++++ _includes/git-wiki/sections/tail/tail.html | 34 ++++++++++++++++++++++ _includes/git-wiki/sections/tools/tools.html | 13 +++++++++ _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 | 13 --------- _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 | 16 ---------- _includes/gw_tools/search_github.html | 10 ------- _includes/gw_tools/search_google.html | 12 -------- _includes/gw_tools/search_js.html | 15 ---------- _includes/gw_tools/search_module.html | 3 -- _includes/gw_tools/tools.html | 13 --------- _layouts/git-wiki-bs-lux.html | 25 +++++++++------- _layouts/git-wiki-bs-united.html | 25 +++++++++------- _layouts/git-wiki-default.html | 6 ++-- _posts/.gitkeep | 1 + assets/css/git-wiki-style.scss | 1 + sitemap_full.xml | 2 +- 49 files changed, 364 insertions(+), 268 deletions(-) create mode 100644 _includes/git-wiki/components/action_btn/downloads.html create mode 100644 _includes/git-wiki/components/action_btn/page_actions.html create mode 100644 _includes/git-wiki/components/copyrights/copyrights.html create mode 100644 _includes/git-wiki/components/lists/page-list.html create mode 100644 _includes/git-wiki/components/lists/post-list.html create mode 100644 _includes/git-wiki/components/logo/logo.html create mode 100644 _includes/git-wiki/components/search/index.html create mode 100644 _includes/git-wiki/components/search/se_github.html create mode 100644 _includes/git-wiki/components/search/se_google.html create mode 100644 _includes/git-wiki/components/search/se_js.html create mode 100644 _includes/git-wiki/defines/defines.html create mode 100644 _includes/git-wiki/sections/content/body.html create mode 100644 _includes/git-wiki/sections/content/content.html create mode 100644 _includes/git-wiki/sections/content/wrapper.html create mode 100644 _includes/git-wiki/sections/footer/footer.html create mode 100644 _includes/git-wiki/sections/head/head.html create mode 100644 _includes/git-wiki/sections/head/meta.html create mode 100644 _includes/git-wiki/sections/head/scripts.html create mode 100644 _includes/git-wiki/sections/head/styles.html create mode 100644 _includes/git-wiki/sections/header/header.html create mode 100644 _includes/git-wiki/sections/tail/tail.html create mode 100644 _includes/git-wiki/sections/tools/tools.html delete mode 100644 _includes/gw_content/body.html delete mode 100644 _includes/gw_content/content.html delete mode 100644 _includes/gw_content/wrapper.html delete mode 100644 _includes/gw_defines/defines.html delete mode 100644 _includes/gw_footer/footer.html delete mode 100644 _includes/gw_head/head.html delete mode 100644 _includes/gw_head/meta.html delete mode 100644 _includes/gw_head/scripts.html delete mode 100644 _includes/gw_head/styles.html delete mode 100644 _includes/gw_header/downloads.html delete mode 100644 _includes/gw_header/header.html delete mode 100644 _includes/gw_header/logo.html delete mode 100644 _includes/gw_tail/tail.html delete mode 100644 _includes/gw_tools/page_actions.html delete mode 100644 _includes/gw_tools/search_github.html delete mode 100644 _includes/gw_tools/search_google.html delete mode 100644 _includes/gw_tools/search_js.html delete mode 100644 _includes/gw_tools/search_module.html delete mode 100644 _includes/gw_tools/tools.html create mode 100644 _posts/.gitkeep diff --git a/404.md b/404.md index 368fc60..dd6b4c7 100644 --- a/404.md +++ b/404.md @@ -1,5 +1,6 @@ --- permalink: /404.html +layout: "null" --- diff --git a/_config.yml.dist b/_config.yml.dist index 1d11648..bbea686 100644 --- a/_config.yml.dist +++ b/_config.yml.dist @@ -2,6 +2,16 @@ title: # (string) Description of your wiki description: +# (boolean) Enable/disable wiki page list in sidebar +show_wiki_pages: true +# (integer) Maximum number of wiki page to shown in sidebar +show_wiki_pages_limit: 10 +# (boolean) Enable/disable blog feature +blog_feature: true +# (boolean) Enable/disable wiki posts list in sidebar (needs blog_feature enabled) +show_wiki_posts: true +# (integer) Maximum number of wiki posts to shown in sidebar +show_wiki_posts_limit: 10 # (boolean) Enable/disable download buttons in sidebar show_downloads: true # (string) Specify branch rendered by gitpages allowing wiki tool buttons to work @@ -89,3 +99,8 @@ inc_before_tail : inc_after_tail : inc_before_tools : inc_after_tools : + +inc_before_page_list : +inc_after_page_list : +inc_before_post_list : +inc_after_post_list : diff --git a/_includes/git-wiki/components/action_btn/downloads.html b/_includes/git-wiki/components/action_btn/downloads.html new file mode 100644 index 0000000..8f654f9 --- /dev/null +++ b/_includes/git-wiki/components/action_btn/downloads.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/_includes/git-wiki/components/action_btn/page_actions.html b/_includes/git-wiki/components/action_btn/page_actions.html new file mode 100644 index 0000000..af5a41f --- /dev/null +++ b/_includes/git-wiki/components/action_btn/page_actions.html @@ -0,0 +1,23 @@ +{% if site.use_github_wiki %} +Add new +Edit +History +Source +{% else %} +Add new +Edit +History +Source +{% if site.blog_feature %} +Add new post +{% endif %} + {% if site.use_prose_io %} +
+ Prose.io: + Add new + Edit + {% if site.blog_feature %} + Add new post + {% endif %} + {% endif %} +{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/components/copyrights/copyrights.html b/_includes/git-wiki/components/copyrights/copyrights.html new file mode 100644 index 0000000..d53ff75 --- /dev/null +++ b/_includes/git-wiki/components/copyrights/copyrights.html @@ -0,0 +1,9 @@ +{% if site.github.is_project_page %} +

This project is maintained by {{ site.github.owner_name }}

+{% endif %} +

Hosted on GitHub Pages — Powered by Git-Wiki v{{ + version }}

+ +{% if site.github.is_project_page %} +

View the Project on GitHub {{ github_name }}

+{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/components/lists/page-list.html b/_includes/git-wiki/components/lists/page-list.html new file mode 100644 index 0000000..8c32b63 --- /dev/null +++ b/_includes/git-wiki/components/lists/page-list.html @@ -0,0 +1,26 @@ +{% if site.inc_before_page_list %} +{% include {{ site.inc_before_page_list }} %} +{% endif %} + +Pages {% if (site.show_wiki_pages_limit >= 1 %} (Latest {{site.show_wiki_pages_limit }} updated) {% endif %}: + + +{% if site.inc_after_page_list %} +{% include {{ site.inc_after_page_list }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/components/lists/post-list.html b/_includes/git-wiki/components/lists/post-list.html new file mode 100644 index 0000000..5e39359 --- /dev/null +++ b/_includes/git-wiki/components/lists/post-list.html @@ -0,0 +1,26 @@ +{% if site.inc_before_post_list %} +{% include {{ site.inc_before_post_list }} %} +{% endif %} + +Posts {% if (site.show_wiki_post_limit >= 1 %} (Latest {{site.show_wiki_post_limit }} updated) {% endif %}: + + +{% if site.inc_after_post_list %} +{% include {{ site.inc_after_post_list }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/components/logo/logo.html b/_includes/git-wiki/components/logo/logo.html new file mode 100644 index 0000000..a4a36c3 --- /dev/null +++ b/_includes/git-wiki/components/logo/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/git-wiki/components/search/index.html b/_includes/git-wiki/components/search/index.html new file mode 100644 index 0000000..8af31e8 --- /dev/null +++ b/_includes/git-wiki/components/search/index.html @@ -0,0 +1,7 @@ +{% comment %} + This component just select your preferred search engine based on _config.yml value +{% endcomment %} + +{% assign se = site.search_engine | default: "github" %} +{% assign file = "git-wiki/components/search/se_" | append: se | append: ".html" %} +{% include {{file}} %} \ No newline at end of file diff --git a/_includes/git-wiki/components/search/se_github.html b/_includes/git-wiki/components/search/se_github.html new file mode 100644 index 0000000..efcc5e8 --- /dev/null +++ b/_includes/git-wiki/components/search/se_github.html @@ -0,0 +1,10 @@ +
+ + {% if site.use_github_wiki %} + + {% else %} + + + {% endif %} + +
\ No newline at end of file diff --git a/_includes/git-wiki/components/search/se_google.html b/_includes/git-wiki/components/search/se_google.html new file mode 100644 index 0000000..0c3e675 --- /dev/null +++ b/_includes/git-wiki/components/search/se_google.html @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/_includes/git-wiki/components/search/se_js.html b/_includes/git-wiki/components/search/se_js.html new file mode 100644 index 0000000..9e75464 --- /dev/null +++ b/_includes/git-wiki/components/search/se_js.html @@ -0,0 +1,15 @@ +
+ +
+ + + \ No newline at end of file diff --git a/_includes/git-wiki/defines/defines.html b/_includes/git-wiki/defines/defines.html new file mode 100644 index 0000000..43aea6d --- /dev/null +++ b/_includes/git-wiki/defines/defines.html @@ -0,0 +1,5 @@ +{% assign version = "2.0.3" %} +{% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %} +{% capture url %} +{% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%} +{% endcapture %} diff --git a/_includes/git-wiki/sections/content/body.html b/_includes/git-wiki/sections/content/body.html new file mode 100644 index 0000000..419eeaf --- /dev/null +++ b/_includes/git-wiki/sections/content/body.html @@ -0,0 +1,5 @@ + + {% include git-wiki/sections/content/wrapper.html %} + + {% include git-wiki/sections/tail/tail.html %} + \ No newline at end of file diff --git a/_includes/git-wiki/sections/content/content.html b/_includes/git-wiki/sections/content/content.html new file mode 100644 index 0000000..b86a729 --- /dev/null +++ b/_includes/git-wiki/sections/content/content.html @@ -0,0 +1,25 @@ +
+ {% include git-wiki/sections/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/git-wiki/sections/content/wrapper.html b/_includes/git-wiki/sections/content/wrapper.html new file mode 100644 index 0000000..eab823f --- /dev/null +++ b/_includes/git-wiki/sections/content/wrapper.html @@ -0,0 +1,5 @@ +
+ {% include git-wiki/sections/header/header.html %} + {% include git-wiki/sections/content/content.html %} + {% include git-wiki/sections/footer/footer.html %} +
\ No newline at end of file diff --git a/_includes/git-wiki/sections/footer/footer.html b/_includes/git-wiki/sections/footer/footer.html new file mode 100644 index 0000000..f49703b --- /dev/null +++ b/_includes/git-wiki/sections/footer/footer.html @@ -0,0 +1,11 @@ +
+ {% if site.inc_before_footer %} + {% include {{ site.inc_before_footer }} %} + {% endif %} + + {% include git-wiki/components/copyrights/copyrights.html %} + + {% if site.inc_after_footer %} + {% include {{ site.inc_after_footer }} %} + {% endif %} +
\ No newline at end of file diff --git a/_includes/git-wiki/sections/head/head.html b/_includes/git-wiki/sections/head/head.html new file mode 100644 index 0000000..dab9a86 --- /dev/null +++ b/_includes/git-wiki/sections/head/head.html @@ -0,0 +1,13 @@ + + {% if site.inc_before_head %} + {% include {{ site.inc_before_head }} %} + {% endif %} + + {% include git-wiki/sections/head/meta.html %} + {% include git-wiki/sections/head/scripts.html %} + {% include git-wiki/sections/head/styles.html %} + + {% if site.inc_after_head %} + {% include {{ site.inc_after_head }} %} + {% endif %} + \ No newline at end of file diff --git a/_includes/git-wiki/sections/head/meta.html b/_includes/git-wiki/sections/head/meta.html new file mode 100644 index 0000000..bfae3da --- /dev/null +++ b/_includes/git-wiki/sections/head/meta.html @@ -0,0 +1,13 @@ +{% if site.inc_before_meta %} +{% include {{ site.inc_before_meta }} %} +{% endif %} + + + + + +{% seo %} + +{% if site.inc_after_meta %} +{% include {{ site.inc_after_meta }} %} +{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/sections/head/scripts.html b/_includes/git-wiki/sections/head/scripts.html new file mode 100644 index 0000000..65ee4ff --- /dev/null +++ b/_includes/git-wiki/sections/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/git-wiki/sections/head/styles.html b/_includes/git-wiki/sections/head/styles.html new file mode 100644 index 0000000..3bb7ecc --- /dev/null +++ b/_includes/git-wiki/sections/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/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html new file mode 100644 index 0000000..34f21dd --- /dev/null +++ b/_includes/git-wiki/sections/header/header.html @@ -0,0 +1,29 @@ +
+ {% if site.inc_before_header %} + {% include {{ site.inc_before_header }} %} + {% endif %} + + {% if site.logo_url %} + {% include git-wiki/components/logo/logo.html %} + {% endif %} + + {% if site.github.is_user_page %} +

View My GitHub Profile

+ {% endif %} + + {% if site.show_downloads %} + {% include git-wiki/components/action_btn/downloads.html %} + {% endif %} + + {% if site.show_wiki_pages %} + {% include git-wiki/components/lists/page-list.html %} + {% endif %} + + {% if site.blog_feature and site.show_wiki_posts %} + {% include git-wiki/components/lists/post-list.html %} + {% endif %} + + {% if site.inc_after_header %} + {% include {{ site.inc_after_header }} %} + {% endif %} +
diff --git a/_includes/git-wiki/sections/tail/tail.html b/_includes/git-wiki/sections/tail/tail.html new file mode 100644 index 0000000..e86191c --- /dev/null +++ b/_includes/git-wiki/sections/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/git-wiki/sections/tools/tools.html b/_includes/git-wiki/sections/tools/tools.html new file mode 100644 index 0000000..0b2770e --- /dev/null +++ b/_includes/git-wiki/sections/tools/tools.html @@ -0,0 +1,13 @@ +
+ {% if site.inc_before_tools %} + {% include {{ site.inc_before_tools }} %} + {% endif %} + + {% include git-wiki/components/action_btn/page_actions.html %} + + {% include git-wiki/components/search/index.html %} + + {% if site.inc_after_tools %} + {% include {{ site.inc_after_tools }} %} + {% endif %} +
\ No newline at end of file diff --git a/_includes/gw_content/body.html b/_includes/gw_content/body.html deleted file mode 100644 index 5edfa9b..0000000 --- a/_includes/gw_content/body.html +++ /dev/null @@ -1,5 +0,0 @@ - - {% 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 deleted file mode 100644 index 347f69d..0000000 --- a/_includes/gw_content/content.html +++ /dev/null @@ -1,25 +0,0 @@ -
- {% 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 deleted file mode 100644 index 9fb0223..0000000 --- a/_includes/gw_content/wrapper.html +++ /dev/null @@ -1,5 +0,0 @@ -
- {% 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 deleted file mode 100644 index 43aea6d..0000000 --- a/_includes/gw_defines/defines.html +++ /dev/null @@ -1,5 +0,0 @@ -{% assign version = "2.0.3" %} -{% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %} -{% capture url %} -{% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%} -{% endcapture %} diff --git a/_includes/gw_footer/footer.html b/_includes/gw_footer/footer.html deleted file mode 100644 index 7aed17c..0000000 --- a/_includes/gw_footer/footer.html +++ /dev/null @@ -1,19 +0,0 @@ - \ No newline at end of file diff --git a/_includes/gw_head/head.html b/_includes/gw_head/head.html deleted file mode 100644 index cf82bd9..0000000 --- a/_includes/gw_head/head.html +++ /dev/null @@ -1,13 +0,0 @@ - - {% 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 deleted file mode 100644 index bfae3da..0000000 --- a/_includes/gw_head/meta.html +++ /dev/null @@ -1,13 +0,0 @@ -{% if site.inc_before_meta %} -{% include {{ site.inc_before_meta }} %} -{% endif %} - - - - - -{% seo %} - -{% 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 deleted file mode 100644 index 65ee4ff..0000000 --- a/_includes/gw_head/scripts.html +++ /dev/null @@ -1,15 +0,0 @@ -{% 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 deleted file mode 100644 index 3bb7ecc..0000000 --- a/_includes/gw_head/styles.html +++ /dev/null @@ -1,9 +0,0 @@ -{% 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 deleted file mode 100644 index 8f654f9..0000000 --- a/_includes/gw_header/downloads.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/_includes/gw_header/header.html b/_includes/gw_header/header.html deleted file mode 100644 index b89abf9..0000000 --- a/_includes/gw_header/header.html +++ /dev/null @@ -1,21 +0,0 @@ -
- {% if site.inc_before_header %} - {% include {{ site.inc_before_header }} %} - {% endif %} - - {% if site.logo_url %} - {% 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 %} -
diff --git a/_includes/gw_header/logo.html b/_includes/gw_header/logo.html deleted file mode 100644 index a4a36c3..0000000 --- a/_includes/gw_header/logo.html +++ /dev/null @@ -1,4 +0,0 @@ - -

{{ 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 deleted file mode 100644 index e86191c..0000000 --- a/_includes/gw_tail/tail.html +++ /dev/null @@ -1,34 +0,0 @@ -{% 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 deleted file mode 100644 index 40cbb92..0000000 --- a/_includes/gw_tools/page_actions.html +++ /dev/null @@ -1,16 +0,0 @@ -{{page.relative_path}} -{% if site.use_github_wiki %} -Add new -Edit -History -Source -{% else %} -Add new -Edit -{% if site.use_prose_io %} -Add with Prose.io -Edit with Prose.io -{% endif %} -History -Source -{% endif %} \ No newline at end of file diff --git a/_includes/gw_tools/search_github.html b/_includes/gw_tools/search_github.html deleted file mode 100644 index efcc5e8..0000000 --- a/_includes/gw_tools/search_github.html +++ /dev/null @@ -1,10 +0,0 @@ -
- - {% if site.use_github_wiki %} - - {% else %} - - - {% endif %} - -
\ No newline at end of file diff --git a/_includes/gw_tools/search_google.html b/_includes/gw_tools/search_google.html deleted file mode 100644 index 0c3e675..0000000 --- a/_includes/gw_tools/search_google.html +++ /dev/null @@ -1,12 +0,0 @@ - - \ No newline at end of file diff --git a/_includes/gw_tools/search_js.html b/_includes/gw_tools/search_js.html deleted file mode 100644 index 9e75464..0000000 --- a/_includes/gw_tools/search_js.html +++ /dev/null @@ -1,15 +0,0 @@ -
- -
- - - \ No newline at end of file diff --git a/_includes/gw_tools/search_module.html b/_includes/gw_tools/search_module.html deleted file mode 100644 index 7664e19..0000000 --- a/_includes/gw_tools/search_module.html +++ /dev/null @@ -1,3 +0,0 @@ -{% assign se = site.search_engine | default: "github" %} -{% assign file = "gw_tools/search_" | append: se | append: ".html" %} -{% include {{file}} %} \ No newline at end of file diff --git a/_includes/gw_tools/tools.html b/_includes/gw_tools/tools.html deleted file mode 100644 index c0b50f7..0000000 --- a/_includes/gw_tools/tools.html +++ /dev/null @@ -1,13 +0,0 @@ -
- {% 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 diff --git a/_layouts/git-wiki-bs-lux.html b/_layouts/git-wiki-bs-lux.html index 6d40fb7..a644058 100644 --- a/_layouts/git-wiki-bs-lux.html +++ b/_layouts/git-wiki-bs-lux.html @@ -1,7 +1,10 @@ - -{% include gw_defines/defines.html %} +{% comment %} +# +# This layout uses bootstrap with lux theme +# +{% endcomment %} + +{% include git-wiki/defines/defines.html %} @@ -11,9 +14,9 @@ {% include {{ site.inc_before_head }} %} {% endif %} - {% include gw_head/meta.html %} - {% include gw_head/scripts.html %} - {% include gw_head/styles.html %} + {% include git-wiki/sections/head/meta.html %} + {% include git-wiki/sections/head/scripts.html %} + {% include git-wiki/sections/head/styles.html %} @@ -26,10 +29,10 @@
- {% include gw_header/header.html %} + {% include git-wiki/sections/header/header.html %}
- {% include gw_tools/tools.html %} + {% include git-wiki/sections/tools/tools.html %} {% if site.inc_before_toc %} {% include {{ site.inc_before_toc }} %} @@ -56,12 +59,12 @@
- {% include gw_footer/footer.html %} + {% include git-wiki/sections/footer/footer.html %}
- {% include gw_tail/tail.html %} + {% include git-wiki/sections/tail/tail.html %} diff --git a/_layouts/git-wiki-bs-united.html b/_layouts/git-wiki-bs-united.html index 404cee9..8a730d2 100644 --- a/_layouts/git-wiki-bs-united.html +++ b/_layouts/git-wiki-bs-united.html @@ -1,7 +1,10 @@ - -{% include gw_defines/defines.html %} +{% comment %} +# +# This layout uses bootstrap with united theme +# +{% endcomment %} + +{% include git-wiki/defines/defines.html %} @@ -11,9 +14,9 @@ {% include {{ site.inc_before_head }} %} {% endif %} - {% include gw_head/meta.html %} - {% include gw_head/scripts.html %} - {% include gw_head/styles.html %} + {% include git-wiki/sections/head/meta.html %} + {% include git-wiki/sections/head/scripts.html %} + {% include git-wiki/sections/head/styles.html %} @@ -26,7 +29,7 @@
- {% include gw_tools/tools.html %} + {% include git-wiki/sections/tools/tools.html %} {% if site.inc_before_toc %} {% include {{ site.inc_before_toc }} %} @@ -51,17 +54,17 @@ {% endif %}
- {% include gw_header/header.html %} + {% include git-wiki/sections/header/header.html %}
- {% include gw_footer/footer.html %} + {% include git-wiki/sections/footer/footer.html %}
- {% include gw_tail/tail.html %} + {% include git-wiki/sections/tail/tail.html %} diff --git a/_layouts/git-wiki-default.html b/_layouts/git-wiki-default.html index 8bb038b..bd81329 100644 --- a/_layouts/git-wiki-default.html +++ b/_layouts/git-wiki-default.html @@ -1,9 +1,9 @@ -{% include gw_defines/defines.html %} +{% include git-wiki/defines/defines.html %} -{% include gw_head/head.html %} +{% include git-wiki/sections/head/head.html %} -{% include gw_content/body.html %} +{% include git-wiki/sections/content/body.html %} \ No newline at end of file diff --git a/_posts/.gitkeep b/_posts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/_posts/.gitkeep @@ -0,0 +1 @@ + diff --git a/assets/css/git-wiki-style.scss b/assets/css/git-wiki-style.scss index 34e537a..0d32653 100644 --- a/assets/css/git-wiki-style.scss +++ b/assets/css/git-wiki-style.scss @@ -1,4 +1,5 @@ --- +layout: "null" --- @import "git-wiki-style.scss"; diff --git a/sitemap_full.xml b/sitemap_full.xml index 1b6bd4f..6e21d19 100644 --- a/sitemap_full.xml +++ b/sitemap_full.xml @@ -1,5 +1,5 @@ --- -layout: null +layout: none sitemap: false --- -- cgit