commit 06baae3ef643939c44a63fc1fd629082e44b7bf8
parent 74fdb1d4c67b769f93c6fbc9437b67a9eaa64007
Author: oscarbenedito <oscar@obenedito.org>
Date:   Mon,  4 Nov 2019 22:12:10 +0100

New entry: new-host

Diffstat:
Massets/css/style.scss | 5+++--
Mcontent/blog/2019-10-27-ship-scrappy.md | 2+-
Acontent/blog/2019-11-04-new-host.md | 14++++++++++++++
Mlayouts/_default/list.html | 2+-
4 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/assets/css/style.scss b/assets/css/style.scss @@ -537,12 +537,13 @@ article { } .post-content .highlight, .post-content pre { - margin-left: calc(var(--gap) * -1); - margin-right: calc(var(--gap) * -1); margin-bottom: 32px; background: var(--hljs-bg) !important; border-radius: var(--radius); } + .post-content pre { + overflow-x: auto; + } .post-content .highlight pre { margin-left: 0; margin-right: 0; diff --git a/content/blog/2019-10-27-ship-scrappy.md b/content/blog/2019-10-27-ship-scrappy.md @@ -1,7 +1,7 @@ --- title: "Ship scrappy" categories: personal -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 …" +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 …" --- > The only choice is to launch before you’re ready.\ > Before it’s perfect.\ diff --git a/content/blog/2019-11-04-new-host.md b/content/blog/2019-11-04-new-host.md @@ -0,0 +1,14 @@ +--- +title: "New website hosting servers" +categories: personal +tags: ["Website", "Personal domain", "Hosting services", "Autistici/Inventati"] +--- +Until yesterday, this website had been hosted by [GitLab](https://gitlab.com/) (using GitLab Pages). For some time now the fact that they used servers owned by Google bothered me, so I have been looking for a new host for a while. + +One possibility I looked at was paying for a virtual private server. They aren't particularly expensive, but since the complete website's size is under 1MiB, a whole virtual server is a bit too much. Of course, I could use it to host other services (maybe a private Gitea instance, or a database to backup my files), but those are services that I don't need right now. Besides, I still wouldn't have any power to ensure no IPs of my visitors are logged somewhere, so it wouldn't solve my problems. + +Another option I considered was getting a home server. I would love to learn how to build a server out of nothing, set it up and get it up and running, but I don't want to have a computer running 24&#47;7 at home and, if it was to stop working, my website would be down for some time (until I had spare time to fix it). Indubitably, any server can have downtime, but I trust that volunteers partly dedicated to maintaining servers will be able to fix issues before I can do it myself. + +So I had to find a privacy respecting host that would serve a small static site like mine at a reasonable price. I found a couple of sites that interested me, but [Autistici/Inventati](https://www.autistici.org) was the one that got most of my attention. First of all, they respect users' privacy—or so they claim—and it is one of the projects that has given me the best impression in this matter so far. They also have a decentralized network thanks to the [R* plan](https://www.autistici.org/who/rplan/) and, on top of that, the project has ethical values that I share (something that I wasn't looking for in a host, but is much appreciated). Finally, my hosting is free of charge, although I will donate to the project to help it keep running. + +In conclusion, I am very happy with my new host. It is better than what I was looking for and I get to choose how much I want to pay for it. What is more, I know that anything I donate to support it will go to a project trying to make a better internet. diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -25,7 +25,7 @@ {{ if .Params.subtitle }} <p class="p-summary">{{ .Params.subtitle }}</p> {{ else }} - <p class="p-summary">{{ .Content | truncate 200 }}</p> + <p class="p-summary">{{ .Plain | htmlUnescape | truncate 200 }}</p> {{ end }} </section> <footer>