Philipp Oppermann
2642fa80e8
Add translation contributors to edition-3 page template too
2022-12-18 11:52:49 +01:00
Philipp Oppermann
264fd90abe
Update edition-3 page template to zola 0.16
2022-12-18 11:50:31 +01:00
Philipp Oppermann
87b440c79a
Fix uses of giscus macro in edition-3 templates
2022-12-18 11:48:02 +01:00
Philipp Oppermann
2c96cfe972
Merge branch 'main' into edition-3
2022-12-18 11:44:21 +01: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
c73804789b
Minor tweaks to subtitle and 'support me' text
2022-01-23 21:33:04 +01:00
Philipp Oppermann
233dec4caf
Various 3rd edition template improvements
...
- merge improvements from second edition (e.g. improved light switch, prefered theme in session storage, translation support)
- giscus instead of utterances
- add an alpha warning
- fix error caused by missing posts
etc
2022-01-23 21:32:43 +01:00
Philipp Oppermann
6f1b982f3a
Fix 2nd edition template errors accidentally introduced by merge
2022-01-23 21:29:25 +01:00
Philipp Oppermann
5af0499af5
Merge branch 'main' into edition-3
2022-01-23 18:02:34 +01: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
d6885843e6
Merge branch 'master' into edition-3
2021-04-06 20:21:36 +02:00
Philipp Oppermann
c2fe9960a7
Add boilerplate for new 'UEFI Booting' post
2021-02-16 12:20:54 +01:00
Philipp Oppermann
d4034ee3d9
Add some margin between list items of status updates
2021-02-08 10:46:17 +01:00
Philipp Oppermann
ec1f80416b
Make chapters sections to avoid rendering them
...
Instead of redirecting the chapter pages to a 404 site.
2021-01-07 20:07:43 +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
2e52b681ec
Move edition info to subtitle for third edition
2021-01-03 15:22:54 +01:00
Philipp Oppermann
8fbdf53598
Increase margin after chapter introduction
2021-01-03 15:16:07 +01:00
Philipp Oppermann
cd7ac05395
Remove comments for old status update pages
...
New status updates are published on rust-osdev.com and there were only very few comments on the old posts, so that it's not worth keeping them.
2021-01-03 15:04:34 +01:00