From 287853e59f8f245020a96578ad2c18f0a303f8cf Mon Sep 17 00:00:00 2001 From: Rob Hand <146272+sinon@users.noreply.github.com> Date: Sat, 30 Aug 2025 16:05:37 +0100 Subject: [PATCH 1/2] Add TILs section --- config.toml | 1 + content/tils/_index.md | 9 +++++++++ content/tils/til_about_tils_posts.md | 10 ++++++++++ templates/section.html | 1 + 4 files changed, 21 insertions(+) create mode 100644 content/tils/_index.md create mode 100644 content/tils/til_about_tils_posts.md create mode 100644 templates/section.html diff --git a/config.toml b/config.toml index 44b9c8d..99c8fe1 100644 --- a/config.toml +++ b/config.toml @@ -29,6 +29,7 @@ after_dark_menu = [ { name = "Home", url = "$BASE_URL" }, { name = "About", url = "$BASE_URL/about/" }, { name = "Now", url = "$BASE_URL/now/" }, + { name = "TILs", url = "$BASE_URL/tils/" }, { name = "Tags", url = "$BASE_URL/tags" }, { name = "Source", url = "https://github.com/sinon/sinon.github.io" }, { name = "GitHub", url = "https://github.com/sinon" }, diff --git a/content/tils/_index.md b/content/tils/_index.md new file mode 100644 index 0000000..7e0066f --- /dev/null +++ b/content/tils/_index.md @@ -0,0 +1,9 @@ ++++ +title = "TILs" +sort_by = "date" +paginate_by = 10 +paginate_path = "page" +weight = 0 +template = "section.html" +render = true ++++ \ No newline at end of file diff --git a/content/tils/til_about_tils_posts.md b/content/tils/til_about_tils_posts.md new file mode 100644 index 0000000..b7030c8 --- /dev/null +++ b/content/tils/til_about_tils_posts.md @@ -0,0 +1,10 @@ ++++ +title = "Writing more, writing TILs" +date = 2025-08-30 +[taxonomies] +tags = ["til"] ++++ + +[Simon Willison](https://simonwillison.net/) co-creator of Django, profilific blogger and general font of knowledge on how pelicans ride biycles in this brave new LLM world, has a section of his blog devoted to TILs. + +To help make writing a more regular habit I am ~~copying~~ stealing this. \ No newline at end of file diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..f9b87df --- /dev/null +++ b/templates/section.html @@ -0,0 +1 @@ +{% extends "after-dark/templates/index.html" %} \ No newline at end of file From 143543244b4c3fb40f912567f380491af1aa287d Mon Sep 17 00:00:00 2001 From: Rob Hand <146272+sinon@users.noreply.github.com> Date: Sat, 30 Aug 2025 16:07:43 +0100 Subject: [PATCH 2/2] spelling --- content/tils/til_about_tils_posts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tils/til_about_tils_posts.md b/content/tils/til_about_tils_posts.md index b7030c8..7689986 100644 --- a/content/tils/til_about_tils_posts.md +++ b/content/tils/til_about_tils_posts.md @@ -5,6 +5,6 @@ date = 2025-08-30 tags = ["til"] +++ -[Simon Willison](https://simonwillison.net/) co-creator of Django, profilific blogger and general font of knowledge on how pelicans ride biycles in this brave new LLM world, has a section of his blog devoted to TILs. +[Simon Willison](https://simonwillison.net/) co-creator of Django, prolific blogger and general font of knowledge on how pelicans ride bicycles in this brave new LLM world, has a section of his blog devoted to TILs. To help make writing a more regular habit I am ~~copying~~ stealing this. \ No newline at end of file