diff options
| -rw-r--r-- | docs/_layouts/documentation.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/docs/_layouts/documentation.html b/docs/_layouts/documentation.html new file mode 100644 index 000000000..af5aae332 --- /dev/null +++ b/docs/_layouts/documentation.html @@ -0,0 +1,86 @@ +<!DOCTYPE html> +<html lang="{{ site.lang | default: "en-US" }}"> + <head> + <meta charset='utf-8'> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> + <link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print"> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <style> + #dividerContainer { + height: 98%; + } + #leftColumn { + float: left; + width: 20%; + height: 100%; + overflow: scroll; + scroll: auto; + } + #rightColumn { + float: left; + width: 50%; + height: 100%; + overflow: scroll; + scroll: auto; + } + </style> +{% seo %} + </head> + + <body> + <div id="container"> + <div class="inner"> + + <header> + <h1>User Guide to Slang</h1> + </header> + <section id="downloads" class="clearfix"> + {% if site.show_downloads %} + <a href="{{ site.github.zip_url }}" id="download-zip" class="button"><span>Download .zip</span></a> + <a href="{{ site.github.tar_url }}" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a> + {% endif %} + {% if site.github.public %} + {% if site.github.is_project_page %} + <a href="{{ site.github.repository_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a> + {% else %} + <a href="{{ site.github.owner_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a> + {% endif %} + {% endif %} + </section> + <hr> + <div id="dividerContainer"> + <div id="leftColumn"> + Table of Contents + </div> + <div id="rightColumn"> + <section id="main_content"> + {{ content }} + </section> + </div> + </div> + <footer> + {% if site.github.is_project_page %} + {{ site.title | default: site.github.repository_name }} is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a><br> + {% endif %} + This page was generated by <a href="https://pages.github.com">GitHub Pages</a>. + </footer> + + </div> + </div> + + {% 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','//www.google-analytics.com/analytics.js','ga'); + ga('create', '{{ site.google_analytics }}', 'auto'); + ga('send', 'pageview'); + </script> + {% endif %} + </body> +</html> |
