Commit Graph

2704 Commits

Author SHA1 Message Date
Max Desiatov
5b2c60ece3 Fix typo in 02-minimal-rust-kernel (#1080)
`rerun the our build command` -> `rerun our build command`
2022-02-16 10:37:31 +00:00
Aleksey R. (aka EreTIk)
c1af4e31b1 Fix link to MS Docs (#1077) 2022-02-06 10:29:29 +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
64c1130908 Fix HTML error: <b> tags should go inside <li> tags 2022-01-23 17:34:46 +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
a26eeae82e Don't minify html 2022-01-23 17:23:06 +01:00
Philipp Oppermann
0d42178666 Don't deploy license file 2022-01-23 16:51:18 +01:00
Philipp Oppermann
05acd376e9 Merge pull request #1061 from phil-opp/zola-update
Upgrade to zola 0.15.3
2022-01-23 16:41:53 +01:00
Philipp Oppermann
0d40ee3750 Fix interal links and work around errors for #comments links
Zola only checks the markdown source for link targets, so an error occurs if the target is in an template. This is the case for our `#comments` links, so we add a dummy target in a comment.
2022-01-23 16:40:54 +01:00
Philipp Oppermann
ce51e833a8 Update to zola v0.15.3 2022-01-23 16:38:21 +01:00
Tianxi Ku
c4f8477310 Add Chinese translation to _index.zh-CN.md (#1067) 2022-01-03 11:25:26 +01:00
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