diff options
Diffstat (limited to '_layouts/default.html')
| -rw-r--r-- | _layouts/default.html | 146 |
1 files changed, 0 insertions, 146 deletions
diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 4f08612..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,146 +0,0 @@ -<!doctype html> -<html> - <head> - {% 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 %} - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title> - - <script - src="https://code.jquery.com/jquery-3.2.1.min.js" - integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" - crossorigin="anonymous"></script> - - <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> - <script src="{{ '/assets/js/wiki-features.js' | relative_url }}"></script> - - {% if site.custom_head %} - {% include head.html %} - {% endif %} - - <meta name="viewport" content="width=device-width"> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - </head> - <body> - <div class="wrapper"> - <header> - <a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url }}"> - <h1>{{ site.title | default: site.github.repository_name }}</h1> - </a> - <p>{{ site.description | default: site.github.project_tagline }}</p> - - {% 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 %} - <ul class="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> - {% endif %} - - {% if site.custom_sidebar %} - {% include sidebar.html %} - {% endif %} - - </header> - <section> - <div id="tools-buttons" style="width: 100%; text-align: right"> - {{page.relative_path}} - {% if site.use_github_wiki %} - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/{{page.folder}}{{url | remove: '.html' | append: ''}}/_edit">Edit</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/{{page.folder}}{{url | remove: '.html' | append: ''}}/_history">History</a></span> - <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/{{page.folder}}{{url | remove: '.html' | append: '.md'}}/">Source</a></span> - {% else %} - <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}}/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 %} - - {% if site.google_cse_token %} - <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> - {% else %} - <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> - {% endif %} - </div> - - <div id="toc"></div> - - <div id="content"> - {{ content }} - </div> - - {% if site.comments %} - {% include comments.html %} - {% endif %} - - </section> - <footer> - {% if site.custom_footer %} - {% include footer.html %} - {% endif %} - - {% if site.github.is_project_page %} - <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">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> - {% endif %} - </footer> - </div> - <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 %} - - <script type="text/javascript"> - $(document).ready(function() { - $('#toc').toc({ - title: '<i>Contents</i>', - showSpeed: 0, - headers: '#content h1, #content h2, #content h3, #content h4, #content h5, #content h6' }); - $(document.body).redLinks(); - }); - </script> - </body> -</html> |
