diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html new file mode 100644 index 0000000000000000000000000000000000000000..45154ca5dd92363482c06493a6ab155caead44c1 --- /dev/null +++ b/docs/_layouts/default.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> +<html lang="{{ site.lang | default: "en-US" }}"> + + <head> + <meta charset='utf-8'> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width,maximum-scale=2"> + <link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> + +{% seo %} + </head> + + <body> + + <!-- HEADER --> + <div id="header_wrap" class="outer"> + <header class="inner"> + {% if site.github.is_project_page %} + <a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a> + {% endif %} + + <h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1> + <h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2> + + {% if site.show_downloads %} + <section id="downloads"> + <a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a> + <a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a> + </section> + {% endif %} + + {% include nav.html %} + + </header> + </div> + + <!-- MAIN CONTENT --> + <div id="main_content_wrap" class="outer"> + <section id="main_content" class="inner"> + {{ content }} + </section> + </div> + + <!-- FOOTER --> + <div id="footer_wrap" class="outer"> + <footer class="inner"> + {% if site.github.is_project_page %} + <p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> + {% endif %} + <p>Published with <a href="https://pages.github.com">GitHub Pages</a></p> + </footer> + </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>