aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Jesus <adbjesus@gmail.com>2023-08-01 13:33:20 +0100
committerAlexandre Jesus <adbjesus@gmail.com>2023-08-01 13:33:20 +0100
commitd27c94ba4e1ac7b646e8ec24a7887e99706aeddd (patch)
tree7d5cc7cc7448a074d537675543402264e7673672
parent5a683a0f6e6334d614da52aa6b2fb948454b7e46 (diff)
downloadadbjesus.com-d27c94ba4e1ac7b646e8ec24a7887e99706aeddd.tar.gz
adbjesus.com-d27c94ba4e1ac7b646e8ec24a7887e99706aeddd.zip
hello-world: update website link, and flake-utils note, added updated info
-rw-r--r--content/blog/01-hello-world/index.md16
-rw-r--r--content/blog/01-hello-world/index.org19
-rw-r--r--templates/page.html2
3 files changed, 27 insertions, 10 deletions
diff --git a/content/blog/01-hello-world/index.md b/content/blog/01-hello-world/index.md
index adb9d3f..08aa644 100644
--- a/content/blog/01-hello-world/index.md
+++ b/content/blog/01-hello-world/index.md
@@ -1,8 +1,9 @@
---
-author: Alexandre D. B. Jesus
+author: Alexandre Jesus
date: 2022-08-29
slug: hello-world
title: Hello, world!
+updated: 2023-08-01
---
I have been thinking of starting a blog for a while, mostly to write
@@ -11,8 +12,8 @@ improve my writing skills. I expect to mostly write about Programming,
Emacs, Linux, and other tech topics. But we will see where it goes.
In this first post I will quickly go over the implementation and
-deployment of this site. Note that, you can find the code for this site
-at <https://git.adbjesus.com/website>.
+deployment of this site. You can find the source code for the website at
+<https://git.adbjesus.com/adbjesus.com>.
### Static Site Generator
@@ -114,7 +115,9 @@ You can find the Org source for this post [here](index.org).
I deploy this site to my [NixOS](https://nixos.org) server using the
declarative NixOS configuration capabilities. For this I have a
-`flake.nix` in the repository of this site:
+`flake.nix` in the repository of this site (edit: as of 2023-08-01 the
+flake no longer uses flake-utils but the idea is the same, you can check
+the latest version on the repository):
``` nix
{
@@ -185,3 +188,8 @@ services.nginx.virtualHosts = {
In the future, I will write more about my NixOS configuration using
flakes, which I use to manage my personal computers and server.
+
+### Edits
+
+- 2023-01-08: Updated the link to the website, added note stating that I
+ no longer use flake-utils.
diff --git a/content/blog/01-hello-world/index.org b/content/blog/01-hello-world/index.org
index 3daa0c1..151b302 100644
--- a/content/blog/01-hello-world/index.org
+++ b/content/blog/01-hello-world/index.org
@@ -1,11 +1,12 @@
#+TITLE: Hello, world!
#+DATE: 2022-08-29
-#+AUTHOR: Alexandre D. B. Jesus
+#+AUTHOR: Alexandre Jesus
#+PANDOC_METADATA: slug:hello-world
+#+PANDOC_METADATA: updated:2023-08-01
#+PANDOC_EXTENSIONS: commonmark+yaml_metadata_block
#+PANDOC_OPTIONS: standalone:t
#+PANDOC_OPTIONS: shift-heading-level-by:2
-#+SPDX-FileCopyrightText: 2022 Alexandre D. B. Jesus <https://adbjesus.com>
+#+SPDX-FileCopyrightText: 2022 Alexandre Jesus <https://adbjesus.com>
#+SPDX-License-Identifier: CC-BY-SA-4.0
I have been thinking of starting a blog for a while, mostly to write
@@ -14,8 +15,8 @@ improve my writing skills. I expect to mostly write about Programming,
Emacs, Linux, and other tech topics. But we will see where it goes.
In this first post I will quickly go over the implementation and
-deployment of this site. Note that, you can find the code for this
-site at https://git.adbjesus.com/website.
+deployment of this site. You can find the source code for the website
+at https://git.adbjesus.com/adbjesus.com.
* Static Site Generator
@@ -111,7 +112,9 @@ You can find the Org source for this post [[file:index.org][here]].
I deploy this site to my [[https://nixos.org][NixOS]] server using the declarative NixOS
configuration capabilities. For this I have a =flake.nix= in the
-repository of this site:
+repository of this site (edit: as of 2023-08-01 the flake no longer
+uses flake-utils but the idea is the same, you can check the latest
+version on the repository):
#+begin_src nix
{
@@ -182,3 +185,9 @@ services.nginx.virtualHosts = {
In the future, I will write more about my NixOS configuration using
flakes, which I use to manage my personal computers and server.
+
+* Edits
+
+- 2023-01-08: Updated the link to the website, added note stating that
+ I no longer use flake-utils.
+
diff --git a/templates/page.html b/templates/page.html
index f3a86d8..d576bf6 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -4,7 +4,7 @@
<h2>{{ page.title }}</h2>
<div class="content">
{% if page.date %}
- <span>{{ page.date }}</span>
+ <p>{{ page.date }} {% if page.updated %}(updated on {{ page.updated }}){% endif %}</p>
{% endif %}
{{ page.content | safe }}
</div>