forked from damnlie/bolt-theme-readonly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_header.twig
54 lines (53 loc) · 2.51 KB
/
_header.twig
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>
<!--
Read Only by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>{{ app.config.get('general/sitename') }}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script>
var themepath = '{{ paths.theme }}';
</script>
<script src="{{ paths.theme }}js/jquery.min.js"></script>
<script src="{{ paths.theme }}js/jquery.scrollzer.min.js"></script>
<script src="{{ paths.theme }}js/jquery.scrolly.min.js"></script>
<script src="{{ paths.theme }}js/skel.min.js"></script>
<script src="{{ paths.theme }}js/skel-layers.min.js"></script>
<script src="{{ paths.theme }}js/init.js"></script>
<noscript>
<link rel="stylesheet" href="{{ paths.theme }}css/skel.css" />
<link rel="stylesheet" href="{{ paths.theme }}css/style.css" />
<link rel="stylesheet" href="{{ paths.theme }}css/style-xlarge.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
</head>
<body>
<div id="wrapper">
<!-- Header -->
<section id="header" class="skel-layers-fixed">
<header>
<span class="image avatar"><img src="{{ paths.theme }}images/avatar.jpg" alt="" /></span>
<h1 id="logo"><a href="{{ paths.root }}">{{ app.config.get('general/sitename') }}</a></h1>
<p>{{ app.config.get('general/payoff') }}</p>
</header>
<nav id="nav">
<ul>
{{ menu('main', '_sub_menu.twig') }}
</ul>
</nav>
<footer>
<ul class="icons">
{% if theme.twitter %}<li><a href="http://twitter.com/{{ theme.twitter }}" class="icon fa-twitter"><span class="label">Twitter</span></a></li>{% endif %}
{% if theme.facebook %}<li><a href="http://facebook.com/{{ theme.facebook }}" class="icon fa-facebook"><span class="label">Facebook</span></a></li>{% endif %}
{% if theme.instagram %}<li><a href="http://instagram.com/{{ theme.instagram }}" class="icon fa-instagram"><span class="label">Instagram</span></a></li>{% endif %}
{% if theme.github %}<li><a href="http://github.com/{{ theme.github }}" class="icon fa-github"><span class="label">Github</span></a></li>{% endif %}
{% if theme.email %}<li><a href="mailto:{{ theme.email }}" class="icon fa-envelope"><span class="label">Email</span></a></li>{% endif %}
</ul>
</footer>
</section>