-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic.html
70 lines (66 loc) · 2.1 KB
/
basic.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ title }}</title>
<link rel="stylesheet" href="{{ site.url }}/stylesheets/styles.css">
<link rel="stylesheet" href="{{ site.url }}/stylesheets/github-light.css">
<link rel="stylesheet" href="{{ site.url }}/stylesheets/pygments.css">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
{% if site.subsystems %}
{% assign subs = site.subsystems | sort: 'title', 'last' %}
{% assign subs = subs | sort: 'order', 'last' %}
{% endif %}
{% assign mytitle = site.github.project_title %}
{% if site.usertitle %}
{% assign mytitle = site.usertitle %}
<h1>{{ site.usertitle }}</h1>
{% else %}
<h1>{{ site.github.project_title }}</h1>
{% endif %}
<p><a href="{{ site.url }}/">nEDM Experiment</a></p>
{% if site.github.is_project_page %}
<p><a href="{{ site.url }}/{{ site.github.repository_name }}">{{ mytitle }}</a></p>
<p><a href="{{ site.github.repository_url }}">Repository</a></p>
{% if subs %}
<h4>Sub-pages:</h4>
<ul>
{% for post in subs %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
</header>
<section>
{{ content }}
{% if page.is_index %}
{% if subs %}
<h3 id="available-pages">Available pages</h3>
<ul>
{% for post in subs %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a> - {{ post.description }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
</section>
<footer>
<p><small>Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
<script src="{{ site.url }}/javascripts/scale.fix.js"></script>
</body>
</html>