Commit Graph

216 Commits

Author SHA1 Message Date
Philipp Oppermann
f0fe3929ab Fix: Use correct category ID for comment threads of translated posts 2023-06-25 14:12:40 +02:00
Philipp Oppermann
a86304d932 Fix prev/next links for old status update posts 2022-10-03 13:22:18 +02:00
Philipp Oppermann
09aa0347d1 Update zola to v0.16.1 2022-10-03 13:12:35 +02:00
Philipp Oppermann
87794f2240 Translate the giscus comment system 2022-06-07 10:50:35 +02:00
Philipp Oppermann
01975be7ac Remove goatcounter analytics again
This commit removes the https://www.goatcounter.com/ script that we were using for basic, privacy-friendly analytics. I don't really need that data, so there is not much value in keeping it.
2022-06-07 10:25:19 +02:00
Philipp Oppermann
eeac9e880c Fix swapped if/else in comment thread selection 2022-06-07 10:14:12 +02:00
Philipp Oppermann
b05c07d21c Move comment threads for translated posts to separate category
Avoids that a search for the post title returns a thread for a translated post.
2022-06-07 10:06:48 +02:00
Philipp Oppermann
21c5b62c38 Add a new translation_contributors front matter field
This field should list people that contributed to the translation, e.g. by fixing errors. The idea behind this field is to properly acknowledge all contributors, while still keeping the list of the original translation authors separate.
2022-05-22 12:23:15 +02:00
Philipp Oppermann
c7eced8b49 Use proper HTML escaping for GitHub discussions link 2022-01-23 17:53:12 +01:00
Philipp Oppermann
6b241de81b Fix HTML encoding of GitHub discussions link 2022-01-23 17:39:37 +01:00
Philipp Oppermann
09e0c5915b Link to license in footer 2022-01-23 17:34:57 +01:00
Philipp Oppermann
b24122a604 Remove dark mode warning again
There weren't any problems reported, so I guess it looks okay.
2022-01-23 17:30:06 +01:00
Philipp Oppermann
44f51402f7 Upgrade to zola 0.14.1 2021-10-17 21:06:57 +02:00
Philipp Oppermann
d6bf1b2271 Revert "Use onload handler to set giscus theme as soon as it's loaded"
This reverts commit 7eb1426e1f.
2021-10-17 18:35:45 +02:00
Philipp Oppermann
7eb1426e1f Use onload handler to set giscus theme as soon as it's loaded 2021-10-17 18:31:40 +02:00
Philipp Oppermann
5ff1aab7b5 Improve layout on mobile and clean up sass code 2021-10-17 16:34:24 +02:00
Philipp Oppermann
76b6c445e4 Add a switch for going back to system theme 2021-10-17 15:40:48 +02:00
Philipp Oppermann
69917e234c Remember chosen theme in localStorage
This way, the selected theme is kept when changing pages, and for subsequent visits. To prevent flickering, we set the selected theme in a blocking script directly on load. To speed things up further, we now use a `data-theme` attribute instead of classes on the body tag, this way we don't need to wait until the body element is loaded.
2021-10-17 15:05:11 +02:00
Philipp Oppermann
96ab77fd1e Implement a switch for switching between light and dark mode 2021-10-17 14:20:08 +02:00
Philipp Oppermann
adaaa3238a Add meta tag that we support both light and dark mode 2021-10-16 17:27:48 +02:00
Philipp Oppermann
d8c27c7fcc Add a note that dark mode is experimental 2021-10-16 17:27:33 +02:00
Philipp Oppermann
b16c0c861f Migrate CSS files to SASS to prepare for dark mode 2021-10-16 16:23:23 +02:00
Philipp Oppermann
5654201a09 Add note above comments and link to GitHub discussion 2021-10-16 15:20:12 +02:00
Philipp Oppermann
dbe43c203d Remove "about me" section from sidebar 2021-09-16 19:14:48 +02:00
Philipp Oppermann
27ab4518ac Replace fathom analytics with goatcounter 2021-08-08 20:05:36 +02:00
Philipp Oppermann
c7743a23ed Move comments_notice on translated posts to end of comments 2021-06-12 17:11:25 +02:00
Philipp Oppermann
afb20aae74 Use original English title for mapping discussions to translated posts 2021-06-12 17:07:48 +02:00
Philipp Oppermann
27b1528a65 giscus: Append page lang code to search term for translated posts 2021-06-12 17:02:23 +02:00
Philipp Oppermann
963eb3e659 Make it possible to set discussion thread manually per post 2021-06-12 16:52:18 +02:00
Philipp Oppermann
47292beaad giscus: Use specific search term instead of og:title
This makes us more flexible and gives us ways to avoid title collisions (e.g. when the title on an extra post is a substring of some post title).
2021-06-12 16:35:20 +02:00
Philipp Oppermann
a46c20ef93 Switch comments from utterances to giscus
to use GitHub discussions instead of issues for comment threads.
2021-06-12 16:12:38 +02:00
Philipp Oppermann
54ca8bbe67 Update copyright year in footer 2021-05-17 16:03:08 +02:00
Philipp Oppermann
d4034ee3d9 Add some margin between list items of status updates 2021-02-08 10:46:17 +01:00
Hamid R. K. Pishghadam
f60883071e Fix typo and wrong indention using tabs 2021-01-04 17:50:02 +03:30
Hamid R. K. Pishghadam
f779303472 Add translation for post warning and some minor fix 2021-01-03 21:52:56 +03:30
Hamid R. K. Pishghadam
fad609f744 Fix wrong translations and add font for Persian 2021-01-03 20:53:29 +03:30
Hamid R. K. Pishghadam
478b4cb808 using trans for most common short texts 2021-01-03 19:00:14 +03:30
Philipp Oppermann
d2daf9dc48 Move section template to edition-2 subfolder 2021-01-02 18:11:07 +01:00
Philipp Oppermann
5a86a715c9 Move introduction from index template to markdown file
To allow translations.
2021-01-02 18:09:47 +01:00
Philipp Oppermann
aa227c7dc6 Restructure macros
- Split macros.html in per-edition files
- Create new snippets.html macro file with utterances snippet
- Move support.html to snippets.html as new macro
- Create new `latest_post` macro in 2nd edition macros.html
2021-01-02 18:09:06 +01:00
Hamid R. K. Pishghadam
68d12a7839 Fix layout or rtl in homepage and tables (#896) 2021-01-02 17:21:24 +01:00
Philipp Oppermann
f692c5b377 Rename second-edition subfolder to `edition-2 2020-12-16 14:56:36 +01:00
Philipp Oppermann
4a9ea6c503 Rename first-edition subfolder to edition-1 2020-12-16 14:38:59 +01:00
Philipp Oppermann
19bf93a59d Use languages names in language list 2020-11-11 13:31:04 +01:00
Philipp Oppermann
668c903c02 Show all available languages
Not just languages enabled in the browser. This makes the translations more discoverable.
2020-11-11 10:29:17 +01:00
Hamid Reza
caecc2c98e Adding Right-to-Left support for template (#875) 2020-11-01 10:54:57 +01:00
Philipp Oppermann
b17b3d40da GitHub no longer matches sponsorships, but they still charge no fees 2020-10-31 21:27:49 +01:00
Philipp Oppermann
80136cc047 Update to zola v0.12.1 (#861) 2020-09-27 15:56:13 +02:00
Philipp Oppermann
00ebabddc2 Add an 'about me' block in the sidebar 2020-09-07 12:24:04 +02:00
Philipp Oppermann
f198d45a59 Update to Zola 0.11.0 2020-08-19 09:55:16 +02:00