Skip to content

Commit ef274c2

Browse files
author
Enrico Granata
committed
Introduce a custom layout page with nav links
1 parent ffda59c commit ef274c2

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!doctype html>
2+
<html lang="{{ site.lang | default: " en-US" }}">
3+
4+
<!-- Forked from https://raw.githubusercontent.com/pages-themes/midnight/refs/heads/master/_layouts/default.html -->
5+
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9+
10+
{% seo %}
11+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
12+
<script src="https://code.jquery.com/jquery-1.12.4.min.js"
13+
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
14+
<script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
15+
<!--[if lt IE 9]>
16+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
17+
<![endif]-->
18+
<!--[if lt IE 8]>
19+
<link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}">
20+
<![endif]-->
21+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
22+
{% include head-custom.html %}
23+
</head>
24+
25+
<body>
26+
<div id="header">
27+
<nav>
28+
<ul>
29+
<li class="fork"><a href="https://arialang.github.io/">Homepage</a></li>
30+
<li class="fork"><a href="https://arialang.github.io/blog/">Blog Index</a></li>
31+
<li class="downloads"><a href="https://github.com/arialang/aria">View on GitHub</a></li>
32+
</ul>
33+
</nav>
34+
</div><!-- end header -->
35+
36+
<div class="wrapper">
37+
38+
<section>
39+
<div id="title">
40+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
41+
<p>{{ site.tagline | default: site.description | default: site.github.project_tagline }}</p>
42+
<hr>
43+
<span class="credits left">Project maintained by <a href="{{ site.github.owner_url }}">{{
44+
site.github.owner_name }}</a></span>
45+
<span class="credits right">Hosted on GitHub Pages &mdash; Theme by <a
46+
href="https://twitter.com/mattgraham">mattgraham</a></span>
47+
</div>
48+
49+
{{ content }}
50+
51+
</section>
52+
53+
</div>
54+
</body>
55+
56+
</html>

0 commit comments

Comments
 (0)