diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-02-17 22:44:22 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-02-17 22:44:22 +0100 |
| commit | bb3fdcd40fe3c297f01afcc446ab33bf0ba3d986 (patch) | |
| tree | 765b85eea1862f0bec1b005e3de062a15bb6a16b /source/layouts/index.njk | |
| parent | bcc96b81e29a920d9d75f3e5d59c9b07608346de (diff) | |
| download | mitjafelicijan.com-bb3fdcd40fe3c297f01afcc446ab33bf0ba3d986.tar.gz | |
update
Diffstat (limited to 'source/layouts/index.njk')
| -rw-r--r-- | source/layouts/index.njk | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/source/layouts/index.njk b/source/layouts/index.njk new file mode 100644 index 0000000..6a2441f --- /dev/null +++ b/source/layouts/index.njk | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 7 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| 8 | <meta name="theme-color" content="#ffffff"> | ||
| 9 | |||
| 10 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> | ||
| 11 | |||
| 12 | <title>{{ vars.title }}</title> | ||
| 13 | <meta name="author" content="{{ vars.author }}"> | ||
| 14 | <meta name="description" content="{{ vars.description }}"> | ||
| 15 | |||
| 16 | <meta name="og:url" content="{{ vars.domain }}"> | ||
| 17 | <meta name="og:type" content="website"> | ||
| 18 | <meta name="og:title" content="{{ vars.title }}"> | ||
| 19 | <meta name="og:description" content="{{ vars.description }}"> | ||
| 20 | <meta name="og:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | ||
| 21 | |||
| 22 | <meta name="twitter:card" content="summary"> | ||
| 23 | <meta name="twitter:site" content="@mitjafelicijan"> | ||
| 24 | <meta name="twitter:title" content="{{ vars.title }}"> | ||
| 25 | <meta name="twitter:description" content="{{ vars.description }}"> | ||
| 26 | <meta name="twitter:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | ||
| 27 | |||
| 28 | {{ css }} | ||
| 29 | |||
| 30 | </head> | ||
| 31 | |||
| 32 | <body> | ||
| 33 | |||
| 34 | <main class="wrapper"> | ||
| 35 | |||
| 36 | {% include "navigation.njk" %} | ||
| 37 | |||
| 38 | <nav class="article-list"> | ||
| 39 | {% for post in posts %} | ||
| 40 | <article> | ||
| 41 | <a href="/{{ post.slug }}"> | ||
| 42 | <h2>{{ post.title }}</h2> | ||
| 43 | <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> | ||
| 44 | </a> | ||
| 45 | </article> | ||
| 46 | {% endfor %} | ||
| 47 | </nav> | ||
| 48 | |||
| 49 | {{ javascript }} | ||
| 50 | |||
| 51 | {% include "footer.njk" %} | ||
| 52 | |||
| 53 | </main> | ||
| 54 | |||
| 55 | </body> | ||
| 56 | |||
| 57 | </html> | ||
