Skip to content

Commit 849a4db

Browse files
author
Tanner Blair
authored
Create default.html
1 parent 743d578 commit 849a4db

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

docs/_layouts/default.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!doctype html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
7+
{% seo %}
8+
9+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10+
<meta name="viewport" content="width=device-width">
11+
<!--[if lt IE 9]>
12+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13+
<![endif]-->
14+
</head>
15+
<body>
16+
<div class="wrapper">
17+
<header>
18+
<a href="{{ site.github.url }}"> <h1>{{ site.title | default: site.github.repository_name }}</h1> </a>
19+
<p>{{ site.description | default: site.github.project_tagline }}</p>
20+
21+
{% if site.github.is_project_page %}
22+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ github_name }}</small></a></p>
23+
{% endif %}
24+
25+
{% if site.github.is_user_page %}
26+
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
27+
{% endif %}
28+
29+
{% if site.show_downloads %}
30+
<ul>
31+
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
32+
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
33+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
34+
</ul>
35+
{% endif %}
36+
</header>
37+
<section>
38+
39+
{{ content }}
40+
41+
</section>
42+
<footer>
43+
{% if site.github.is_project_page %}
44+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
45+
{% endif %}
46+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
47+
</footer>
48+
</div>
49+
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
50+
51+
52+
{% if site.google_analytics %}
53+
<script>
54+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
55+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
56+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
57+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
58+
59+
ga('create', '{{ site.google_analytics }}', 'auto');
60+
ga('send', 'pageview');
61+
</script>
62+
{% endif %}
63+
</body>
64+
</html>

0 commit comments

Comments
 (0)