-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
54 lines (52 loc) · 2.01 KB
/
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
53
54
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{% if pageTitle.length %}
{{ pageTitle }}
{% else %}
{{ siteName }}
{% /if %}
</title>
{% if post.ext_seo_keywords.length %}
<meta name="keywords" content="{{post.ext_seo_keywords}}" />
{% /if %}
{% if post.ext_seo_des.length %}
<meta name="description" content="{{post.ext_seo_des}}" />
{% /if %}
<link href="atom.xml" rel="alternate" title="{{ siteName }}" type="application/atom+xml">
{% if ext_site_favicon.length %}
<link rel="bookmark" type="image/x-icon" href="{{ ext_site_favicon }}">
<link rel="shortcut icon" type="image/x-icon" href="{{ ext_site_favicon }}">
<link rel="icon" type="image/x-icon" href="{{ ext_site_favicon }}">
{% else %}
<link rel="bookmark" type="image/x-icon" href="asset/img/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="asset/img/favicon.ico">
<link rel="icon" type="image/x-icon" href="asset/img/favicon.ico">
{% /if %}
<link rel="stylesheet" href="asset/css/style.css">
<link rel="stylesheet" href="asset/css/tomorrow-night-eighties.css">
<script src="asset/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<link href="asset/css/google-font.css?family=Fira+Sans|Fira+Mono" rel="stylesheet">
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<header class="header" id="header">
<div class="wrapper">
<header class="content-wrapper menu">
<div class="menu-home">
<a href="index.html">{{ siteName }}</a>
</div>
<div class="menu-links">
{% for m in siteMenu %}
<div class="menu-item{% if pageTitle == m.name %} menu-active{% /if %}">
<a target="{{ m.target }}" href="{{ m.url }}">{{ m.name }}</a>
</div>
{% /for %}
</div>
</header>
</div>
</header>