Commit Graph

1377 Commits

Author SHA1 Message Date
Philipp Oppermann
18f7cb16b9 Merge branch 'main' into main 2021-10-17 18:07:57 +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
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
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
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
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
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
Alexandre
f881645991 Update config.toml 2021-09-23 08:58:23 +02:00
Jon Gillham
3e87916b6c Fix typos (#1051) 2021-09-19 10:36:20 +00:00
Philipp Oppermann
dbe43c203d Remove "about me" section from sidebar 2021-09-16 19:14:48 +02:00
Shu W. Nakamura
4472eed23c Apply suggestions from code review
Co-authored-by: garasubo <garasubo@gmail.com>
2021-09-14 11:19:03 +09:00
Shu W. Nakamura
0fe6d6aaec Apply suggestions from code review and Add garasubo as a co-translator
Co-authored-by: garasubo <garasubo@gmail.com>
2021-09-11 16:43:57 +09:00
woodyZootopia
282ed23a99 翻訳をさらに校正 2021-08-24 12:09:28 +09:00
Dmitry Kozlovtsev
559f1fbecd Fix link typos for #1043 (#1046) 2021-08-22 18:32:31 +02:00
woodyZootopia
575547963d Fix links to Japanese articles 2021-08-15 15:15:20 +09:00
woodyZootopia
803d2e6c7a Translate till the end 2021-08-15 14:55:48 +09:00
woodyZootopia
ed14ee779d 翻訳を進めた 2021-08-13 13:33:55 +09:00
woodyZootopia
fcabba0751 rebase to current origin/main 2021-08-13 11:57:33 +09:00
woodyZootopia
21516fe821 Add file and translate a bit 2021-08-10 21:31:06 +09:00
woodyZootopia
841b9deea3 Add the translation file and translated a bit 2021-08-10 21:31:06 +09:00
Philipp Oppermann
27ab4518ac Replace fathom analytics with goatcounter 2021-08-08 20:05:36 +02:00