Philipp Oppermann
44f51402f7
Upgrade to zola 0.14.1
2021-10-17 21:06:57 +02:00
Philipp Oppermann
5c750985a6
Wait 500ms before changing giscus theme on load to make sure that it's ready
2021-10-17 18:41:24 +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
ebbc6381d7
Fix front matter syntax
2021-10-17 18:19:54 +02:00
Philipp Oppermann
456ed398e8
Merge pull request #1053 from Alekzus/main
...
Adding French translation for the first post
2021-10-17 18:17:28 +02:00
Philipp Oppermann
195d40080a
Don't spellcheck french translations (lots of false positives)
2021-10-17 18:10:09 +02:00
Philipp Oppermann
18f7cb16b9
Merge branch 'main' into main
2021-10-17 18:07:57 +02:00
Philipp Oppermann
1095dc33f4
Merge pull request #1060 from phil-opp/ci-typo-check
...
Use `crate-ci/typos` action to check for typos
2021-10-17 17:38:43 +02:00
Philipp Oppermann
a41d3236b8
Check translated files too
2021-10-17 17:37:55 +02:00
Philipp Oppermann
53e3578e34
Use crate-ci/typos action to check for typos
...
The misspell tool that we used previously has no exclude switch for ignoring translated files. Also, it looks like it is not maintained anymore.
In addition to changing our spell checker, this commit renames the `Build Site` workflow to `Blog` (to be consistent with our `Code` workflow).
2021-10-17 17:31:43 +02:00
Philipp Oppermann
ac8f0175a7
Merge pull request #1059 from phil-opp/dark-mode
...
Remember chosen theme in `localStorage`, add a switch for going back to system theme, improve layout
2021-10-17 16:45:34 +02:00
Philipp Oppermann
0fa31a0e15
Fix: don't assume that light mode is active on initial theme switch
2021-10-17 16:34:59 +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
3281df3a41
Merge pull request #1058 from phil-opp/dark-mode
...
Implement a switch for switching between light and dark mode
2021-10-17 14:21:18 +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
9d7c0ead07
Merge pull request #1057 from phil-opp/dark-mode
...
Initial Dark Mode Support
2021-10-16 17:31:49 +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
990169b631
Make the background less dark to be easier on the eyes
2021-10-16 17:27:13 +02:00
Philipp Oppermann
9b02a5e77a
Force a white background for all images for now
...
Our current images with transparency assume a white background.
2021-10-16 17:26:55 +02:00
Philipp Oppermann
874f79a8f9
Change colors depending on preferred color scheme
2021-10-16 16:41:36 +02:00
Philipp Oppermann
faae44a477
Add fonts heading and autoformat
2021-10-16 16:25:12 +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
a8a111c6ee
Merge pull request #1056 from phil-opp/iosevka
...
Use Iosevka font for code blocks and inline code
2021-10-16 15:54:47 +02:00
Philipp Oppermann
5155e18ba1
Use Iosevka font for code blocks and inline code
...
The advantage of Iosevka is its narrow width that allows us to show more columns in code examples without reducing font size.
2021-10-16 15:51:47 +02:00
Philipp Oppermann
ff5ac93908
Merge pull request #1054 from phil-opp/giscus-improvements
...
Improve our integration of the giscus comment system
2021-10-16 15:27:02 +02:00
Philipp Oppermann
d3e8714a80
Rename utterances.json to giscus.json to enable origin checks again
2021-10-16 15:20:44 +02:00
Philipp Oppermann
5654201a09
Add note above comments and link to GitHub discussion
2021-10-16 15:20:12 +02:00
Alexandre
279ca5dad7
Apply suggestions from code review
...
Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu >
2021-10-11 07:08:05 +02:00
Alexandre
ff10c51d11
Update index.fr.md
2021-10-08 22:56:42 +02:00
Alexandre
daf15c993e
Update config.toml
2021-10-08 22:55:43 +02:00
Alexandre
fbff83e498
Apply suggestions from code review, removing typos
...
Co-authored-by: Guillaume DALLENNE <dallenneguillaume@gmail.com >
2021-10-08 22:54:05 +02:00
Alexandre
1bc5422049
Update blog/content/edition-2/posts/01-freestanding-rust-binary/index.fr.md
...
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2021-10-08 08:35:30 +02:00
Alexandre
f5c111f649
Update blog/content/edition-2/posts/01-freestanding-rust-binary/index.fr.md
...
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2021-10-08 08:35:19 +02:00
Philipp Oppermann
9dd6588edf
Merge pull request #993 from woodyZootopia/translate_post_09_ja
...
Translate 09 paging implementation to Japanese
2021-10-08 08:07:14 +02:00
Alexandre
526c7a3dca
Update blog/config.toml
...
Co-authored-by: Philipp Oppermann <dev@phil-opp.com >
2021-10-08 07:27:01 +02:00
Shu W. Nakamura
893c1cf447
Update blog/content/edition-2/posts/09-paging-implementation/index.ja.md
2021-10-08 12:19:07 +09:00
woodyZootopia
f57bded691
Fix for the advice given by @garasubo
2021-10-07 22:41:09 +09:00
Alexandre
f30ebe878c
Translated the first post
2021-09-23 15:35:25 +02:00
Alexandre
c987148dc2
Added translations
...
Up to the "Linker Errors" section
2021-09-23 12:40:38 +02:00
Alexandre
c430d1d113
Create _index.fr.md
2021-09-23 10:54:39 +02:00
Alexandre
68212e8bc4
Translated the "Disabling the Standard Library" section
2021-09-23 10:31:15 +02:00
Alexandre
ae72448f89
Translated the introduction
2021-09-23 10:02:37 +02:00
Alexandre
6622e583da
Update _index.fr.md
2021-09-23 09:10:20 +02:00
Alexandre
8e506fc34a
Rename _index_fr.md to _index.fr.md
2021-09-23 09:07:22 +02:00
Alexandre
38027670fd
Create _index_fr.md
2021-09-23 09:07:03 +02:00
Alexandre
7d7130bc0f
Translated "post"
2021-09-23 08:59:31 +02:00