diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-03-23 03:41:44 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-03-23 03:41:44 +0100 |
| commit | c8443841638b57440c961b0ab70f2d14a8021466 (patch) | |
| tree | ccbeb9e332dcc59550e51ae10392c098403478bc /template | |
| parent | 4c69b3793bd09c92704726e8d89699af983ffef2 (diff) | |
| download | mitjafelicijan.com-c8443841638b57440c961b0ab70f2d14a8021466.tar.gz | |
Added new projects and cleaned up some templates
Diffstat (limited to 'template')
| -rwxr-xr-x | template/_includes.html | 2 | ||||
| -rwxr-xr-x | template/_navigation.html | 2 | ||||
| -rwxr-xr-x | template/index.html | 2 | ||||
| -rwxr-xr-x | template/post.html | 46 | ||||
| -rwxr-xr-x | template/style.css | 1 |
5 files changed, 29 insertions, 24 deletions
diff --git a/template/_includes.html b/template/_includes.html index 1b1d92a..4996940 100755 --- a/template/_includes.html +++ b/template/_includes.html | |||
| @@ -6,4 +6,4 @@ | |||
| 6 | 6 | ||
| 7 | <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/github.min.css"> | 7 | <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/github.min.css"> |
| 8 | <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> | 8 | <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> |
| 9 | <script>hljs.initHighlightingOnLoad();</script> \ No newline at end of file | 9 | <script>hljs.initHighlightingOnLoad();</script> |
diff --git a/template/_navigation.html b/template/_navigation.html index 2d60821..9225ede 100755 --- a/template/_navigation.html +++ b/template/_navigation.html | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | <a href="/my-music.html">My Music</a> | 10 | <a href="/my-music.html">My Music</a> |
| 11 | <a href="/curriculum-vitae.html">CV</a> | 11 | <a href="/curriculum-vitae.html">CV</a> |
| 12 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a> | 12 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a> |
| 13 | <a href="/feed.rss" itemprop="url">RSS feed</a> | 13 | <a href="/feed.rss" itemprop="url">RSS Feed</a> |
| 14 | </nav> | 14 | </nav> |
| 15 | </header> | 15 | </header> |
| 16 | </div> | 16 | </div> |
diff --git a/template/index.html b/template/index.html index 8a09228..73677a5 100755 --- a/template/index.html +++ b/template/index.html | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | <section class="project-list"> | 39 | <section class="project-list"> |
| 40 | <h4>Side projects I work on</h4> | 40 | <h4>Side projects I work on</h4> |
| 41 | <ul> | 41 | <ul> |
| 42 | <li><a href="https://github.com/mitjafelicijan/journalctl-proxy" target="_blank" rel="noopener nofollow">journalctl-proxy - Exposes your systemd logs to web via web interface</a></li> | ||
| 42 | <li><a href="https://github.com/mitjafelicijan/redis-marshal" target="_blank" rel="noopener nofollow">redis-marshal - Lightweight Redis data exploration tool</a></li> | 43 | <li><a href="https://github.com/mitjafelicijan/redis-marshal" target="_blank" rel="noopener nofollow">redis-marshal - Lightweight Redis data exploration tool</a></li> |
| 43 | <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> | 44 | <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> |
| 44 | <li><a href="https://github.com/mitjafelicijan/unfold" target="_blank" rel="noopener nofollow">unfold - Elastic Beanstalk like deployments for DigitalOcean</a></li> | 45 | <li><a href="https://github.com/mitjafelicijan/unfold" target="_blank" rel="noopener nofollow">unfold - Elastic Beanstalk like deployments for DigitalOcean</a></li> |
| @@ -51,6 +52,7 @@ | |||
| 51 | <hr class="top-margin"> | 52 | <hr class="top-margin"> |
| 52 | 53 | ||
| 53 | {{template "openring-build.html"}} | 54 | {{template "openring-build.html"}} |
| 55 | |||
| 54 | </main> | 56 | </main> |
| 55 | 57 | ||
| 56 | </body> | 58 | </body> |
diff --git a/template/post.html b/template/post.html index 3247d8f..d5c20f3 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -18,7 +18,9 @@ | |||
| 18 | <article itemtype="http://schema.org/Article"> | 18 | <article itemtype="http://schema.org/Article"> |
| 19 | <header> | 19 | <header> |
| 20 | <h1 itemtype="headline">{{.Title}}</h1> | 20 | <h1 itemtype="headline">{{.Title}}</h1> |
| 21 | {{if .Listing}} | ||
| 21 | <time>{{.CreatedFormatted}}</time> | 22 | <time>{{.CreatedFormatted}}</time> |
| 23 | {{end}} | ||
| 22 | </header> | 24 | </header> |
| 23 | <div> | 25 | <div> |
| 24 | {{.Content}} | 26 | {{.Content}} |
| @@ -26,31 +28,31 @@ | |||
| 26 | </article> | 28 | </article> |
| 27 | 29 | ||
| 28 | {{if .Listing}} | 30 | {{if .Listing}} |
| 29 | <section class="top-margin"> | 31 | <section class="top-margin"> |
| 30 | <a href="mailto:m@mitjafelicijan.com">➝ Get in contact with me via email.</a> | 32 | <a href="mailto:m@mitjafelicijan.com">➝ Get in contact with me via email.</a> |
| 31 | </section> | 33 | </section> |
| 32 | 34 | ||
| 33 | <hr class="top-margin"> | 35 | <hr class="top-margin"> |
| 34 | 36 | ||
| 35 | {{if .Posts}} | 37 | {{if .Posts}} |
| 36 | <nav class="top-margin"> | 38 | <nav class="top-margin"> |
| 37 | <h4>Read more from this site</h4> | 39 | <h4>Read more from this site</h4> |
| 38 | {{range $index, $post := .Posts}} | 40 | {{range $index, $post := .Posts}} |
| 39 | {{if (lt $index 5)}} | 41 | {{if (lt $index 5)}} |
| 40 | <p> | 42 | <p> |
| 41 | <time>{{$post.CreatedFormatted}}</time><br> | 43 | <time>{{$post.CreatedFormatted}}</time><br> |
| 42 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | 44 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> |
| 43 | {{$post.Title}} | 45 | {{$post.Title}} |
| 44 | </a> | 46 | </a> |
| 45 | </p> | 47 | </p> |
| 46 | {{end}} | ||
| 47 | {{end}} | ||
| 48 | </nav> | ||
| 49 | {{end}} | 48 | {{end}} |
| 49 | {{end}} | ||
| 50 | </nav> | ||
| 51 | {{end}} | ||
| 50 | 52 | ||
| 51 | <hr class="top-margin"> | 53 | <hr class="top-margin"> |
| 52 | 54 | ||
| 53 | {{template "openring-build.html"}} | 55 | {{template "openring-build.html"}} |
| 54 | {{end}} | 56 | {{end}} |
| 55 | 57 | ||
| 56 | </main> | 58 | </main> |
diff --git a/template/style.css b/template/style.css index d656282..b6d3841 100755 --- a/template/style.css +++ b/template/style.css | |||
| @@ -269,6 +269,7 @@ article a { | |||
| 269 | 269 | ||
| 270 | audio { | 270 | audio { |
| 271 | width: 100%; | 271 | width: 100%; |
| 272 | outline: none; | ||
| 272 | } | 273 | } |
| 273 | 274 | ||
| 274 | 275 | ||
