aboutsummaryrefslogtreecommitdiff
path: root/source/layouts/index.njk
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2019-10-21 06:49:39 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2019-10-21 06:49:39 +0200
commit421677613114bb40780d3a5516b6930d386d0b09 (patch)
treec3388994b4370bd407e197f344792a51d9ae8d9b /source/layouts/index.njk
parenta543aa89c4db8e0e5509e96540a8dc5303159148 (diff)
downloadmitjafelicijan.com-421677613114bb40780d3a5516b6930d386d0b09.tar.gz
Added comments and updated CV
Diffstat (limited to 'source/layouts/index.njk')
-rw-r--r--source/layouts/index.njk114
1 files changed, 57 insertions, 57 deletions
diff --git a/source/layouts/index.njk b/source/layouts/index.njk
index c4912a7..9e2fde8 100644
--- a/source/layouts/index.njk
+++ b/source/layouts/index.njk
@@ -1,80 +1,80 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html lang="en"> 2<html lang="en">
3 3
4<head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta http-equiv="X-UA-Compatible" content="ie=edge"> 7 <meta http-equiv="X-UA-Compatible" content="ie=edge">
8 <meta name="theme-color" content="#ffffff"> 8 <meta name="theme-color" content="#ffffff">
9 9
10 <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> 10 <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA">
11 11
12 <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}"> 12 <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}">
13 13
14 <title>{{ vars.title }}</title> 14 <title>{{ vars.title }}</title>
15 <meta name="author" content="{{ vars.author }}"> 15 <meta name="author" content="{{ vars.author }}">
16 <meta name="description" content="{{ vars.description }}"> 16 <meta name="description" content="{{ vars.description }}">
17 17
18 <meta name="og:url" content="{{ vars.domain }}"> 18 <meta name="og:url" content="{{ vars.domain }}">
19 <meta name="og:type" content="website"> 19 <meta name="og:type" content="website">
20 <meta name="og:title" content="{{ vars.title }}"> 20 <meta name="og:title" content="{{ vars.title }}">
21 <meta name="og:description" content="{{ vars.description }}"> 21 <meta name="og:description" content="{{ vars.description }}">
22 <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> 22 <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}">
23 23
24 <meta name="twitter:card" content="summary"> 24 <meta name="twitter:card" content="summary">
25 <meta name="twitter:site" content="@mitjafelicijan"> 25 <meta name="twitter:site" content="@mitjafelicijan">
26 <meta name="twitter:title" content="{{ vars.title }}"> 26 <meta name="twitter:title" content="{{ vars.title }}">
27 <meta name="twitter:description" content="{{ vars.description }}"> 27 <meta name="twitter:description" content="{{ vars.description }}">
28 <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> 28 <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}">
29 29
30 {{ css }} 30 {{ css }}
31 31
32</head> 32 </head>
33 33
34<body> 34 <body>
35 35
36 <main class="wrapper"> 36 <main class="wrapper">
37 37
38 {% include "navigation.njk" %} 38 {% include "navigation.njk" %}
39 39
40 <div class="list"> 40 <div class="list">
41 41
42 <h3>Research</h3> 42 <h3>Research</h3>
43 <nav class="article-list"> 43 <nav class="article-list">
44 {% for post in posts %} 44 {% for post in posts %}
45 {% if post.type == "research" %} 45 {% if post.type == "research" %}
46 <article> 46 <article>
47 <a href="/{{ post.slug }}" aria-label="Read more about {{ post.title }}"> 47 <a href="/{{ post.slug }}" aria-label="Read more about {{ post.title }}">
48 <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> 48 <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time>
49 <h2>{{ post.title }}</h2> 49 <h2>{{ post.title }}</h2>
50 </a> 50 </a>
51 </article> 51 </article>
52 {% endif %} 52 {% endif %}
53 {% endfor %} 53 {% endfor %}
54 </nav> 54 </nav>
55 55
56 <h3>General</h3> 56 <h3>General</h3>
57 <nav class="article-list"> 57 <nav class="article-list">
58 {% for post in posts %} 58 {% for post in posts %}
59 {% if post.type != "research" %} 59 {% if post.type != "research" %}
60 <article> 60 <article itemtype="http://schema.org/Article">
61 <a href="/{{ post.slug }}" aria-label="Read more about {{ post.title }}"> 61 <a href="/{{ post.slug }}" aria-label="Read more about {{ post.title }}" itemprop="url" rel="bookmark">
62 <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> 62 <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time>
63 <h2>{{ post.title }}</h2> 63 <h2>{{ post.title }}</h2>
64 </a> 64 </a>
65 </article> 65 </article>
66 {% endif %} 66 {% endif %}
67 {% endfor %} 67 {% endfor %}
68 </nav> 68 </nav>
69 69
70 </div> 70 </div>
71 71
72 {{ javascript }} 72 {{ javascript }}
73 73
74 {% include "footer.njk" %} 74 {% include "footer.njk" %}
75 75
76 </main> 76 </main>
77 77
78</body> 78 </body>
79 79
80</html> 80</html>