commit e7192f84266231e5e98b74c83e79d0b980911447
parent b780a176b97e12630efb00b66c545ec055bdc60e
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Thu,  3 Sep 2020 14:45:13 +0200

Categories capitalized

Now declarations are capitalized to avoid complexity.

Diffstat:
Mcontent/blog/2019-09-09-getting-a-domain.md | 4++--
Mcontent/blog/2019-09-11-joplin.md | 4++--
Mcontent/blog/2019-09-23-upgrading-providers.md | 6+++---
Mcontent/blog/2019-10-06-dark-theme.md | 4++--
Mcontent/blog/2019-10-19-password-manager.md | 2+-
Mcontent/blog/2019-10-27-ship-scrappy.md | 2+-
Mcontent/blog/2019-11-04-new-host.md | 4++--
Mcontent/blog/2019-11-10-deploying-website.md | 2+-
Mcontent/blog/2019-11-17-lineageos-with-microg.md | 2+-
Mcontent/blog/2019-11-24-backups.md | 2+-
Mcontent/blog/2019-12-06-composer.md | 2+-
Mcontent/blog/2019-12-15-your-corner-of-the-internet.md | 4++--
Mcontent/blog/2019-12-24-new-world-of-software.md | 2+-
Mcontent/blog/2020-01-12-securing-communications.md | 2+-
Mcontent/blog/2020-01-17-documenting-server.md | 2+-
Mcontent/blog/2020-01-25-syncthing.md | 2+-
Mcontent/blog/2020-02-12-deploying-hugo-site.md | 4++--
Mcontent/blog/2020-02-23-sharing-a-secret.pdc | 2+-
Mcontent/blog/2020-03-01-new-domain-name.md | 4++--
Mcontent/blog/2020-03-02-types-of-networks.md | 2+-
Mcontent/blog/2020-03-12-lightweight-website.md | 2+-
Mcontent/blog/2020-03-21-lighter-website.md | 2+-
Mcontent/blog/2020-04-07-on-not-caring-about-your-privacy.md | 4++--
Mcontent/blog/2020-04-18-use-web-feeds.md | 2+-
Mcontent/blog/2020-05-27-blocking-connections-on-android.md | 2+-
Mcontent/blog/2020-06-23-setting-up-a-personal-git-server.md | 6+++---
Mcontent/blog/2020-08-09-what-is-this-vim-talk-all-about.md | 2+-
Mcontent/blog/2020-08-15-adding-about-pages-to-stagit.md | 2+-
Mcontent/blog/2020-08-30-davup.md | 2+-
Mlayouts/archive/single.html | 2+-
Mlayouts/partials/categories.html | 8+-------
Dlayouts/partials/first-upper.html | 4----
Mlayouts/partials/head-base.html | 2+-
33 files changed, 44 insertions(+), 54 deletions(-)

diff --git a/content/blog/2019-09-09-getting-a-domain.md b/content/blog/2019-09-09-getting-a-domain.md @@ -2,8 +2,8 @@ title: "Getting my own domain name" slug: "getting-a-domain" categories: [ - "decentralization", - "personal domain" + "Decentralization", + "Personal domain" ] date: 2019-09-09 lastmod: 2020-03-01 diff --git a/content/blog/2019-09-11-joplin.md b/content/blog/2019-09-11-joplin.md @@ -2,9 +2,9 @@ title: "My note taking app: Joplin" slug: "joplin" categories: [ - "decentralization", + "Decentralization", "FOSS", - "privacy" + "Privacy" ] date: 2019-09-11 lastmod: 2019-09-24 diff --git a/content/blog/2019-09-23-upgrading-providers.md b/content/blog/2019-09-23-upgrading-providers.md @@ -2,9 +2,9 @@ title: "Upgrading to privacy-conscious providers" slug: "upgrading-providers" categories: [ - "cryptography", - "decentralization", - "privacy" + "Cryptography", + "Decentralization", + "Privacy" ] date: 2019-09-23 lastmod: 2019-09-24 diff --git a/content/blog/2019-10-06-dark-theme.md b/content/blog/2019-10-06-dark-theme.md @@ -2,8 +2,8 @@ title: "Creating a dark theme" slug: "dark-theme" categories: [ - "personal domain", - "projects" + "Personal domain", + "Projects" ] date: 2019-10-06 --- diff --git a/content/blog/2019-10-19-password-manager.md b/content/blog/2019-10-19-password-manager.md @@ -2,7 +2,7 @@ title: "Switching to a password manager" slug: "password-manager" categories: [ - "cryptography" + "Cryptography" ] date: 2019-10-19 --- diff --git a/content/blog/2019-10-27-ship-scrappy.md b/content/blog/2019-10-27-ship-scrappy.md @@ -3,7 +3,7 @@ title: "Ship scrappy" slug: "ship-scrappy" subtitle: "I just wanted to post this interesting reflexion, as I tend to make sure everything is 100% perfect before “shipping it”. In some scenarios, this can be good, since you don't want what you are …" categories: [ - "miscellany" + "Miscellany" ] date: 2019-10-27 --- diff --git a/content/blog/2019-11-04-new-host.md b/content/blog/2019-11-04-new-host.md @@ -2,8 +2,8 @@ title: "New website hosting servers" slug: "new-host" categories: [ - "decentralization", - "personal domain" + "Decentralization", + "Personal domain" ] date: 2019-11-04 --- diff --git a/content/blog/2019-11-10-deploying-website.md b/content/blog/2019-11-10-deploying-website.md @@ -3,7 +3,7 @@ title: "Deploying a website using the WebDAV protocol" slug: "deploying-website" categories: [ "FOSS", - "personal domain" + "Personal domain" ] date: 2019-11-10 --- diff --git a/content/blog/2019-11-17-lineageos-with-microg.md b/content/blog/2019-11-17-lineageos-with-microg.md @@ -3,7 +3,7 @@ title: "Switching to LineageOS with microG" slug: "lineageos-with-microg" categories: [ "FOSS", - "privacy" + "Privacy" ] date: 2019-11-17 lastmod: 2019-11-22 diff --git a/content/blog/2019-11-24-backups.md b/content/blog/2019-11-24-backups.md @@ -3,7 +3,7 @@ title: "Backing up my computer" slug: "backups" categories: [ "FOSS", - "privacy" + "Privacy" ] date: 2019-11-24 --- diff --git a/content/blog/2019-12-06-composer.md b/content/blog/2019-12-06-composer.md @@ -3,7 +3,7 @@ title: "Designing a composing interface" slug: "composer" categories: [ "FOSS", - "projects" + "Projects" ] lastmod: 2019-12-06T01:00:00+00:00 date: 2019-12-06 diff --git a/content/blog/2019-12-15-your-corner-of-the-internet.md b/content/blog/2019-12-15-your-corner-of-the-internet.md @@ -2,8 +2,8 @@ title: "Your corner of the Internet" slug: "your-corner-of-the-internet" categories: [ - "decentralization", - "personal domain" + "Decentralization", + "Personal domain" ] lastmod: 2019-12-06 date: 2019-12-15 diff --git a/content/blog/2019-12-24-new-world-of-software.md b/content/blog/2019-12-24-new-world-of-software.md @@ -3,7 +3,7 @@ title: "A new world of software" slug: "new-world-of-software" categories: [ "FOSS", - "miscellany" + "Miscellany" ] date: 2019-12-24 --- diff --git a/content/blog/2020-01-12-securing-communications.md b/content/blog/2020-01-12-securing-communications.md @@ -2,7 +2,7 @@ title: "Securing communications" slug: "securing-communications" categories: [ - "cryptography" + "Cryptography" ] date: 2020-01-12 lastmod: 2020-08-10 diff --git a/content/blog/2020-01-17-documenting-server.md b/content/blog/2020-01-17-documenting-server.md @@ -2,7 +2,7 @@ title: "Documenting my server" slug: "documenting-server" categories: [ - "self-hosting" + "Self-hosting" ] date: 2020-01-17 lastmod: 2020-03-01 diff --git a/content/blog/2020-01-25-syncthing.md b/content/blog/2020-01-25-syncthing.md @@ -4,7 +4,7 @@ slug: "syncthing" categories: [ "Decentralization", "FOSS", - "privacy" + "Privacy" ] date: 2020-01-25 --- diff --git a/content/blog/2020-02-12-deploying-hugo-site.md b/content/blog/2020-02-12-deploying-hugo-site.md @@ -2,8 +2,8 @@ title: "Deploying a website built with Hugo" slug: "deploying-hugo-site" categories: [ - "personal domain", - "self-hosting" + "Personal domain", + "Self-hosting" ] date: 2020-02-12 --- diff --git a/content/blog/2020-02-23-sharing-a-secret.pdc b/content/blog/2020-02-23-sharing-a-secret.pdc @@ -2,7 +2,7 @@ title: "Sharing a secret" slug: "sharing-a-secret" categories: [ - "cryptography" + "Cryptography" ] date: 2020-02-23 --- diff --git a/content/blog/2020-03-01-new-domain-name.md b/content/blog/2020-03-01-new-domain-name.md @@ -2,8 +2,8 @@ title: "New domain name: oscarbenedito.com" slug: "new-domain-name" categories: [ - "miscellany", - "personal domain" + "Miscellany", + "Personal domain" ] date: 2020-03-01 --- diff --git a/content/blog/2020-03-02-types-of-networks.md b/content/blog/2020-03-02-types-of-networks.md @@ -2,7 +2,7 @@ title: "Centralized, decentralized and distributed networks" slug: "types-of-networks" categories: [ - "miscellany", + "Miscellany", ] date: 2020-03-02 --- diff --git a/content/blog/2020-03-12-lightweight-website.md b/content/blog/2020-03-12-lightweight-website.md @@ -2,7 +2,7 @@ title: "A lightweight website" slug: "lightweight-website" categories: [ - "personal domain" + "Personal domain" ] date: 2020-03-12 --- diff --git a/content/blog/2020-03-21-lighter-website.md b/content/blog/2020-03-21-lighter-website.md @@ -2,7 +2,7 @@ title: "A lighter website" slug: "lighter-website" categories: [ - "personal domain" + "Personal domain" ] date: 2020-03-21 --- diff --git a/content/blog/2020-04-07-on-not-caring-about-your-privacy.md b/content/blog/2020-04-07-on-not-caring-about-your-privacy.md @@ -2,8 +2,8 @@ title: "On not caring about your privacy" slug: "on-not-caring-about-your-privacy" categories: [ - "miscellany", - "privacy" + "Miscellany", + "Privacy" ] date: 2020-04-07T16:17:00+00:00 --- diff --git a/content/blog/2020-04-18-use-web-feeds.md b/content/blog/2020-04-18-use-web-feeds.md @@ -2,7 +2,7 @@ title: "Use web feeds!" slug: "use-web-feeds" categories: [ - "decentralization" + "Decentralization" ] date: 2020-04-18T14:59:00+00:00 --- diff --git a/content/blog/2020-05-27-blocking-connections-on-android.md b/content/blog/2020-05-27-blocking-connections-on-android.md @@ -2,7 +2,7 @@ title: "Blocking connections on Android" slug: "blocking-connections-on-android" categories: [ - "privacy" + "Privacy" ] date: 2020-05-27T19:01:00+00:00 --- diff --git a/content/blog/2020-06-23-setting-up-a-personal-git-server.md b/content/blog/2020-06-23-setting-up-a-personal-git-server.md @@ -2,9 +2,9 @@ title: "Setting up a personal Git server" slug: "setting-up-a-personal-git-server" categories: [ - "decentralization", - "personal domain", - "self-hosting" + "Decentralization", + "Personal domain", + "Self-hosting" ] date: 2020-06-23T16:10:00+00:00 lastmod: 2020-07-24T15:17:00+00:00 diff --git a/content/blog/2020-08-09-what-is-this-vim-talk-all-about.md b/content/blog/2020-08-09-what-is-this-vim-talk-all-about.md @@ -3,7 +3,7 @@ title: "What is this vim talk all about?" slug: "what-is-this-vim-talk-all-about" categories: [ "FOSS", - "miscellany" + "Miscellany" ] date: 2020-08-09T15:16:00+00:00 --- diff --git a/content/blog/2020-08-15-adding-about-pages-to-stagit.md b/content/blog/2020-08-15-adding-about-pages-to-stagit.md @@ -3,7 +3,7 @@ title: "Adding about pages to stagit" slug: "adding-about-pages-to-stagit" categories: [ "FOSS", - "projects" + "Projects" ] date: 2020-08-15T19:59:00+00:00 --- diff --git a/content/blog/2020-08-30-davup.md b/content/blog/2020-08-30-davup.md @@ -3,7 +3,7 @@ title: "DAVup: back up your contacts and calendars" slug: "davup" categories: [ "FOSS", - "projects" + "Projects" ] date: 2020-08-30T19:27:00+00:00 --- diff --git a/layouts/archive/single.html b/layouts/archive/single.html @@ -20,7 +20,7 @@ <h2>Categories ({{ len .Site.Taxonomies.categories }})</h2> <ul> {{- range .Site.Taxonomies.categories }} - <li><a href="{{ .Page.RelPermalink }}">{{ partial "first-upper.html" .Page.Title }}</a> ({{ .Count }} {{ if eq .Count 1}}entry{{ else }}entries{{ end }})</li> + <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ .Count }} {{ if eq .Count 1}}entry{{ else }}entries{{ end }})</li> {{- end }} </ul> </div> diff --git a/layouts/partials/categories.html b/layouts/partials/categories.html @@ -1,10 +1,4 @@ {{ range $i, $e := ( .Params.categories ) }} {{- if $i }}, {{ end -}} - <a class="p-category" href="{{ "blog/categories/" | relURL }}{{ $e | urlize }}"> - {{- if $i }} - {{- $e }} - {{- else }} - {{- partial "first-upper.html" $e }} - {{- end -}} - </a> + <a class="p-category" href="{{ "blog/categories/" | relURL }}{{ $e | urlize }}">{{ $e }}</a> {{- end -}} diff --git a/layouts/partials/first-upper.html b/layouts/partials/first-upper.html @@ -1,4 +0,0 @@ -{{ $chars := split . "" }} -{{- range $i, $e := $chars }} - {{- if $i }}{{ $e }}{{ else }}{{ $e | title }}{{ end }} -{{- end -}} diff --git a/layouts/partials/head-base.html b/layouts/partials/head-base.html @@ -5,5 +5,5 @@ {{- $favicon := resources.Get "img/favicon.min.svg" | fingerprint }} <link rel="icon" href="{{ $favicon.RelPermalink }}"> <link rel="shortcut icon" href="/favicon.ico"> -<title>{{ if .Params.headtitle }}{{ .Params.headtitle }} | {{ else if eq .Kind "term" }}{{ partial "first-upper.html" .Title }} | {{ else if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title> +<title>{{ if .Params.headtitle }}{{ .Params.headtitle }} | {{ else if eq .Kind "term" }}{{ .Title }} | {{ else if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title> <link rel="alternate" type="application/atom+xml" title="Oscar's Blog" href="/blog/index.xml">