diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/assets/default.css | 33 | ||||
| -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 |
6 files changed, 41 insertions, 15 deletions
diff --git a/source/assets/default.css b/source/assets/default.css index a7dff38..8f15299 100644 --- a/source/assets/default.css +++ b/source/assets/default.css | |||
| @@ -44,7 +44,7 @@ h1 { | |||
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | h2,h3,h4,h5 { | 46 | h2,h3,h4,h5 { |
| 47 | margin-top: 50px; | 47 | /*margin-top: 50px;*/ |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | img { | 50 | img { |
| @@ -191,7 +191,7 @@ menu { | |||
| 191 | font-size: 80%; | 191 | font-size: 80%; |
| 192 | padding: 0; | 192 | padding: 0; |
| 193 | padding-top: 10px; | 193 | padding-top: 10px; |
| 194 | 194 | margin-bottom: 40px; | |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | menu a.logo { | 197 | menu a.logo { |
| @@ -237,6 +237,21 @@ footer > * { | |||
| 237 | color: #333; | 237 | color: #333; |
| 238 | } | 238 | } |
| 239 | 239 | ||
| 240 | /*************************************************************** ARTICLE LIST */ | ||
| 241 | |||
| 242 | .article-list article { | ||
| 243 | margin-bottom: 20px; | ||
| 244 | } | ||
| 245 | |||
| 246 | .article-list article h2 { | ||
| 247 | margin: 0; | ||
| 248 | line-height: 150%; | ||
| 249 | } | ||
| 250 | |||
| 251 | .article-list a { | ||
| 252 | text-decoration: none; | ||
| 253 | } | ||
| 254 | |||
| 240 | /***************************************************************** RESPONSIVE */ | 255 | /***************************************************************** RESPONSIVE */ |
| 241 | 256 | ||
| 242 | @media only screen and (max-width:800px) { | 257 | @media only screen and (max-width:800px) { |
| @@ -251,12 +266,16 @@ footer > * { | |||
| 251 | h1 { | 266 | h1 { |
| 252 | font-size: 200%; | 267 | font-size: 200%; |
| 253 | } | 268 | } |
| 254 | } | ||
| 255 | 269 | ||
| 256 | .article-list a { | 270 | footer { |
| 257 | text-decoration: none; | 271 | text-align: center; |
| 272 | } | ||
| 258 | } | 273 | } |
| 259 | 274 | ||
| 260 | .article-list a h2 { | 275 | /********************************************************************** PRINT */ |
| 261 | margin-bottom: 5px; | 276 | |
| 277 | @media print { | ||
| 278 | nav, footer { | ||
| 279 | display: none; | ||
| 280 | } | ||
| 262 | } | 281 | } |
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 | ||
