-
Notifications
You must be signed in to change notification settings - Fork 6
/
default.html
120 lines (120 loc) · 4.68 KB
/
default.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
{%- if site.author %}
<meta name="author" content="{{ site.author }}">
{%- endif %}
{%- if page.description %}
<meta name="description" content="{{ page.description }}">
{%- endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/application.css">
{%- if page.name == "viewer.html" %}
<script type="text/javascript" src="js/{{ site.jquery }}"></script>
<script type="text/javascript" src="js/kanjivg.js"></script>
<script type="text/javascript" src="js/kanjiviewer.js"></script>
<script type="text/javascript" src="js/KanjivgAnimate.js"></script>
{%- endif %}
{%- if page.name == "listing.html" %}
<script type="text/javascript" src="js/{{ site.jquery }}"></script>
<script type="text/javascript" src="js/kanjivg.js"></script>
<script type="text/javascript" src="js/listing.js"></script>
{%- endif %}
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html">KanjiVG</a>
<form class="navbar-search pull-right" method="get" action="viewer.html">
<input type="text" class="search-query" placeholder="View kanji" name="kanji">
</form>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Project</li>
{%- for link in site.project-links %}
{%- assign active = nil %}
{%- assign white = nil %}
{%- if page.name == link.url %}
{%- assign active = 'active' %}
{%- assign white = 'icon-white' %}
{%- endif %}
<li class="{{ active }}">
<a href="{{ link.url }}"><i class="icon-{{ link.icon }} {{ white }}"></i>{{ link.text }}</a>
</li>
{%- endfor %}
<li class="nav-header">Format</li>
{%- for link in site.format-links %}
{%- assign active = nil %}
{%- assign white = nil %}
{%- if page.name == link.url %}
{%- assign active = 'active' %}
{%- assign white = 'icon-white' %}
{%- endif %}
<li class="{{ active }}">
<a href="{{ link.url }}"><i class="icon-{{ link.icon }} {{ white }}"></i>{{ link.text }}</a>
</li>
{%- endfor %}
<li class="nav-header">Community</li>
{%- for link in site.community-links %}
{%- assign active = nil %}
{%- assign white = nil %}
{%- if page.name == link.url %}
{%- assign active = 'active' %}
{%- assign white = 'icon-white' %}
{%- endif %}
<li class="{{ active }}">
<a href="{{ link.url }}"><i class="icon-{{ link.icon }} {{ white }}"></i>{{ link.text }}</a>
</li>
{%- endfor %}
</ul>
</div>
</div>
<div class="span10">
{{ content }}
</div>
</div>
<hr>
<footer>
{% if page.name == "viewer.html" %}
<div id="acknowledgements">
<h3>Acknowledgements</h3>
<p>
The animated kanji display is provided by
<a href="{{ page.nidera }}">KanjivgAnimate</a>, copyright
NihongoDera, used under the
<a href="{{ page.nidera }}/blob/master/LICENSE">MIT
License</a>.
</p>
</div>
{% endif %}
<p>
© 2009 — {{ site.year }} {{ site.author }} — <a href="index.html">Licensing</a>
</p>
<p>
The source code for this documentation is at
<a href="{{ site.url }}">github.com</a>. Report issues with
the documentation on the
<a href="{{ site.url }}/issues">issues page</a>. To ask
questions or discuss KanjiVG, use the <a href="{{ site.group
}}">mailing list</a>.
</p>
</footer>
</div>
</body>
</html>