diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 03:40:14 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 03:40:14 +0200 |
| commit | 28dd784a088a35739cdfdc4ce79f8ee6d50bf816 (patch) | |
| tree | c198abb97177f60864530ee46f5cdcf0ae88d2bf /source/layouts | |
| parent | 421677613114bb40780d3a5516b6930d386d0b09 (diff) | |
| download | mitjafelicijan.com-28dd784a088a35739cdfdc4ce79f8ee6d50bf816.tar.gz | |
Cleanup of repo and move to gostatic
Diffstat (limited to 'source/layouts')
| -rw-r--r-- | source/layouts/comments.njk | 2 | ||||
| -rw-r--r-- | source/layouts/draft.njk | 62 | ||||
| -rw-r--r-- | source/layouts/footer.njk | 47 | ||||
| -rw-r--r-- | source/layouts/index.njk | 80 | ||||
| -rw-r--r-- | source/layouts/navigation.njk | 47 | ||||
| -rw-r--r-- | source/layouts/page.njk | 60 | ||||
| -rw-r--r-- | source/layouts/post.njk | 66 |
7 files changed, 0 insertions, 364 deletions
diff --git a/source/layouts/comments.njk b/source/layouts/comments.njk deleted file mode 100644 index 7ee4af8..0000000 --- a/source/layouts/comments.njk +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | <div id="commento"></div> | ||
| 2 | <script src="https://cdn.commento.io/js/commento.js"></script> | ||
diff --git a/source/layouts/draft.njk b/source/layouts/draft.njk deleted file mode 100644 index 0f2091c..0000000 --- a/source/layouts/draft.njk +++ /dev/null | |||
| @@ -1,62 +0,0 @@ | |||
| 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 | <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}"> | ||
| 13 | |||
| 14 | <title>{{ title }}</title> | ||
| 15 | <meta name="author" content="{{ vars.author }}"> | ||
| 16 | <meta name="description" content="{{ description }}"> | ||
| 17 | |||
| 18 | <meta name="og:url" content="{{ vars.domain }}/{{ slug }}"> | ||
| 19 | <meta name="og:type" content="website"> | ||
| 20 | <meta name="og:title" content="{{ title }}"> | ||
| 21 | <meta name="og:description" content="{{ description }}"> | ||
| 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 23 | |||
| 24 | <meta name="twitter:card" content="summary"> | ||
| 25 | <meta name="twitter:site" content="@mitjafelicijan"> | ||
| 26 | <meta name="twitter:title" content="{{ title }}"> | ||
| 27 | <meta name="twitter:description" content="{{ description }}"> | ||
| 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 29 | |||
| 30 | {{ css }} | ||
| 31 | |||
| 32 | </head> | ||
| 33 | |||
| 34 | <body> | ||
| 35 | |||
| 36 | <main class="wrapper"> | ||
| 37 | |||
| 38 | {% include "navigation.njk" %} | ||
| 39 | |||
| 40 | <article> | ||
| 41 | |||
| 42 | <header> | ||
| 43 | <h1>{{ title }}</h1> | ||
| 44 | <p class="pubdate">Published on | ||
| 45 | <time pubdate="{{ writtenDate.original }}">{{ writtenDate.formatted }}</time> | ||
| 46 | by | ||
| 47 | {{ vars.author }}</p> | ||
| 48 | </header> | ||
| 49 | |||
| 50 | {{ content|safe }} | ||
| 51 | |||
| 52 | </article> | ||
| 53 | |||
| 54 | {{ javascript }} | ||
| 55 | |||
| 56 | {% include "footer.njk" %} | ||
| 57 | |||
| 58 | </main> | ||
| 59 | |||
| 60 | </body> | ||
| 61 | |||
| 62 | </html> | ||
diff --git a/source/layouts/footer.njk b/source/layouts/footer.njk deleted file mode 100644 index c4cf79e..0000000 --- a/source/layouts/footer.njk +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | <footer> | ||
| 2 | <span>© 2010-{{ currentYear }}</span> | ||
| 3 | <a href="/curriculum-vitae">Curriculum Vitae</a> | ||
| 4 | <a href="//github.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Github</a> | ||
| 5 | <a href="//twitter.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Twitter</a> | ||
| 6 | </footer> | ||
| 7 | |||
| 8 | <!-- MathJax --> | ||
| 9 | <script type="text/x-mathjax-config"> | ||
| 10 | MathJax | ||
| 11 | .Hub | ||
| 12 | .Config({ | ||
| 13 | TeX: { | ||
| 14 | equationNumbers: { | ||
| 15 | autoNumber: "AMS" | ||
| 16 | } | ||
| 17 | }, | ||
| 18 | tex2jax: { | ||
| 19 | inlineMath: [ | ||
| 20 | [ | ||
| 21 | '$', '$' | ||
| 22 | ], | ||
| 23 | [ | ||
| 24 | '\\(', '\\)' | ||
| 25 | ] | ||
| 26 | ], | ||
| 27 | displayMath: [ | ||
| 28 | ['$$', '$$'] | ||
| 29 | ], | ||
| 30 | processEscapes: true | ||
| 31 | } | ||
| 32 | }); | ||
| 33 | </script> | ||
| 34 | |||
| 35 | <!-- Global site tag (gtag.js) - Google Analytics --> | ||
| 36 | <script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-12769079-10"></script> | ||
| 37 | <script> | ||
| 38 | window.dataLayer = window.dataLayer || []; | ||
| 39 | function gtag() { | ||
| 40 | dataLayer.push(arguments); | ||
| 41 | } | ||
| 42 | gtag('js', new Date()); | ||
| 43 | |||
| 44 | gtag('config', 'UA-12769079-10'); | ||
| 45 | </script> | ||
| 46 | |||
| 47 | <script src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" async="async"></script> | ||
diff --git a/source/layouts/index.njk b/source/layouts/index.njk deleted file mode 100644 index 9e2fde8..0000000 --- a/source/layouts/index.njk +++ /dev/null | |||
| @@ -1,80 +0,0 @@ | |||
| 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 | <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}"> | ||
| 13 | |||
| 14 | <title>{{ vars.title }}</title> | ||
| 15 | <meta name="author" content="{{ vars.author }}"> | ||
| 16 | <meta name="description" content="{{ vars.description }}"> | ||
| 17 | |||
| 18 | <meta name="og:url" content="{{ vars.domain }}"> | ||
| 19 | <meta name="og:type" content="website"> | ||
| 20 | <meta name="og:title" content="{{ vars.title }}"> | ||
| 21 | <meta name="og:description" content="{{ vars.description }}"> | ||
| 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 23 | |||
| 24 | <meta name="twitter:card" content="summary"> | ||
| 25 | <meta name="twitter:site" content="@mitjafelicijan"> | ||
| 26 | <meta name="twitter:title" content="{{ vars.title }}"> | ||
| 27 | <meta name="twitter:description" content="{{ vars.description }}"> | ||
| 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 29 | |||
| 30 | {{ css }} | ||
| 31 | |||
| 32 | </head> | ||
| 33 | |||
| 34 | <body> | ||
| 35 | |||
| 36 | <main class="wrapper"> | ||
| 37 | |||
| 38 | {% include "navigation.njk" %} | ||
| 39 | |||
| 40 | <div class="list"> | ||
| 41 | |||
| 42 | <h3>Research</h3> | ||
| 43 | <nav class="article-list"> | ||
| 44 | {% for post in posts %} | ||
| 45 | {% if post.type == "research" %} | ||
| 46 | <article> | ||
| 47 | <a href="/{{ post.slug }}" aria-label="Read more about {{ post.title }}"> | ||
| 48 | <time pubdate="{{ post.dateOriginal }}" class="pubdate">{{ post.dateFormatted }}</time> | ||
| 49 | <h2>{{ post.title }}</h2> | ||
| 50 | </a> | ||
| 51 | </article> | ||
| 52 | {% endif %} | ||
| 53 | {% endfor %} | ||
| 54 | </nav> | ||
| 55 | |||
| 56 | <h3>General</h3> | ||
| 57 | <nav class="article-list"> | ||
| 58 | {% for post in posts %} | ||
| 59 | {% if post.type != "research" %} | ||
| 60 | <article itemtype="http://schema.org/Article"> | ||
| 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> | ||
| 63 | <h2>{{ post.title }}</h2> | ||
| 64 | </a> | ||
| 65 | </article> | ||
| 66 | {% endif %} | ||
| 67 | {% endfor %} | ||
| 68 | </nav> | ||
| 69 | |||
| 70 | </div> | ||
| 71 | |||
| 72 | {{ javascript }} | ||
| 73 | |||
| 74 | {% include "footer.njk" %} | ||
| 75 | |||
| 76 | </main> | ||
| 77 | |||
| 78 | </body> | ||
| 79 | |||
| 80 | </html> | ||
diff --git a/source/layouts/navigation.njk b/source/layouts/navigation.njk deleted file mode 100644 index c5c6c80..0000000 --- a/source/layouts/navigation.njk +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | <menu> | ||
| 2 | <div> | ||
| 3 | <a href="/" class="logo">Mitja Felicijan</a> | ||
| 4 | </div> | ||
| 5 | <nav> | ||
| 6 | |||
| 7 | <a href="/curriculum-vitae" title="Curriculum Vitae" aria-label="Curriculum Vitae"> | ||
| 8 | <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"> | ||
| 9 | <g> | ||
| 10 | <path fill="none" d="M0 0h24v24H0z"/> | ||
| 11 | <path d="M7 5V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4zM4 15v4h16v-4H4zm7-4v2h2v-2h-2zM9 3v2h6V3H9z"/> | ||
| 12 | </g> | ||
| 13 | </svg> | ||
| 14 | </a> | ||
| 15 | |||
| 16 | <a href="//github.com/mitjafelicijan" title="Github" aria-label="Github"> | ||
| 17 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 92 92" style="enable-background:new 0 0 92 92;" xml:space="preserve"> | ||
| 18 | <g> | ||
| 19 | <path style="fill:#030104;" d="M61.896,52.548c-3.59,0-6.502,4.026-6.502,8.996c0,4.971,2.912,8.999,6.502,8.999 | ||
| 20 | c3.588,0,6.498-4.028,6.498-8.999C68.395,56.574,65.484,52.548,61.896,52.548z M84.527,29.132c0.74-1.826,0.777-12.201-3.17-22.132 | ||
| 21 | c0,0-9.057,0.993-22.76,10.396c-2.872-0.793-7.736-1.19-12.597-1.19s-9.723,0.396-12.598,1.189C19.699,7.993,10.645,7,10.645,7 | ||
| 22 | c-3.948,9.931-3.913,20.306-3.172,22.132C2.834,34.169,0,40.218,0,48.483c0,35.932,29.809,36.508,37.334,36.508 | ||
| 23 | c1.703,0,5.088,0.004,8.666,0.009c3.578-0.005,6.965-0.009,8.666-0.009C62.191,84.991,92,84.415,92,48.483 | ||
| 24 | C92,40.218,89.166,34.169,84.527,29.132z M46.141,80.574H45.86c-18.859,0-33.545-2.252-33.545-20.58 | ||
| 25 | c0-4.389,1.549-8.465,5.229-11.847c6.141-5.636,16.527-2.651,28.316-2.651c0.045,0,0.093-0.001,0.141-0.003 | ||
| 26 | c0.049,0.002,0.096,0.003,0.141,0.003c11.789,0,22.178-2.984,28.316,2.651c3.68,3.382,5.229,7.458,5.229,11.847 | ||
| 27 | C79.686,78.322,65,80.574,46.141,80.574z M30.104,52.548c-3.588,0-6.498,4.026-6.498,8.996c0,4.971,2.91,8.999,6.498,8.999 | ||
| 28 | c3.592,0,6.502-4.028,6.502-8.999C36.605,56.574,33.695,52.548,30.104,52.548z"/> | ||
| 29 | </g> | ||
| 30 | </svg> | ||
| 31 | </a> | ||
| 32 | |||
| 33 | <a href="//twitter.com/mitjafelicijan" title="Twitter" aria-label="Twitter"> | ||
| 34 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve"> | ||
| 35 | <g> | ||
| 36 | <path style="fill:#010002;" d="M612,116.258c-22.525,9.981-46.694,16.75-72.088,19.772c25.929-15.527,45.777-40.155,55.184-69.411 | ||
| 37 | c-24.322,14.379-51.169,24.82-79.775,30.48c-22.907-24.437-55.49-39.658-91.63-39.658c-69.334,0-125.551,56.217-125.551,125.513 | ||
| 38 | c0,9.828,1.109,19.427,3.251,28.606C197.065,206.32,104.556,156.337,42.641,80.386c-10.823,18.51-16.98,40.078-16.98,63.101 | ||
| 39 | c0,43.559,22.181,81.993,55.835,104.479c-20.575-0.688-39.926-6.348-56.867-15.756v1.568c0,60.806,43.291,111.554,100.693,123.104 | ||
| 40 | c-10.517,2.83-21.607,4.398-33.08,4.398c-8.107,0-15.947-0.803-23.634-2.333c15.985,49.907,62.336,86.199,117.253,87.194 | ||
| 41 | c-42.947,33.654-97.099,53.655-155.916,53.655c-10.134,0-20.116-0.612-29.944-1.721c55.567,35.681,121.536,56.485,192.438,56.485 | ||
| 42 | c230.948,0,357.188-191.291,357.188-357.188l-0.421-16.253C573.872,163.526,595.211,141.422,612,116.258z"/> | ||
| 43 | </g> | ||
| 44 | </svg> | ||
| 45 | </a> | ||
| 46 | </nav> | ||
| 47 | </menu> | ||
diff --git a/source/layouts/page.njk b/source/layouts/page.njk deleted file mode 100644 index 89aea8b..0000000 --- a/source/layouts/page.njk +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 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 | <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}"> | ||
| 13 | |||
| 14 | <title>{{ title }}</title> | ||
| 15 | <meta name="author" content="{{ vars.author }}"> | ||
| 16 | <meta name="description" content="{{ description }}"> | ||
| 17 | |||
| 18 | <meta name="og:url" content="{{ vars.domain }}/{{ slug }}"> | ||
| 19 | <meta name="og:type" content="website"> | ||
| 20 | <meta name="og:title" content="{{ title }}"> | ||
| 21 | <meta name="og:description" content="{{ description }}"> | ||
| 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 23 | |||
| 24 | <meta name="twitter:card" content="summary"> | ||
| 25 | <meta name="twitter:site" content="@mitjafelicijan"> | ||
| 26 | <meta name="twitter:title" content="{{ title }}"> | ||
| 27 | <meta name="twitter:description" content="{{ description }}"> | ||
| 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 29 | |||
| 30 | {{ css }} | ||
| 31 | |||
| 32 | </head> | ||
| 33 | |||
| 34 | <body> | ||
| 35 | |||
| 36 | <main class="wrapper"> | ||
| 37 | |||
| 38 | {% include "navigation.njk" %} | ||
| 39 | |||
| 40 | <article itemtype="http://schema.org/Article"> | ||
| 41 | |||
| 42 | <header> | ||
| 43 | <h1>{{ title }}</h1> | ||
| 44 | </header> | ||
| 45 | |||
| 46 | <div> | ||
| 47 | {{ content|safe }} | ||
| 48 | </div> | ||
| 49 | |||
| 50 | </article> | ||
| 51 | |||
| 52 | {{ javascript }} | ||
| 53 | |||
| 54 | {% include "footer.njk" %} | ||
| 55 | |||
| 56 | </main> | ||
| 57 | |||
| 58 | </body> | ||
| 59 | |||
| 60 | </html> | ||
diff --git a/source/layouts/post.njk b/source/layouts/post.njk deleted file mode 100644 index 9851c13..0000000 --- a/source/layouts/post.njk +++ /dev/null | |||
| @@ -1,66 +0,0 @@ | |||
| 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 | <link rel="icon" type="image/png" href="{{ vars.domain }}/files/avatar-64x64.png?ver={{ timestamp }}"> | ||
| 13 | |||
| 14 | <title>{{ title }}</title> | ||
| 15 | <meta name="author" content="{{ vars.author }}"> | ||
| 16 | <meta name="description" content="{{ description }}"> | ||
| 17 | |||
| 18 | <meta name="og:url" content="{{ vars.domain }}/{{ slug }}"> | ||
| 19 | <meta name="og:type" content="article"> | ||
| 20 | <meta name="og:title" content="{{ title }}"> | ||
| 21 | <meta name="og:description" content="{{ description }}"> | ||
| 22 | <meta name="og:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 23 | |||
| 24 | <meta name="twitter:card" content="summary"> | ||
| 25 | <meta name="twitter:site" content="@mitjafelicijan"> | ||
| 26 | <meta name="twitter:title" content="{{ title }}"> | ||
| 27 | <meta name="twitter:description" content="{{ description }}"> | ||
| 28 | <meta name="twitter:image" content="{{ vars.domain }}/files/avatar-512x512.png?ver={{ timestamp }}"> | ||
| 29 | |||
| 30 | {{ css }} | ||
| 31 | |||
| 32 | </head> | ||
| 33 | |||
| 34 | <body> | ||
| 35 | |||
| 36 | <main class="wrapper"> | ||
| 37 | |||
| 38 | {% include "navigation.njk" %} | ||
| 39 | |||
| 40 | <article itemtype="http://schema.org/Article"> | ||
| 41 | |||
| 42 | <header> | ||
| 43 | <h1>{{ title }}</h1> | ||
| 44 | <p class="pubdate">Published on | ||
| 45 | <time pubdate="{{ writtenDate.original }}">{{ writtenDate.formatted }}</time> | ||
| 46 | by | ||
| 47 | {{ vars.author }}</p> | ||
| 48 | </header> | ||
| 49 | |||
| 50 | <div> | ||
| 51 | {{ content|safe }} | ||
| 52 | </div> | ||
| 53 | |||
| 54 | </article> | ||
| 55 | |||
| 56 | {{ javascript }} | ||
| 57 | |||
| 58 | {% include "comments.njk" %} | ||
| 59 | |||
| 60 | {% include "footer.njk" %} | ||
| 61 | |||
| 62 | </main> | ||
| 63 | |||
| 64 | </body> | ||
| 65 | |||
| 66 | </html> | ||
