diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-02-20 00:07:04 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-02-20 00:07:04 +0100 |
| commit | c0f65f76be3f33fb464d3f75c9b9e0100ea60436 (patch) | |
| tree | 52438e956e7a11eaacdee27a0a8ae139464db716 /source/layouts | |
| parent | 5432102f3482cd71d70c687b375c89882b82d0c1 (diff) | |
| download | mitjafelicijan.com-c0f65f76be3f33fb464d3f75c9b9e0100ea60436.tar.gz | |
Move to Firebase and added additional content
Diffstat (limited to 'source/layouts')
| -rw-r--r-- | source/layouts/footer.njk | 1 | ||||
| -rw-r--r-- | source/layouts/index.njk | 8 | ||||
| -rw-r--r-- | source/layouts/navigation.njk | 2 | ||||
| -rw-r--r-- | source/layouts/page.njk | 6 | ||||
| -rw-r--r-- | source/layouts/post.njk | 6 |
5 files changed, 15 insertions, 8 deletions
diff --git a/source/layouts/footer.njk b/source/layouts/footer.njk index dce33dd..bbb0775 100644 --- a/source/layouts/footer.njk +++ b/source/layouts/footer.njk | |||
| @@ -20,4 +20,5 @@ | |||
| 20 | } | 20 | } |
| 21 | }); | 21 | }); |
| 22 | </script> | 22 | </script> |
| 23 | |||
| 23 | <script src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" async></script> | 24 | <script src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" async></script> |
diff --git a/source/layouts/index.njk b/source/layouts/index.njk index 6a2441f..9784155 100644 --- a/source/layouts/index.njk +++ b/source/layouts/index.njk | |||
| @@ -9,6 +9,8 @@ | |||
| 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 }}"> | ||
| 13 | |||
| 12 | <title>{{ vars.title }}</title> | 14 | <title>{{ vars.title }}</title> |
| 13 | <meta name="author" content="{{ vars.author }}"> | 15 | <meta name="author" content="{{ vars.author }}"> |
| 14 | <meta name="description" content="{{ vars.description }}"> | 16 | <meta name="description" content="{{ vars.description }}"> |
| @@ -17,13 +19,13 @@ | |||
| 17 | <meta name="og:type" content="website"> | 19 | <meta name="og:type" content="website"> |
| 18 | <meta name="og:title" content="{{ vars.title }}"> | 20 | <meta name="og:title" content="{{ vars.title }}"> |
| 19 | <meta name="og:description" content="{{ vars.description }}"> | 21 | <meta name="og:description" content="{{ vars.description }}"> |
| 20 | <meta name="og:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 21 | 23 | ||
| 22 | <meta name="twitter:card" content="summary"> | 24 | <meta name="twitter:card" content="summary"> |
| 23 | <meta name="twitter:site" content="@mitjafelicijan"> | 25 | <meta name="twitter:site" content="@mitjafelicijan"> |
| 24 | <meta name="twitter:title" content="{{ vars.title }}"> | 26 | <meta name="twitter:title" content="{{ vars.title }}"> |
| 25 | <meta name="twitter:description" content="{{ vars.description }}"> | 27 | <meta name="twitter:description" content="{{ vars.description }}"> |
| 26 | <meta name="twitter:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 27 | 29 | ||
| 28 | {{ css }} | 30 | {{ css }} |
| 29 | 31 | ||
| @@ -39,8 +41,8 @@ | |||
| 39 | {% for post in posts %} | 41 | {% for post in posts %} |
| 40 | <article> | 42 | <article> |
| 41 | <a href="/{{ post.slug }}"> | 43 | <a href="/{{ post.slug }}"> |
| 42 | <h2>{{ post.title }}</h2> | ||
| 43 | <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> | 44 | <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> |
| 45 | <h2>{{ post.title }}</h2> | ||
| 44 | </a> | 46 | </a> |
| 45 | </article> | 47 | </article> |
| 46 | {% endfor %} | 48 | {% endfor %} |
diff --git a/source/layouts/navigation.njk b/source/layouts/navigation.njk index 2f73825..163c3c7 100644 --- a/source/layouts/navigation.njk +++ b/source/layouts/navigation.njk | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | <menu> | 1 | <menu> |
| 2 | <div> | 2 | <div> |
| 3 | <a href="/" class="logo">mitja felicijan</a> | 3 | <a href="/" class="logo">@mitjafelicijan</a> |
| 4 | </div> | 4 | </div> |
| 5 | <nav> | 5 | <nav> |
| 6 | <a href="//github.com/mitjafelicijan"> | 6 | <a href="//github.com/mitjafelicijan"> |
diff --git a/source/layouts/page.njk b/source/layouts/page.njk index 1e9aa4d..a2434a1 100644 --- a/source/layouts/page.njk +++ b/source/layouts/page.njk | |||
| @@ -9,6 +9,8 @@ | |||
| 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 }}"> | ||
| 13 | |||
| 12 | <title>{{ title }}</title> | 14 | <title>{{ title }}</title> |
| 13 | <meta name="author" content="{{ vars.author }}"> | 15 | <meta name="author" content="{{ vars.author }}"> |
| 14 | <meta name="description" content="{{ description }}"> | 16 | <meta name="description" content="{{ description }}"> |
| @@ -17,13 +19,13 @@ | |||
| 17 | <meta name="og:type" content="website"> | 19 | <meta name="og:type" content="website"> |
| 18 | <meta name="og:title" content="{{ title }}"> | 20 | <meta name="og:title" content="{{ title }}"> |
| 19 | <meta name="og:description" content="{{ description }}"> | 21 | <meta name="og:description" content="{{ description }}"> |
| 20 | <meta name="og:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 21 | 23 | ||
| 22 | <meta name="twitter:card" content="summary"> | 24 | <meta name="twitter:card" content="summary"> |
| 23 | <meta name="twitter:site" content="@mitjafelicijan"> | 25 | <meta name="twitter:site" content="@mitjafelicijan"> |
| 24 | <meta name="twitter:title" content="{{ title }}"> | 26 | <meta name="twitter:title" content="{{ title }}"> |
| 25 | <meta name="twitter:description" content="{{ description }}"> | 27 | <meta name="twitter:description" content="{{ description }}"> |
| 26 | <meta name="twitter:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 27 | 29 | ||
| 28 | {{ css }} | 30 | {{ css }} |
| 29 | 31 | ||
diff --git a/source/layouts/post.njk b/source/layouts/post.njk index 2fc0f7b..72923c9 100644 --- a/source/layouts/post.njk +++ b/source/layouts/post.njk | |||
| @@ -9,6 +9,8 @@ | |||
| 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 }}"> | ||
| 13 | |||
| 12 | <title>{{ title }}</title> | 14 | <title>{{ title }}</title> |
| 13 | <meta name="author" content="{{ vars.author }}"> | 15 | <meta name="author" content="{{ vars.author }}"> |
| 14 | <meta name="description" content="{{ description }}"> | 16 | <meta name="description" content="{{ description }}"> |
| @@ -17,13 +19,13 @@ | |||
| 17 | <meta name="og:type" content="website"> | 19 | <meta name="og:type" content="website"> |
| 18 | <meta name="og:title" content="{{ title }}"> | 20 | <meta name="og:title" content="{{ title }}"> |
| 19 | <meta name="og:description" content="{{ description }}"> | 21 | <meta name="og:description" content="{{ description }}"> |
| 20 | <meta name="og:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 21 | 23 | ||
| 22 | <meta name="twitter:card" content="summary"> | 24 | <meta name="twitter:card" content="summary"> |
| 23 | <meta name="twitter:site" content="@mitjafelicijan"> | 25 | <meta name="twitter:site" content="@mitjafelicijan"> |
| 24 | <meta name="twitter:title" content="{{ title }}"> | 26 | <meta name="twitter:title" content="{{ title }}"> |
| 25 | <meta name="twitter:description" content="{{ description }}"> | 27 | <meta name="twitter:description" content="{{ description }}"> |
| 26 | <meta name="twitter:image" content="{{ vars.domain }}/assets/avatar.gif?ver={{ timestamp }}"> | 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> |
| 27 | 29 | ||
| 28 | {{ css }} | 30 | {{ css }} |
| 29 | 31 | ||
