Skip to content

Commit 99699ef

Browse files
committed
Add layout file
1 parent 803264d commit 99699ef

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

_layouts/default.html

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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=device-width, initial-scale=1">
7+
8+
{% seo %}
9+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
10+
<!--[if lt IE 9]>
11+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
12+
<![endif]-->
13+
{% include head-custom.html %}
14+
</head>
15+
<body>
16+
<div class="wrapper">
17+
<header>
18+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
19+
20+
{% if site.logo %}
21+
<img src="{{site.logo | relative_url}}" alt="Logo" />
22+
{% endif %}
23+
24+
<p>{{ site.description | default: site.github.project_tagline }}</p>
25+
26+
{% if site.github.is_project_page %}
27+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
28+
{% endif %}
29+
30+
{% if site.github.is_user_page %}
31+
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
32+
{% endif %}
33+
34+
{% if site.show_downloads %}
35+
<ul class="downloads">
36+
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
37+
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
38+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
39+
</ul>
40+
{% endif %}
41+
</header>
42+
<section>
43+
44+
{{ content }}
45+
46+
</section>
47+
<footer>
48+
{% if site.github.is_project_page %}
49+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
50+
{% endif %}
51+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
52+
</footer>
53+
</div>
54+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
55+
</body>
56+
</html>

0 commit comments

Comments
 (0)