From 2df1263a2a994315a0c752feb27640dcc45234c2 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 13 May 2020 21:14:56 +0200 Subject: using remote theme --- .../git-wiki/components/action_btn/downloads.html | 5 - .../components/action_btn/page_actions.html | 34 ------- .../git-wiki/components/copyrights/copyrights.html | 11 --- _includes/git-wiki/components/lists/page-list.html | 29 ------ _includes/git-wiki/components/lists/post-list.html | 31 ------ _includes/git-wiki/components/logo/logo.html | 6 -- _includes/git-wiki/components/search/index.html | 9 -- .../git-wiki/components/search/se_github.html | 12 --- .../git-wiki/components/search/se_google.html | 14 --- _includes/git-wiki/components/search/se_js.html | 7 -- .../git-wiki/components/search/se_js_rss.html | 21 ---- _includes/git-wiki/components/toc/toc-lib.html | 109 --------------------- _includes/git-wiki/components/toc/toc.html | 9 -- _includes/git-wiki/defines/defines.html | 5 - _includes/git-wiki/sections/content/body.html | 5 - _includes/git-wiki/sections/content/content.html | 20 ---- _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 | 14 --- _includes/git-wiki/sections/head/styles.html | 9 -- _includes/git-wiki/sections/header/header.html | 57 ----------- _includes/git-wiki/sections/tail/tail.html | 35 ------- _includes/git-wiki/sections/tools/tools.html | 13 --- 25 files changed, 497 deletions(-) delete mode 100644 _includes/git-wiki/components/action_btn/downloads.html delete mode 100644 _includes/git-wiki/components/action_btn/page_actions.html delete mode 100644 _includes/git-wiki/components/copyrights/copyrights.html delete mode 100644 _includes/git-wiki/components/lists/page-list.html delete mode 100644 _includes/git-wiki/components/lists/post-list.html delete mode 100644 _includes/git-wiki/components/logo/logo.html delete mode 100644 _includes/git-wiki/components/search/index.html delete mode 100644 _includes/git-wiki/components/search/se_github.html delete mode 100644 _includes/git-wiki/components/search/se_google.html delete mode 100644 _includes/git-wiki/components/search/se_js.html delete mode 100644 _includes/git-wiki/components/search/se_js_rss.html delete mode 100644 _includes/git-wiki/components/toc/toc-lib.html delete mode 100644 _includes/git-wiki/components/toc/toc.html delete mode 100644 _includes/git-wiki/defines/defines.html delete mode 100644 _includes/git-wiki/sections/content/body.html delete mode 100644 _includes/git-wiki/sections/content/content.html delete mode 100644 _includes/git-wiki/sections/content/wrapper.html delete mode 100644 _includes/git-wiki/sections/footer/footer.html delete mode 100644 _includes/git-wiki/sections/head/head.html delete mode 100644 _includes/git-wiki/sections/head/meta.html delete mode 100644 _includes/git-wiki/sections/head/scripts.html delete mode 100644 _includes/git-wiki/sections/head/styles.html delete mode 100644 _includes/git-wiki/sections/header/header.html delete mode 100644 _includes/git-wiki/sections/tail/tail.html delete mode 100644 _includes/git-wiki/sections/tools/tools.html (limited to '_includes') diff --git a/_includes/git-wiki/components/action_btn/downloads.html b/_includes/git-wiki/components/action_btn/downloads.html deleted file mode 100644 index 8bd356b..0000000 --- a/_includes/git-wiki/components/action_btn/downloads.html +++ /dev/null @@ -1,5 +0,0 @@ - \ 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 deleted file mode 100644 index 9902234..0000000 --- a/_includes/git-wiki/components/action_btn/page_actions.html +++ /dev/null @@ -1,34 +0,0 @@ -
- {% if site.use_github_wiki %} - Add new - Edit - History - Source - {% else %} - Add - new - Edit - {% if site.hostname == "gitlab.com" %} - Delete - {% else %} - Delete - {% endif %} - History - Source - {% if site.blog_feature %} - Add - new post - {% endif %} - {% if site.use_prose_io and site.hostname != "gitlab.com" %} -
- Prose.io: - Add - new - Edit - {% if site.blog_feature %} - Add - new post - {% endif %} - {% endif %} - {% endif %} -
diff --git a/_includes/git-wiki/components/copyrights/copyrights.html b/_includes/git-wiki/components/copyrights/copyrights.html deleted file mode 100644 index dd15f9f..0000000 --- a/_includes/git-wiki/components/copyrights/copyrights.html +++ /dev/null @@ -1,11 +0,0 @@ -{% 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 %} diff --git a/_includes/git-wiki/components/lists/page-list.html b/_includes/git-wiki/components/lists/page-list.html deleted file mode 100644 index 8129bf0..0000000 --- a/_includes/git-wiki/components/lists/page-list.html +++ /dev/null @@ -1,29 +0,0 @@ -
- {% 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 %}: -
    - {% assign numPages=0 %} - {% assign items = site.html_pages | sort: 'date' %} - {% for page in items %} - {% if numPages >= site.show_wiki_pages_limit %} - {% break %} - {% endif %} - {% if page.is_wiki_page != false and page.sitemap != false %} -
  • - {% assign title = page.title | default: page.name %} - {{title | escape}} -
  • - {% assign numPages = numPages | plus: 1 %} - {% endif %} - - {% endfor %} -
- - {% 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 deleted file mode 100644 index 579dab5..0000000 --- a/_includes/git-wiki/components/lists/post-list.html +++ /dev/null @@ -1,31 +0,0 @@ -
- {% if site.inc_before_post_list %} - {% include {{ site.inc_before_post_list }} %} - {% endif %} - - Posts {% if (site.show_wiki_posts_limit >= 1 %} (Latest {{site.show_wiki_posts_limit - }} updated) {% endif %}: -
    - {% assign numPages=0 %} - {% assign items = site.posts | sort: 'date' %} - {% for post in items %} - {% if numPages >= site.show_wiki_posts_limit %} - {% break %} - {% endif %} - - {% if post.layout != "null" and post.sitemap != false and post.title %} -
  • - {{ post.title | escape }} -
  • - {% assign numPages = numPages | plus: 1 %} - {% endif %} - - {% endfor %} -
- - Read all - - {% 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 deleted file mode 100644 index e7ad94a..0000000 --- a/_includes/git-wiki/components/logo/logo.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/_includes/git-wiki/components/search/index.html b/_includes/git-wiki/components/search/index.html deleted file mode 100644 index f6b5ba3..0000000 --- a/_includes/git-wiki/components/search/index.html +++ /dev/null @@ -1,9 +0,0 @@ - \ 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 deleted file mode 100644 index 8605410..0000000 --- a/_includes/git-wiki/components/search/se_github.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
- - {% 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 deleted file mode 100644 index f0cd5c1..0000000 --- a/_includes/git-wiki/components/search/se_google.html +++ /dev/null @@ -1,14 +0,0 @@ -
- - -
\ 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 deleted file mode 100644 index 87396be..0000000 --- a/_includes/git-wiki/components/search/se_js.html +++ /dev/null @@ -1,7 +0,0 @@ -
- -
    -
    - - - diff --git a/_includes/git-wiki/components/search/se_js_rss.html b/_includes/git-wiki/components/search/se_js_rss.html deleted file mode 100644 index d61d976..0000000 --- a/_includes/git-wiki/components/search/se_js_rss.html +++ /dev/null @@ -1,21 +0,0 @@ -
    -
    - -
    -
    - \ No newline at end of file diff --git a/_includes/git-wiki/components/toc/toc-lib.html b/_includes/git-wiki/components/toc/toc-lib.html deleted file mode 100644 index 8851400..0000000 --- a/_includes/git-wiki/components/toc/toc-lib.html +++ /dev/null @@ -1,109 +0,0 @@ -{% capture tocWorkspace %} - {% comment %} - Version 1.0.9 - https://github.com/allejo/jekyll-toc - - "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe - - Usage: - {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %} - - Parameters: - * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll - - Optional Parameters: - * title (string) : Contents: - title for the TOC - * minHeaders (int) : 1 - minimum number of headers required to show the TOC - * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC - * class (string) : '' - a CSS class assigned to the TOC - * id (string) : '' - an ID to assigned to the TOC - * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored - * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored - * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list - * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level - * baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content - * anchor_class (string) : '' - add custom class(es) for each anchor element - - Output: - An ordered or unordered list representing the table of contents of a markdown block. This snippet will only - generate the table of contents and will NOT output the markdown given to it - {% endcomment %} - - {% capture my_toc %}{% endcapture %} - {% assign title = include.title | default: "Contents:" %} - {% assign minHeaders = include.minHeaders | default: 1 %} - {% assign orderedList = include.ordered | default: false %} - {% assign minHeader = include.h_min | default: 1 %} - {% assign maxHeader = include.h_max | default: 6 %} - {% assign nodes = include.html | split: ' maxHeader %} - {% continue %} - {% endif %} - - {% if firstHeader %} - {% assign firstHeader = false %} - {% assign minHeader = headerLevel %} - {% endif %} - - {% assign indentAmount = headerLevel | minus: minHeader %} - {% assign _workspace = node | split: '' | first }}>{% endcapture %} - {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} - - {% assign space = '' %} - {% for i in (1..indentAmount) %} - {% assign space = space | prepend: ' ' %} - {% endfor %} - - {% if include.item_class and include.item_class != blank %} - {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %} - {% endif %} - - {% assign hCount = hCount | plus: 1 %} - - {% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %} - {% capture my_toc %}{{ my_toc }} -{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %} - {% endfor %} - - {% if include.class and include.item_class != blank %} - {% capture my_toc %}{:.{{ include.class }}} -{{ my_toc | lstrip }}{% endcapture %} - {% endif %} - - {% if include.id %} - {% capture my_toc %}{: #{{ include.id }}} -{{ my_toc | lstrip }}{% endcapture %} - {% endif %} -{% endcapture %}{% assign tocWorkspace = '' %} - -{% if hCount >= minHeaders %} - {{ title }} - {{ my_toc | markdownify | strip }} -{% endif %} \ No newline at end of file diff --git a/_includes/git-wiki/components/toc/toc.html b/_includes/git-wiki/components/toc/toc.html deleted file mode 100644 index 7329f40..0000000 --- a/_includes/git-wiki/components/toc/toc.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if site.inc_before_toc %} -{% include {{ site.inc_before_toc }} %} -{% endif %} - -{% include git-wiki/components/toc/toc-lib.html title="Contents:" minHeaders=1 html=content sanitize=true class="inline_toc" id="git-wiki-toc" h_min=1 h_max=3 ordered=1 %} - -{% if site.inc_after_toc %} -{% include {{ site.inc_after_toc }} %} -{% endif %} diff --git a/_includes/git-wiki/defines/defines.html b/_includes/git-wiki/defines/defines.html deleted file mode 100644 index 6400403..0000000 --- a/_includes/git-wiki/defines/defines.html +++ /dev/null @@ -1,5 +0,0 @@ -{% assign version = "2.5.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 deleted file mode 100644 index 419eeaf..0000000 --- a/_includes/git-wiki/sections/content/body.html +++ /dev/null @@ -1,5 +0,0 @@ - - {% 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 deleted file mode 100644 index b356968..0000000 --- a/_includes/git-wiki/sections/content/content.html +++ /dev/null @@ -1,20 +0,0 @@ -
    -
    - - {% include git-wiki/sections/tools/tools.html %} - - {% include git-wiki/components/toc/toc.html %} - - {% 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 deleted file mode 100644 index eab823f..0000000 --- a/_includes/git-wiki/sections/content/wrapper.html +++ /dev/null @@ -1,5 +0,0 @@ -
    - {% 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 deleted file mode 100644 index f49703b..0000000 --- a/_includes/git-wiki/sections/footer/footer.html +++ /dev/null @@ -1,11 +0,0 @@ -
    - {% 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 deleted file mode 100644 index dab9a86..0000000 --- a/_includes/git-wiki/sections/head/head.html +++ /dev/null @@ -1,13 +0,0 @@ - - {% 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 deleted file mode 100644 index bfae3da..0000000 --- a/_includes/git-wiki/sections/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/git-wiki/sections/head/scripts.html b/_includes/git-wiki/sections/head/scripts.html deleted file mode 100644 index 9497626..0000000 --- a/_includes/git-wiki/sections/head/scripts.html +++ /dev/null @@ -1,14 +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/git-wiki/sections/head/styles.html b/_includes/git-wiki/sections/head/styles.html deleted file mode 100644 index 3bb7ecc..0000000 --- a/_includes/git-wiki/sections/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/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html deleted file mode 100644 index ffbea44..0000000 --- a/_includes/git-wiki/sections/header/header.html +++ /dev/null @@ -1,57 +0,0 @@ - -
    -
    - - {% if site.inc_before_header %} - {% include {{ site.inc_before_header }} %} - {% endif %} - -
    - {% if site.logo_url %} - {% include git-wiki/components/logo/logo.html %} - {% else %} -

    {{ site.title | escape }}

    - {% 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 deleted file mode 100644 index f5944c9..0000000 --- a/_includes/git-wiki/sections/tail/tail.html +++ /dev/null @@ -1,35 +0,0 @@ -{% if site.inc_before_tail %} -{% include {{ site.inc_before_tail }} %} -{% endif %} - - - -{% if site.google_analytics %} - -{% endif %} - -{% assign items = site.html_pages %} -{% for page in items %} -{% assign url = page.url | relative_url %} -{% assign urls = urls | append: url | append: "," %} -{% endfor %} - - - -{% if site.inc_after_tail %} -{% include {{ site.inc_after_tail }} %} -{% endif %} diff --git a/_includes/git-wiki/sections/tools/tools.html b/_includes/git-wiki/sections/tools/tools.html deleted file mode 100644 index 0b2770e..0000000 --- a/_includes/git-wiki/sections/tools/tools.html +++ /dev/null @@ -1,13 +0,0 @@ -
    - {% 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 -- cgit