summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-06-14 22:26:01 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-06-14 22:26:01 +0100
commitb47c34a79f63ff9ec10793834315a446a4026184 (patch)
tree7c8a8df717643b3691a8485e1f7276b63d9df334 /source
parentdcf43ee844c4d34cc41161bbcb21ca7b290f963d (diff)
Remove date from post url
Diffstat (limited to 'source')
-rw-r--r--source/_posts/adding_a_user_in_arch_linux.md2
-rw-r--r--source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/_posts/adding_a_user_in_arch_linux.md b/source/_posts/adding_a_user_in_arch_linux.md
index e6ad198..1cb48c6 100644
--- a/source/_posts/adding_a_user_in_arch_linux.md
+++ b/source/_posts/adding_a_user_in_arch_linux.md
@@ -7,7 +7,7 @@ description: Use the command line to add a user in Arch Linux
tags: [Arch]
---
-In a [previous post](/posts/2020-05-25/installing_arch_linux_on_a_x220_thinkpad) I installed Arch Linux on my Thinkpad X220. Since it was a very minimal install there are no user accounts except for the root user. So to add myself as a user I need to use the *useradd* command.
+In a [previous post](/posts/installing-arch-linux-on-a-x220-thinkpad) I installed Arch Linux on my Thinkpad X220. Since it was a very minimal install there are no user accounts except for the root user. So to add myself as a user I need to use the *useradd* command.
```shell
$ useradd -m -s /bin/bash david
diff --git a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
index e03b3eb..9268d6f 100644
--- a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
+++ b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md
@@ -7,7 +7,7 @@ description: How I use Netlify build hooks to automatically publish scheduled po
tags: [Netlify]
---
-A [previous post](/posts/2020-06-01/scheduling_posts_in_jigsaw) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this.
+A [previous post](/posts/scheduling-posts-in-jigsaw) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this.
For those that don't know [build hooks](https://docs.netlify.com/configure-builds/build-hooks/) are URLs you can use to trigger new builds and deployments in Netlify. By making a HTTP POST request to a URL, Netlify will pull down the latest master branch of your site, build it, and then deploy it.