-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetropolis-header.html
52 lines (51 loc) · 1.59 KB
/
metropolis-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
51
52
<!--
Gendo replicates common code across Git repos.
Copyright (C) 2022 Ken Shibata <[email protected]>
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>
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap');
#common-nav {
background: #073763;
}
#common-nav-inner {
margin: auto;
max-width: 900px;
font-size: 1rem;
font-family: 'Zen Kaku Gothic New', sans-serif;
font-weight: 400;
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://maclyonsden.com" style="color: #fff;">
<img src="https://maclyonsden.com/static/core/img/themes/logos/dark-transparent.png" style="height: 27px; display: inline; vertical-align: middle;" alt="Metropolis logo" />
Metropolis
</a>
{{ if and (ne .Mapping.Data.Self "metropolis-jekyll") (ne .Mapping.Data.Self "scavenger2022") }}
<a href="https://docs.maclyonsden.com">Docs</a>
{{ end }}
{{ if ne .Mapping.Data.Self "doodle" }}
<a href="https://doodle.maclyonsden.com">Doodles</a>
{{ end }}
<span class="this">
{{ .Mapping.Data.Title }}
</span>
</div>
</nav>
</div>