Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 8648841

Browse files
authored
Create default.html
1 parent 4b1be5f commit 8648841

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

_layouts/default.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
{% if site.github.is_project_page %}
19+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
20+
{% endif %}
21+
22+
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
23+
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
24+
25+
{% if site.show_downloads %}
26+
<section id="downloads">
27+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
28+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
29+
</section>
30+
{% endif %}
31+
</header>
32+
</div>
33+
34+
<!-- MAIN CONTENT -->
35+
<div id="main_content_wrap" class="outer">
36+
<section id="main_content" class="inner">
37+
{{ content }}
38+
</section>
39+
</div>
40+
41+
<!-- FOOTER -->
42+
<div id="footer_wrap" class="outer">
43+
<footer class="inner">
44+
{% if site.github.is_project_page %}
45+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
46+
{% endif %}
47+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
48+
</footer>
49+
</div>
50+
51+
{% if site.google_analytics %}
52+
<script>
53+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
54+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
55+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
56+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
57+
ga('create', '{{ site.google_analytics }}', 'auto');
58+
ga('send', 'pageview');
59+
</script>
60+
{% endif %}
61+
</body>
62+
</html>

0 commit comments

Comments
 (0)