-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-header.html
50 lines (49 loc) · 1.38 KB
/
common-header.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
<!--
Gendo replicates common code across Git repos.
Copyright (C) 2022 Ken Shibata <+@nyiyui.ca>
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<div id="common-header">
<style>
#common-nav {
background: #222;
}
#common-nav-inner {
margin: auto;
max-width: 900px;
font-size: 1rem;
font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
color: #d0d0d0;
padding: 4px;
}
#common-nav-inner a {
color: #d0d0d0;
text-decoration: none;
padding-right: 10px;
}
#common-nav-inner a:hover {
text-decoration: underline;
}
#common-nav-inner .this {
color: #adadad;
}
</style>
<nav id="common-nav">
<div id="common-nav-inner">
<a href="https://nyiyui.ca" style="color: #ff6bdf;">
<img src="https://cdn.nyiyui.ca/one.svg" style="height: 27px; display: inline; vertical-align: middle;" alt="logo" />
Nyiyui
</a>
{{ if ne .Mapping.Data.Self "qrystal" }}
<a href="https://nyiyui.ca/qrystal">Qrystal</a>
{{ end }}
{{ if ne .Mapping.Data.Self "hato" }}
<a href="https://hato.nyiyui.ca/README-en.html">HATO</a>
{{ end }}
<span class="this">
{{ .Mapping.Data.Title }}
</span>
</div>
</nav>
</div>