Commit Graph

314 Commits

Author SHA1 Message Date
7437483b3b correct reference to taxonomy name 2025-04-15 17:33:32 -04:00
85872f23a2 correct whitespace, add taxon in list display 2025-04-15 17:32:00 -04:00
d1b15bc15b list taxon name 2025-04-15 17:17:48 -04:00
9e163ba77e make line mutable 2025-04-15 16:54:37 -04:00
a7f2d8abdb correct display of taxon and terms 2025-04-15 15:00:50 -04:00
337855cfce Ability to turn on "go to top" button on regular pages (fixes #115) 2025-03-30 07:52:03 +03:00
fe079da67b Allow disabling the share preview card (fixes #122) 2025-03-30 07:46:45 +03:00
af524137a9 Fix build failing if taxonomy is set to anything other than "tags" (fixes #126)
This does not fix other issues however, notably links still point to
/tags, and it's displayed as tags in the UI.
2025-03-30 07:30:04 +03:00
673f77cfd1 Convert all icons to CSS variables, add feed button next to tags heading 2024-12-23 23:20:43 +03:00
08860f5974 Automatic contrast color picking (fixes #43) 2024-12-23 22:48:34 +03:00
f2cd992522 Not use all available width for sidebar 2024-12-04 02:58:08 +03:00
b27158102a Merge branch 'main' into allow-sharing-without-description 2024-12-03 22:08:02 +00:00
176ec48cea Check if page.description is empty before trying to use it
The article.html template, when the sharing button is enabled, uses the
description of the page to generate the share link. However the end user
may not want descriptions. If a page description is empty, the following
error is thrown:

```
Error: Failed to build the site
Error: Failed to render page '/home...index.md'
Error: Reason: Failed to render 'article.html'
Error: Reason: Filter call 'urlencode' failed
Error: Reason: Filter `urlencode` was called on an incorrect value: got `null` but expected a String
```

We now check if the description is not empty before passing it to
urlencode, and don't use it if it is not set
2024-12-03 23:01:38 +01:00
0d479ef409 Use table_of_contents string instead of toc 2024-12-01 17:19:21 +03:00
915a71fecd Optional TOC sidebar (fixes #107) 2024-12-01 16:55:08 +03:00
73b2c24018 Smarter title 2024-12-01 15:05:14 +03:00
39cf0d0bce Remove extra </small> closing tag (fixes #110) 2024-12-01 14:12:20 +03:00
4b1fac1f17 Backport some changes and fixes
Return the separator customization that got lost in some commit
Don't blur the nav when it's not visible
Don't scale down the article card when clicking on a tag
2024-11-14 19:40:54 +03:00
e867a12356 Margin and variables stuff 2024-10-30 20:56:30 +03:00
6c405946c6 Add external class to https:// links in navbar/footer 2024-10-29 02:16:52 +03:00
3fea028e25 Make auto-hide optional 2024-10-28 06:46:53 +03:00
8f9fb1e88a Show navbar on hover/keyboard focus 2024-10-28 05:23:59 +03:00
77b16597b0 Remove reduant class 2024-10-27 03:19:57 +03:00
81d366d184 Add back support for lazy images in comments 2024-10-26 01:05:33 +03:00
65f0fd5159 Add support for CWs in comments 2024-10-25 22:43:50 +03:00
35382b15b5 Add config.extra.debug_no_styles for debugging 2024-10-24 13:21:14 +03:00
694479bcdb Improved comments (see changelog) 2024-10-23 04:35:15 +03:00
732217ccea Append comments host in CSP 2024-10-18 20:30:23 +03:00
bc9a13d630 Even tighter CSP
Will this fix it?

Remove inline script and style from demo

Okay I'm dumb

Ugh
2024-10-18 20:09:33 +03:00
26b12aadf6 Rewrite half the theme to make Mozilla observatory more happy about strict CSP 2024-10-18 18:16:38 +03:00
932c7d9aa4 Work on the sparkline [SKIP CI] 2024-10-18 03:23:07 +03:00
8bf69a5d71 The big shortcode cleanup 2024-10-17 17:00:35 +03:00
36812777f9 Implement backlinks 2024-10-17 01:28:07 +03:00
77df7c1120 Add title class for use on <strong> 2024-10-17 00:26:47 +03:00
b64f9b31f1 Comment out code that prevented opening the search after clicking outside of it 2024-10-16 23:30:38 +03:00
841ccc5fa5 Add support for Fuse.js search (fixes #101) 2024-10-16 23:23:40 +03:00
5f675383e5 Move fediverse:creator meta tag higher in head 2024-10-14 18:47:15 +03:00
4e595760c8 Cleaner article card code and styles 2024-10-14 04:59:30 +03:00
003ec0b29a Remove drafted watermark for now
The implementation wasn't as clean as I'd like it to be
2024-10-12 18:17:45 +03:00
ef3525952e Support fediverse:creator meta tag 2024-10-12 00:51:28 +03:00
a7e1112791 Use Zola's built-in reading time variable instead of the custom implementation (fixes #102) 2024-10-12 00:22:35 +03:00
800efa802a Add "DRAFTED" watermark to drafted posts 2024-10-11 23:42:15 +03:00
14dd7f0337 Bump to v5.4.0 2024-10-06 19:06:12 +03:00
e63a2cdc62 Add external class to the source link 2024-10-06 16:05:23 +03:00
01e6609286 Scale article cards down when pressed 2024-10-06 07:17:21 +03:00
636fad2fd5 Make the entire article card clickable (fixes #92)
Plus change the title font, since it no longer has an underline
2024-10-06 06:26:15 +03:00
e2c3f7581b Add support for Content Security Policy (fixes #90) 2024-10-05 22:46:06 +03:00
aa43730750 Adjust strings to make translation to specific languages possible (#100) 2024-10-05 17:15:31 +03:00
f66f757022 Make it possible to rearrange the "Powered by" links (for i18n) 2024-10-03 08:02:36 +03:00
3080a2ca70 Improve TOC logic, reduce code duplication and add changelog entries 2024-10-02 20:30:55 +03:00