Adds footer links to privacy page and terms & conditions page. Adds header build status badges.
This commit is contained in:
69
docs/_layouts/default.html
Normal file
69
docs/_layouts/default.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<!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" href="{{ '/assets/css/customstyles.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]-->
|
||||
|
||||
{% seo %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div class="inner">
|
||||
|
||||
<header>
|
||||
<h1>{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
|
||||
<h2>{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
|
||||
<ul class="linklist">
|
||||
<li>master: <img src="https://build.appcenter.ms/v0.1/apps/bbde5430-0b21-4b78-aa2f-32ce210fc578/branches/master/badge"></li>
|
||||
<li>develop: <img src="https://build.appcenter.ms/v0.1/apps/bbde5430-0b21-4b78-aa2f-32ce210fc578/branches/develop/badge"></li>
|
||||
</ul>
|
||||
</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>
|
||||
<section id="main_content">
|
||||
{{ content }}
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<nav><ul class="linklist"><li><a href="{{ site.baseurl }}/privacy">PRIVACY</a></li><li><a href="{{ site.baseurl }}/terms">TERMS</a></li></ul></nav>
|
||||
{% 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>
|
||||
Reference in New Issue
Block a user