commit 2c92e04ef06e2f88d3ad988748c691e042128475
parent 2db2781f0c2806243868fe401a266d85ef8d0025
Author: oscarbenedito <oscar@obenedito.org>
Date:   Sun, 16 Feb 2020 17:06:41 +0100

Bugs and details

Diffstat:
Mconfig.toml | 4+++-
Mcontent/resources.md | 1+
Mlayouts/composer/single.html | 8++++----
Mlayouts/index.html | 4++--
Mlayouts/partials/404.html | 4++--
Mlayouts/partials/head-base.html | 2+-
6 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/config.toml b/config.toml @@ -5,9 +5,11 @@ paginate = 5 pygmentsStyle = "solarized-dark256" disableKinds = "taxonomyTerm" +[Author] + name = "Oscar Benedito" + [params] blog_title = "Personal blog" - Author = "Oscar Benedito" active_years = ["2020", "2019"] [taxonomies] diff --git a/content/resources.md b/content/resources.md @@ -25,6 +25,7 @@ Blogs I have found interesting, alphabetically sorted. - [davd.io](https://www.davd.io/) — [RSS feed](https://www.davd.io/index.xml) - [Dave Lane](https://davelane.nz/blog) — [RSS feed](https://davelane.nz/rss.xml) - [Emanuel Pina](https://emanuelpina.pt/) — [RSS feed](https://emanuelpina.pt/index.xml) + - [Henrique Dias](https://hacdias.com/blog/) - [RSS feed](https://hacdias.com/blog/feed.xml) - [InfoSec Handbook](https://infosec-handbook.eu/blog/) — [RSS feed](https://infosec-handbook.eu/blog/index.xml) - [Jan-Lukas Else](https://jlelse.blog/) — [RSS feed](https://jlelse.blog/index.xml) - [Justin Vollmer](https://www.justinvollmer.com/) — [RSS feed](https://www.justinvollmer.com/feed/) diff --git a/layouts/composer/single.html b/layouts/composer/single.html @@ -10,9 +10,9 @@ <nav> <span id="word-count">0 words &middot; 0 minutes</span> &middot; <a onclick="toggleTheme()">Toggle theme</a> </nav> - <textarea id="composer" placeholder="Start writing..." autofocus></textarea> - {{ $js := resources.Get "js/composer.js" | resources.Minify }} - <script type="text/javascript" src="{{ $js.RelPermalink }}"></script> - <a href="/jsweblabels/" rel="jslicense" style="display: none;">JavaScript Web Labels</a> + <textarea id="composer" placeholder="Start writing..." autofocus></textarea> + {{ $js := resources.Get "js/composer.js" | resources.Minify }} + <script type="text/javascript" src="{{ $js.RelPermalink }}"></script> + <a href="/jsweblabels/" rel="jslicense" style="display: none;">JavaScript Web Labels</a> </body> </html> diff --git a/layouts/index.html b/layouts/index.html @@ -3,14 +3,14 @@ <head> <meta charset="utf-8"> <meta name="description" content="Oscar Benedito's website"> - <meta name="author" content="{{ .Site.Author }}"> + <meta name="author" content="{{ .Site.Author.name }}"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <title>Oscar Benedito</title> {{ $favicon := resources.Get "img/favicon.min.svg" }} <link rel="icon" href="{{ $favicon.RelPermalink }}"> <link rel="shortcut icon" href="/favicon.ico"> {{- $style := resources.Get "css/landing.css" | resources.Minify }} - <link rel="stylesheet" href="{{ $style.Permalink }}"> + <link rel="stylesheet" href="{{ $style.RelPermalink }}"> </head> <body> <div class="content"> diff --git a/layouts/partials/404.html b/layouts/partials/404.html @@ -3,13 +3,13 @@ <head> <meta charset="utf-8"> <meta name="description" content="Oscar Benedito's website"> - <meta name="author" content="{{ .Site.Author }}"> + <meta name="author" content="{{ .Site.Author.name }}"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <title>404 Error | Oscar Benedito</title> {{ $favicon := resources.Get "img/favicon.min.svg" }} <link rel="icon" href="{{ $favicon.RelPermalink }}"> {{- $style := resources.Get "css/landing.css" | resources.Minify }} - <link rel="stylesheet" href="{{ $style.Permalink }}"> + <link rel="stylesheet" href="{{ $style.RelPermalink }}"> </head> <body> <div class="content"> diff --git a/layouts/partials/head-base.html b/layouts/partials/head-base.html @@ -1,7 +1,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> {{/* {{ if .Site.Params.description }}<meta name="description" content="{{ site.description }}">{% endif %} */}} -<meta name="author" content="{{ .Site.Params.Author }}"> +<meta name="author" content="{{ .Site.Author.name }}"> {{ $favicon := resources.Get "img/favicon.min.svg" }} <link rel="icon" href="{{ $favicon.RelPermalink }}"> <link rel="shortcut icon" href="/favicon.ico">