From 60680fad3741735a75d66c185639ab1c057c6560 Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 18 May 2023 23:24:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/blog/custom-font-subset.md | 3 ++- theme.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/blog/custom-font-subset.md b/content/blog/custom-font-subset.md index ba2c833..e776c30 100644 --- a/content/blog/custom-font-subset.md +++ b/content/blog/custom-font-subset.md @@ -1,6 +1,7 @@ +++ title = "Optimise loading times with a custom font subset" date = 2023-04-29 +updated = 2023-05-18 description = "Learn how to create a custom subset that only includes the necessary glyphs." [taxonomies] @@ -176,6 +177,6 @@ Make sure to modify the script to match the path where you stored the `subset_fo Now, every time you commit changes to your Git project, the pre-commit hook will check for modifications in the `config.toml` file and automatically run the `subset_font` script to update the `custom_subset.css` file. -By the way, if you're interested in a way to automatically update the date of your Zola posts or compress your PNG files, check out [this post](https://welpo.ooo/blog/zola-date-git-hook/). +By the way, if you're interested in a way to automatically update the date of your Zola posts or compress your PNG files, check out [this post](https://osc.garden/blog/zola-date-git-hook/). If you want to use all scripts at once (compressing PNG files, updating the date, and creating the font subset), combine their code into a single `.git/hooks/pre-commit` file. diff --git a/theme.toml b/theme.toml index 98feb7b..86de9c4 100644 --- a/theme.toml +++ b/theme.toml @@ -12,7 +12,7 @@ demo = "https://welpo.github.io/tabi" # The theme author info: you! [author] name = "Óscar Fernández" -homepage = "https://welpo.ooo" +homepage = "https://osc.garden" # Any variable there can be overridden in the end user `config.toml` # You don't need to prefix variables by the theme name but as this will