diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.twig | 52 | ||||
| -rw-r--r-- | templates/page.twig | 52 | ||||
| -rw-r--r-- | templates/partials/navigation.twig | 7 | ||||
| -rw-r--r-- | templates/partials/posts.twig | 8 | ||||
| -rw-r--r-- | templates/partials/preconnect.twig | 2 | ||||
| -rw-r--r-- | templates/partials/projects.twig | 8 | ||||
| -rw-r--r-- | templates/post.twig | 73 |
7 files changed, 0 insertions, 202 deletions
diff --git a/templates/index.twig b/templates/index.twig deleted file mode 100644 index f51a793..0000000 --- a/templates/index.twig +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | |||
| 6 | <meta charset="utf-8"> | ||
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 8 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| 9 | |||
| 10 | <meta name="theme-color" content="#ffffff"> | ||
| 11 | <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> | ||
| 12 | |||
| 13 | {% include "partials/preconnect.twig" %} | ||
| 14 | |||
| 15 | <title>{{ global.title }}</title> | ||
| 16 | <meta name="author" content="{{ global.author }}"> | ||
| 17 | <meta name="description" content="{{ global.description }}"> | ||
| 18 | |||
| 19 | <meta property="og:title" content="{{ global.title }}"> | ||
| 20 | <meta property="og:description" content="{{ global.description }}"> | ||
| 21 | <meta property="og:url" content="{{ global.domain }}"> | ||
| 22 | |||
| 23 | <meta name="twitter:card" content="summary"> | ||
| 24 | <meta name="twitter:site" content="{{ global.twitter }}"> | ||
| 25 | |||
| 26 | <link rel="alternate" type="application/atom+xml" title="{{ global.author }}'s feed" href="/feed.atom"> | ||
| 27 | <link rel="stylesheet" href="/static/style.css?v={{ "now"|date("YmdHi") }}"> | ||
| 28 | <link rel="icon" type="image/png" href="/static/avatar-64x64.png?v={{ "now"|date("YmdHi") }}"> | ||
| 29 | |||
| 30 | </head> | ||
| 31 | |||
| 32 | <body> | ||
| 33 | |||
| 34 | <main> | ||
| 35 | |||
| 36 | {% include "partials/navigation.twig" %} | ||
| 37 | |||
| 38 | <h2>Posts</h2> | ||
| 39 | {% include "partials/posts.twig" %} | ||
| 40 | |||
| 41 | |||
| 42 | <h2>Side projects</h2> | ||
| 43 | {% include "partials/projects.twig" %} | ||
| 44 | |||
| 45 | </main> | ||
| 46 | |||
| 47 | <!-- google analytics --> | ||
| 48 | {{ global.ga }} | ||
| 49 | |||
| 50 | </body> | ||
| 51 | |||
| 52 | </html> | ||
diff --git a/templates/page.twig b/templates/page.twig deleted file mode 100644 index 9e8773e..0000000 --- a/templates/page.twig +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | |||
| 6 | <meta charset="utf-8"> | ||
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 8 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| 9 | |||
| 10 | <meta name="theme-color" content="#ffffff"> | ||
| 11 | <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> | ||
| 12 | |||
| 13 | {% include "partials/preconnect.twig" %} | ||
| 14 | |||
| 15 | <title>{{ options.title }}</title> | ||
| 16 | <meta name="author" content="{{ global.author }}"> | ||
| 17 | <meta name="description" content="{{ options.description }}"> | ||
| 18 | |||
| 19 | <meta property="og:title" content="{{ options.title }}"> | ||
| 20 | <meta property="og:description" content="{{ options.description }}"> | ||
| 21 | <meta property="og:url" content="{{ global.domain }}{{ options.slug }}"> | ||
| 22 | |||
| 23 | <meta name="twitter:card" content="summary"> | ||
| 24 | <meta name="twitter:site" content="{{ global.twitter }}"> | ||
| 25 | |||
| 26 | <link rel="alternate" type="application/atom+xml" title="{{ global.author }}'s feed" href="/feed.atom"> | ||
| 27 | <link rel="stylesheet" href="/static/style.css?v={{ "now"|date("YmdHi") }}"> | ||
| 28 | <link rel="icon" type="image/png" href="/static/avatar-64x64.png?v={{ "now"|date("YmdHi") }}"> | ||
| 29 | |||
| 30 | </head> | ||
| 31 | |||
| 32 | <body> | ||
| 33 | |||
| 34 | <main> | ||
| 35 | |||
| 36 | {% include "partials/navigation.twig" %} | ||
| 37 | |||
| 38 | <article> | ||
| 39 | <header> | ||
| 40 | <h1>{{ options.title }}</h1> | ||
| 41 | </header> | ||
| 42 | {{ content }} | ||
| 43 | </article> | ||
| 44 | |||
| 45 | </main> | ||
| 46 | |||
| 47 | <!-- google analytics --> | ||
| 48 | {{ global.ga }} | ||
| 49 | |||
| 50 | </body> | ||
| 51 | |||
| 52 | </html> | ||
diff --git a/templates/partials/navigation.twig b/templates/partials/navigation.twig deleted file mode 100644 index 32a3814..0000000 --- a/templates/partials/navigation.twig +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | <nav> | ||
| 2 | <a href="/">Mitja Felicijan</a> | ||
| 3 | <a href="/curriculum-vitae.html">CV</a> | ||
| 4 | <a href="https://twitter.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Twitter</a> | ||
| 5 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow">Github</a> | ||
| 6 | <a href="/weekly-newsletter.html">Weekly newsletter</a> | ||
| 7 | </nav> | ||
diff --git a/templates/partials/posts.twig b/templates/partials/posts.twig deleted file mode 100644 index b900ef6..0000000 --- a/templates/partials/posts.twig +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | <ul class="article-list"> | ||
| 2 | {% for item in list %} | ||
| 3 | <li> | ||
| 4 | <time datetime="{{ item.date|date("Y, F j") }}">{{ item.date|date("Y, F j") }}</time> | ||
| 5 | <a href="{{ item.slug }}">{{ item.title }}</a> | ||
| 6 | </li> | ||
| 7 | {% endfor %} | ||
| 8 | </ul> | ||
diff --git a/templates/partials/preconnect.twig b/templates/partials/preconnect.twig deleted file mode 100644 index 800053e..0000000 --- a/templates/partials/preconnect.twig +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | <link rel="preconnect" href="https://www.google-analytics.com"> | ||
| 2 | <link rel="preconnect" href="https://stats.g.doubleclick.net"> | ||
diff --git a/templates/partials/projects.twig b/templates/partials/projects.twig deleted file mode 100644 index 1601dce..0000000 --- a/templates/partials/projects.twig +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | <ul class="project-list"> | ||
| 2 | <li><a href="https://github.com/mitjafelicijan/redis-marshal" target="_blank" rel="noopener nofollow">redis-marshal - Lightweight Redis data exploration tool</a></li> | ||
| 3 | <li><a href="https://github.com/mitjafelicijan/dna-encoding" target="_blank" rel="noopener nofollow">dna-encoding - Tools for encoding files to DNA sequence</a></li> | ||
| 4 | <li><a href="https://github.com/mitjafelicijan/unfold" target="_blank" rel="noopener nofollow">unfold - Elastic Beanstalk like deployments for DigitalOcean</a></li> | ||
| 5 | <li><a href="https://github.com/mitjafelicijan/vertex" target="_blank" rel="noopener nofollow">vertex - Create mock API's and enrich them with some basic logic and simplify prototyping</a></li> | ||
| 6 | <li><a href="https://github.com/mitjafelicijan/spartan" target="_blank" rel="noopener nofollow">spartan - Spartan minimal UI kit for your applications</a></li> | ||
| 7 | <li><a href="https://github.com/mitjafelicijan/scarecrow" target="_blank" rel="noopener nofollow">scarecrow - Minimal configuration reverse proxy</a></li> | ||
| 8 | </ul> | ||
diff --git a/templates/post.twig b/templates/post.twig deleted file mode 100644 index 92e7d28..0000000 --- a/templates/post.twig +++ /dev/null | |||
| @@ -1,73 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | |||
| 6 | <meta charset="utf-8"> | ||
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 8 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| 9 | |||
| 10 | <meta name="theme-color" content="#ffffff"> | ||
| 11 | <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> | ||
| 12 | |||
| 13 | {% include "partials/preconnect.twig" %} | ||
| 14 | |||
| 15 | <title>{{ options.title }}</title> | ||
| 16 | <meta name="author" content="{{ global.author }}"> | ||
| 17 | <meta name="description" content="{{ options.description }}"> | ||
| 18 | |||
| 19 | <meta property="og:title" content="{{ options.title }}"> | ||
| 20 | <meta property="og:description" content="{{ options.description }}"> | ||
| 21 | <meta property="og:url" content="{{ global.domain }}{{ options.slug }}"> | ||
| 22 | |||
| 23 | <meta name="twitter:card" content="summary"> | ||
| 24 | <meta name="twitter:site" content="{{ global.twitter }}"> | ||
| 25 | |||
| 26 | <link rel="alternate" type="application/atom+xml" title="{{ global.author }}'s feed" href="/feed.atom"> | ||
| 27 | <link rel="stylesheet" href="/static/style.css?v={{ " now"|date("YmdHi") }}"> | ||
| 28 | <link rel="icon" type="image/png" href="/static/avatar-64x64.png?v={{ " now"|date("YmdHi") }}"> | ||
| 29 | |||
| 30 | </head> | ||
| 31 | |||
| 32 | <body> | ||
| 33 | |||
| 34 | <main> | ||
| 35 | |||
| 36 | {% include "partials/navigation.twig" %} | ||
| 37 | |||
| 38 | <article> | ||
| 39 | <header> | ||
| 40 | <h1>{{ options.title }}</h1> | ||
| 41 | <div class="info"> | ||
| 42 | <time datetime="{{ options.date|date(" Y, F j") }}">{{ options.date|date("Y, F j") }}</time> | ||
| 43 | <span>by {{ global.author }}</span> | ||
| 44 | </div> | ||
| 45 | </header> | ||
| 46 | |||
| 47 | {% if options.hide == 'true' %} | ||
| 48 | <div class="draft">Draft</div> | ||
| 49 | {% endif %} | ||
| 50 | |||
| 51 | {{ content }} | ||
| 52 | |||
| 53 | {#<div id="replybox"></div> | ||
| 54 | <script> | ||
| 55 | window.replybox = { | ||
| 56 | site: 'm6gBxwQnbM', | ||
| 57 | }; | ||
| 58 | </script> | ||
| 59 | <script src="https://cdn.getreplybox.com/js/embed.js"></script>#} | ||
| 60 | |||
| 61 | </article> | ||
| 62 | |||
| 63 | </main> | ||
| 64 | |||
| 65 | <!-- code highlighting --> | ||
| 66 | {{ global.highlight }} | ||
| 67 | |||
| 68 | <!-- google analytics --> | ||
| 69 | {{ global.ga }} | ||
| 70 | |||
| 71 | </body> | ||
| 72 | |||
| 73 | </html> | ||
