diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-05-13 21:14:56 +0200 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-05-13 21:14:56 +0200 |
| commit | 2df1263a2a994315a0c752feb27640dcc45234c2 (patch) | |
| tree | 563aee674f2ce310f51fe23d4588d3be1614c654 /_includes | |
| parent | 7048c66f61258b0110158bc8868a8e198f1a2a7c (diff) | |
| download | wiki-2df1263a2a994315a0c752feb27640dcc45234c2.tar.gz wiki-2df1263a2a994315a0c752feb27640dcc45234c2.tar.bz2 wiki-2df1263a2a994315a0c752feb27640dcc45234c2.zip | |
using remote theme
Diffstat (limited to '_includes')
25 files changed, 0 insertions, 497 deletions
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 @@ -<ul class="git-wiki-downloads"> - <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li> - <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li> - <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li> -</ul>
\ 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 @@ -<div class="git-wiki-tools"> - {% if site.use_github_wiki %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/wiki/_new">Add new</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/wiki/{{url | remove: '.html' | append: ''}}/_edit">Edit</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/wiki/{{url | remove: '.html' | append: ''}}/_history">History</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/wiki/{{url | remove: '.html' | append: '.md'}}/">Source</a></span> - {% else %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/new/{{site.git_branch | escape}}?filename={{ site.wiki_folder | default: 'wiki' }}/">Add - new</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/edit/{{site.git_branch | escape}}/{{page.path | escape}}">Edit</a></span> - {% if site.hostname == "gitlab.com" %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/blob/{{site.git_branch | escape}}/{{page.path | escape}}">Delete</a></span> - {% else %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/delete/{{site.git_branch | escape}}/{{page.path | escape}}">Delete</a></span> - {% endif %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/commits/{{site.git_branch | escape}}/{{page.path | escape}}">History</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/blob/{{site.git_branch | escape}}/{{page.path | escape}}">Source</a></span> - {% if site.blog_feature %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/new/{{site.git_branch | escape}}?filename=_posts/">Add - new post</a></span> - {% endif %} - {% if site.use_prose_io and site.hostname != "gitlab.com" %} - <br> - Prose.io: - <span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/new/{{site.git_branch | escape}}/{{ site.wiki_folder | default: 'wiki' }}">Add - new</a></span> - <span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/edit/{{site.git_branch | escape}}/{{page.path | escape}}">Edit</a></span> - {% if site.blog_feature %} - <span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/new/{{site.git_branch | escape}}/_posts/">Add - new post</a></span> - {% endif %} - {% endif %} - {% endif %} -</div> 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 %} -<div class="git-wiki-copyrights"> - <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> - {% endif %} - <p><small>Hosted on GitHub Pages — Powered by <a href="https://github.com/Drassil/git-wiki-theme">Git-Wiki v{{ - version }}</a> </p> - - {% if site.github.is_project_page %} - <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ github_name }}</small></a></p> -</div> -{% 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 @@ -<div class="git-wiki-page-list"> - {% if site.inc_before_page_list %} - {% include {{ site.inc_before_page_list }} %} - {% endif %} - - <span class="page-list-title">Pages {% if (site.show_wiki_pages_limit >= 1 %} (Latest {{site.show_wiki_pages_limit - }} updated) {% endif %}:</span> - <ul class="page-list"> - {% 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 %} - <li class="page-list-item"> - {% assign title = page.title | default: page.name %} - <a href="{{ page.url | relative_url }}">{{title | escape}}</a> - </li> - {% assign numPages = numPages | plus: 1 %} - {% endif %} - - {% endfor %} - </ul> - - {% if site.inc_after_page_list %} - {% include {{ site.inc_after_page_list }} %} - {% endif %} -</div>
\ 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 @@ -<div class="git-wiki-page-list"> - {% if site.inc_before_post_list %} - {% include {{ site.inc_before_post_list }} %} - {% endif %} - - <span class="post-list-title">Posts {% if (site.show_wiki_posts_limit >= 1 %} (Latest {{site.show_wiki_posts_limit - }} updated) {% endif %}:</span> - <ul class="post-list"> - {% 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 %} - <li class="post-list-item"> - <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> - </li> - {% assign numPages = numPages | plus: 1 %} - {% endif %} - - {% endfor %} - </ul> - - <span class="post-list read-all"><a href="{{ '/blog/' | relative_url}}">Read all</a></span> - - {% if site.inc_after_post_list %} - {% include {{ site.inc_after_post_list }} %} - {% endif %} -</div>
\ 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 @@ -<div class="git-wiki-main-logo"> -<a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url | relative_url }}"> - <h1>{{ site.title | default: site.github.repository_name | escape }}</h1> - </a> - <p>{{ site.description | default: site.github.project_tagline }}</p> -</div>
\ 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 @@ -<div class="git-wiki-search"> - {% 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}} %} -</div>
\ 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 @@ -<div class="git-wiki-search-github"> - <form method="GET" action="{{ site.github.repository_url }}/search"> - <input type="text" name="q[]" placeholder="Text to search"> - {% if site.use_github_wiki %} - <input type="hidden" name="type" value="Wikis"> - {% else %} - <!-- <input type="hidden" name="l" value="Markdown"> --> - <input type="hidden" name="q[]" value="path:/{{ site.wiki_folder }}"> - {% endif %} - <input type="submit" value="Search"> - </form> -</div>
\ 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 @@ -<div class="git-wiki-search-google"> - <script> - (function () { - var cx = "{{site.google_cse_token}}"; - var gcse = document.createElement('script'); - gcse.type = 'text/javascript'; - gcse.async = true; - gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(gcse, s); - })(); - </script> - <gcse:search></gcse:search> -</div>
\ 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 @@ -<div class="git-wiki-search-js"> - <input type="text" id="search-input" placeholder="Search.."> - <ul id="results-container"></ul> -</div> -<!-- script pointing to jekyll-search.js --> -<script src="{{ '/assets/js/simple-jekyll-search.min.js' | relative_url }}"></script> -<script async src="{{ 'assets/js/searchdata.js' | relative_url }}"></script> 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 @@ -<div class="git-wiki-search-js"> - <div class="container"> - <div class="well" id="searchbox"> - <input id="search-field" placeholder="Search the Site" /> - <ul id="results"></ul> - </div> - </div> -</div> -<script type="text/javascript"> - $.ajax({ - url: "{{ '/assets/js/jquery.camelhunter.min.js' | relative_url }}", - dataType: "script", - success: function () { - setTimeout($("#search-field").camelHunter({ - onKeyUp: true, - rss: "{{ '/sitemap_full.xml' | relative_url }}", - results: "#results" - }), 0); - } - }); -</script>
\ 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: '<h' %} - {% assign firstHeader = true %} - - {% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %} - - {% assign hCount = 0 %} - - {% for node in nodes %} - {% if node == "" %} - {% continue %} - {% endif %} - - {% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %} - - {% if headerLevel < minHeader or headerLevel > maxHeader %} - {% continue %} - {% endif %} - - {% if firstHeader %} - {% assign firstHeader = false %} - {% assign minHeader = headerLevel %} - {% endif %} - - {% assign indentAmount = headerLevel | minus: minHeader %} - {% assign _workspace = node | split: '</h' %} - - {% assign _idWorkspace = _workspace[0] | split: 'id="' %} - {% assign _idWorkspace = _idWorkspace[1] | split: '"' %} - {% assign html_id = _idWorkspace[0] %} - - {% assign _classWorkspace = _workspace[0] | split: 'class="' %} - {% assign _classWorkspace = _classWorkspace[1] | split: '"' %} - {% assign html_class = _classWorkspace[0] %} - - {% if html_class contains "no_toc" %} - {% continue %} - {% endif %} - - {% capture _hAttrToStrip %}{{ _workspace[0] | 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 @@ -<body> - {% include git-wiki/sections/content/wrapper.html %} - - {% include git-wiki/sections/tail/tail.html %} -</body>
\ 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 @@ -<div class="git-wiki-page"> - <section> - - {% 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 %} - - <div id="git-wiki-content"> - {{ content }} - </div> - - {% if site.inc_after_content %} - {% include {{ site.inc_after_content }} %} - {% endif %} - </section> -</div>
\ 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 @@ -<div class="wrapper"> - {% include git-wiki/sections/header/header.html %} - {% include git-wiki/sections/content/content.html %} - {% include git-wiki/sections/footer/footer.html %} -</div>
\ 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 @@ -<footer> - {% 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 %} -</footer>
\ 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 @@ -<head> - {% 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 %} -</head>
\ 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 %} - -<meta charset="utf-8"> -<meta http-equiv="X-UA-Compatible" content="chrome=1"> -<meta name="viewport" content="width=device-width"> - -{% 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 %} - -<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" - crossorigin="anonymous"></script> -<script src="{{ '/assets/js/checkLinks.js' | relative_url }}"></script> -<!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![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 %} - -<link rel="stylesheet" href="{{ '/assets/css/git-wiki-style.css?v=' | append: site.github.build_revision | relative_url }}"> - -{% 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 @@ -<div class=" w3-xlarge w3-hide-large" id="git-wiki-mobile-header"> - <button class="w3-button w3-teal" onclick="sidebar_toggle()">☰</button> - <a href="{{ '/' | relative_url }}"> - {% if site.logo_url %} - <img src="{{ site.logo_url | relative_url }}" width="20px"> - {% endif %} - {{ site.title | escape }} - </a> -</div> -<header class="w3-sidebar w3-bar-block w3-collapse" id="git-wiki-sidebar"> - <div> - <button class="w3-bar-item w3-button w3-large w3-hide-large" onclick="sidebar_toggle()">Close ×</button> - {% if site.inc_before_header %} - {% include {{ site.inc_before_header }} %} - {% endif %} - - <div class="w3-hide-medium w3-hide-small"> - {% if site.logo_url %} - {% include git-wiki/components/logo/logo.html %} - {% else %} - <h1>{{ site.title | escape }}</h1> - {% endif %} - </div> - - - {% if site.github.is_user_page %} - <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p> - {% 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 %} - </div> -</header> -<script> - function sidebar_toggle() { - var sidebar = document.getElementById("git-wiki-sidebar"); - if (sidebar.style.display == "block") { - sidebar.style.display = "none"; - sidebar.style.position = "inherit"; - } else { - $(sidebar).attr('style', 'display: block;'); - } - } -</script> 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 %} - -<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script> - -{% if site.google_analytics %} -<script> - (function (i, s, o, g, r, a, m) { - i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { - (i[r].q = i[r].q || []).push(arguments) - }, i[r].l = 1 * new Date(); a = s.createElement(o), - m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) - })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); - - ga('create', '{{ site.google_analytics }}', 'auto'); - ga('send', 'pageview'); -</script> -{% endif %} - -{% assign items = site.html_pages %} -{% for page in items %} -{% assign url = page.url | relative_url %} -{% assign urls = urls | append: url | append: "," %} -{% endfor %} - -<script type="text/javascript"> - $(document).ready(function () { - $(document.body).checkLinks("{{ urls }}".split(",")); - }); -</script> - -{% 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 @@ -<div id="tools-buttons" style="width: 100%; text-align: right"> - {% 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 %} -</div>
\ No newline at end of file |
