Skip to content

Commit 47a8032

Browse files
committed
Add default layout
1 parent 470d887 commit 47a8032

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

_layouts/default.html

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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="IE=edge">
6+
<meta name="viewport" content="width=640">
7+
8+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
9+
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
10+
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
11+
12+
<script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
13+
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
14+
<script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
15+
<script>
16+
$(document).ready(function () {
17+
$('#main_content').headsmart()
18+
})
19+
</script>
20+
21+
{% seo %}
22+
23+
{% include head-custom.html %}
24+
</head>
25+
26+
<body>
27+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
28+
<div class="shell">
29+
30+
<header>
31+
<span class="ribbon-outer">
32+
<span class="ribbon-inner">
33+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
34+
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
35+
</span>
36+
<span class="left-tail"></span>
37+
<span class="right-tail"></span>
38+
</span>
39+
</header>
40+
41+
{% if site.show_downloads %}
42+
<section id="downloads">
43+
<span class="inner">
44+
<a href="{{ site.github.zip_url }}" class="zip"><em>download</em> .ZIP</a><a href="{{ site.github.tar_url }}" class="tgz"><em>download</em> .TGZ</a>
45+
</span>
46+
</section>
47+
{% else %}
48+
<div id="no-downloads">
49+
<span class="inner">
50+
</span>
51+
</div>
52+
{% endif %}
53+
54+
55+
<span class="banner-fix"></span>
56+
57+
58+
<section id="main_content">
59+
{{ content }}
60+
</section>
61+
62+
<footer>
63+
<span class="ribbon-outer">
64+
<span class="ribbon-inner">
65+
{% if site.github.is_project_page %}
66+
<p>this project by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a> can be found on <a href="{{ site.github.repository_url }}">GitHub</a></p>
67+
{% endif %}
68+
{% if site.github.is_user_page %}
69+
<p>Projects by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a> can be found on <a href="{{ site.github.repository_url }}">GitHub</a></p>
70+
{% endif %}
71+
</span>
72+
<span class="left-tail"></span>
73+
<span class="right-tail"></span>
74+
</span>
75+
<p>Generated with <a href="https://pages.github.com">GitHub Pages</a> using Merlot</p>
76+
<span class="octocat"></span>
77+
</footer>
78+
79+
</div>
80+
</body>
81+
</html>

0 commit comments

Comments
 (0)