Update nixpkgs -> update hugo to 0.152.2

That also requires a couple of changes in the template. For some of them I just remove the corresponding feature like analytics and comments.
This commit is contained in:
Vojtěch Káně
2026-02-22 21:08:59 +01:00
parent 5b437caa4e
commit dd5da12b96
17 changed files with 21 additions and 46 deletions

View File

@@ -87,12 +87,6 @@ In Hugo, layouts can live in either the projects (root) or the themes layo
##### Customize social icons
You can modify or add any svg icons in site's `layouts/partials/svg.html`.
##### Customize comment system
We only have built-in support for Disqus at the moment, if that doesn't fit your needs, you can just add html to site's `layouts/partials/comments.html`.
##### Add custom analytics
If you prefer to use different analytics system other than google analytics, then add them inside `layouts/partials/analytics.html`.
#### Customize CSS
If you'd like to customize theme color or fonts, you can simply override `assets/scss/_predefined.scss`, by simply copy it to site's root (keep the same relative path) then edit those variables. But keep in mind, you'll need **Hugo extended version** which has the ability to rebuild SCSS. You don't have to use extended version in production but in this case it's necessary to make sure the `resources` folder is committed and "up to date" (by running `hugo` or `hugo server` locally using the extended version). But anyway, always use the extended version if you can.