Skip to content

Commit 13da907

Browse files
Create default.html
1 parent 4bd462c commit 13da907

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

docs/_layouts/default.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
4+
<head>
5+
<meta charset='utf-8'>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,maximum-scale=2">
8+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
9+
10+
{% seo %}
11+
</head>
12+
13+
<body>
14+
15+
<!-- HEADER -->
16+
<div id="header_wrap" class="outer">
17+
<header class="inner">
18+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
19+
20+
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
21+
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
22+
23+
{% if site.show_downloads %}
24+
<section id="downloads">
25+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
26+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
27+
</section>
28+
{% endif %}
29+
</header>
30+
</div>
31+
32+
<!-- MAIN CONTENT -->
33+
<div id="main_content_wrap" class="outer">
34+
<section id="main_content" class="inner">
35+
{{ content }}
36+
</section>
37+
</div>
38+
39+
<!-- FOOTER -->
40+
<div id="footer_wrap" class="outer">
41+
<footer class="inner">
42+
{% if site.github.is_project_page %}
43+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
44+
{% endif %}
45+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
46+
</footer>
47+
</div>
48+
49+
{% if site.google_analytics %}
50+
<script>
51+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
52+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
53+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
54+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
55+
ga('create', '{{ site.google_analytics }}', 'auto');
56+
ga('send', 'pageview');
57+
</script>
58+
{% endif %}
59+
</body>
60+
</html>

0 commit comments

Comments
 (0)