diff options
Diffstat (limited to '_includes/gw_tools')
| -rw-r--r-- | _includes/gw_tools/page_actions.html | 16 | ||||
| -rw-r--r-- | _includes/gw_tools/search_github.html | 10 | ||||
| -rw-r--r-- | _includes/gw_tools/search_google.html | 12 | ||||
| -rw-r--r-- | _includes/gw_tools/search_js.html | 15 | ||||
| -rw-r--r-- | _includes/gw_tools/search_module.html | 3 | ||||
| -rw-r--r-- | _includes/gw_tools/tools.html | 13 |
6 files changed, 0 insertions, 69 deletions
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 %} -<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}}?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}}{{page.folder}}{{url | remove: '.html' | append: '.md'}}">Edit</a></span> -{% if site.use_prose_io %} -<span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/new/{{site.git_branch}}/{{ site.wiki_folder | default: 'wiki' }}">Add with Prose.io</a></span> -<span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/edit/{{site.git_branch}}{{page.folder}}{{url | remove: '.html' | append: '.md'}}">Edit with Prose.io</a></span> -{% endif %} -<span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/commits/{{site.git_branch}}{{page.folder}}{{url | remove: '.html' | append: '.md'}}">History</a></span> -<span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/blob/{{site.git_branch}}{{page.folder}}{{url | remove: '.html' | append: '.md'}}">Source</a></span> -{% 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 @@ -<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>
\ 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 @@ -<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>
\ 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 @@ -<div class="container"> - <div class="well" id="searchbox"> - <input id="search-field" placeholder="Search the Site"/> - <ul id="results"></ul> - </div> -</div> - -<script src="{{ '/assets/js/jquery.camelhunter.min.js' | relative_url }}"></script> -<script type="text/javascript"> - $("#search-field").camelHunter({ - onKeyUp : true, - rss: "{{ '/sitemap_full.xml' | relative_url }}", - results : "#results" - }); -</script>
\ 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 @@ -<div id="tools-buttons" style="width: 100%; text-align: right"> - {% 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 %} -</div>
\ No newline at end of file |
