-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (125 loc) · 4.88 KB
/
index.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset=utf-8 />
<title>
Narval
</title>
<meta name="author" content="Ench" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://narvalblog.github.io/RSSfeed.xml" rel="alternate" type="application/rss+xml" title="News for Narval" />
<link rel="canonical" href="https://narvalblog.github.io" />
<link rel="icon" href="https://narvalblog.github.io/themes/Minival/favicon.ico" />
<link rel="stylesheet" type="text/css" href="https://narvalblog.github.io/themes/Minival/base.css" media="screen" />
<link href="https://fonts.googleapis.com/css?family=Alegreya:400,700|Raleway" rel="stylesheet">
<meta name="description" content="Un super blog généré avec Narval." />
</head>
<body>
<div class="container">
<header>
<h1><a href="https://narvalblog.github.io/index.html">Narval</a></h1>
<p>Générateur de blog statique.</p>
<nav>
<ul>
<a href="https://narvalblog.github.io/index.html"><li>Accueil</li></a>
<a href="#" id="bt1"><li class="menu withSubmenu">Categories</li></a>
<a href="#" id="bt2"><li class="menu withSubmenu">Pages</li></a>
<a type="application/rss+xml" href="https://narvalblog.github.io/RSSfeed.xml"><li>RSS</li></a>
</ul>
<ul class="submenu" id="categories">→
<a style="background:rgb(230, 230, 230);" class="tag" href="https://narvalblog.github.io/divers/index.html">Divers</a>
<a style="background:rgb(233, 206, 206);" class="tag" href="https://narvalblog.github.io/documentation/index.html">Documentation</a>
</ul>
<ul class="submenu" id="pages">→
<a class="tag" href="https://narvalblog.github.io/a-propos.html">À propos</a>
<a class="tag" href="https://narvalblog.github.io/archives.html">Archives</a>
</ul>
</nav>
</header>
<main>
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h2><a href="https://narvalblog.github.io/publier-github.html">Publier son blog sur Github</a></h2>
</header>
<div class="metas">
<time itemprop="dateCreated" datetime="2017-12-31T22:05:00.000000+00:00">31 décembre 2017</time>
<a class="tag" style="background:rgb(233, 206, 206)" href="https://narvalblog.github.io/documentation/index.html">Documentation</a>
</div>
<div itemprop="about"><p>Voyons ici comment mettre en ligne son blog <em>Narval</em> sur les serveurs de <em>Github</em>.</p></div>
</article>
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h2><a href="https://narvalblog.github.io/documentation-complete.html">Documentation complète</a></h2>
</header>
<div class="metas">
<time itemprop="dateCreated" datetime="2017-07-06T22:32:00.000000+00:00">06 juillet 2017</time>
<a class="tag" style="background:rgb(233, 206, 206)" href="https://narvalblog.github.io/documentation/index.html">Documentation</a>
</div>
</article>
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h2><a href="https://narvalblog.github.io/theme-minival.html">Thème <em>Minival</em></a></h2>
</header>
<div class="metas">
<time itemprop="dateCreated" datetime="2017-07-05T09:13:00.000000+00:00">05 juillet 2017</time>
<a class="tag" style="background:rgb(230, 230, 230)" href="https://narvalblog.github.io/divers/index.html">Divers</a>
</div>
<div itemprop="about"><p>Cette page permet de voir comment le thème <em>Minival</em> affiche le contenu.</p></div>
</article>
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h2><a href="https://narvalblog.github.io/guide-rapide.html">Guide rapide</a></h2>
</header>
<div class="metas">
<time itemprop="dateCreated" datetime="2017-07-01T19:12:00.000000+00:00">01 juillet 2017</time>
<a class="tag" style="background:rgb(233, 206, 206)" href="https://narvalblog.github.io/documentation/index.html">Documentation</a>
</div>
<div itemprop="about"><p>Guide de démarrage rapide de <em>Narval</em>, un générateur de blog statique. Une documentation plus complète est également disponible sur ce blog si besoin.</p></div>
</article>
</main>
<div class=pagination>
Page 1 / 1.
</div>
<footer>
<p>
<small>
Blog de Ench, généré avec <em>Narval</em>.
<br>
Dernière modification le 01 janvier 2018.
</small>
</p>
</footer>
<script>
const
categories = document.getElementById('categories'),
pages = document.getElementById('pages'),
bt1 = document.getElementById('bt1'),
bt2 = document.getElementById('bt2')
function showCategories() {
categories.style.display = 'block'
pages.style.display = 'none'
}
function showPages() {
pages.style.display = 'block'
categories.style.display = 'none'
}
bt1.addEventListener('click', function(e) {
e.preventDefault()
showCategories()
}, false)
bt2.addEventListener('click', function(e) {
e.preventDefault()
showPages()
}, false)
bt1.addEventListener('touchstart', function(e) {
e.preventDefault()
showCategories()
}, false)
bt2.addEventListener('touchstart', function(e) {
e.preventDefault()
showPages()
}, false)
</script>
</div>
</body>
</html>