Commit Graph

53 Commits

Author SHA1 Message Date
Philipp Oppermann
fe0c8ccb0c Add job seeking note 2020-03-26 17:02:01 +01:00
Philipp Oppermann
752accdd33 Explain how to work with futures and introduce async/await 2020-03-26 13:41:25 +01:00
Philipp Oppermann
6b76338407 Add a .gray css class for making things gray 2020-03-02 11:41:41 +01:00
Philipp Oppermann
acea700708 Fix overlap of 'All Posts' and ToC; add comments to ToC
The 'All Posts' link used to overlap with the table of contents at the end of a post. This occured because the ToC is sticky to the `main` block, so it scrolled up before the `comments` section. The 'All Post' link, however, is fixed, so it does not scroll up.

This commit fixes the issue by moving the comment block to the main block (from the after_main block). This way, the ToC stays visible in the comment section. We also add the comment section to the ToC.
2020-02-25 14:26:41 +01:00
Philipp Oppermann
8ff09b3a62 Add hidden language selector to front page and post pages 2020-02-17 14:51:51 +01:00
Philipp Oppermann
ea3e89dd00 Select front page aside by class page-aside-right instead of id recent-updates 2020-02-17 14:51:19 +01:00
Philipp Oppermann
db69d016a9 Add metadata to translations and list translators 2020-02-17 12:04:12 +01:00
Philipp Oppermann
7124ce742f Merge branch 'master' into translations 2020-02-17 10:38:43 +01:00
Philipp Oppermann
9924ed0b13 Add styling for upcoming multitasking chapter 2020-02-11 10:31:44 +01:00
Philipp Oppermann
78f55a701f Use for loop on index page instead of hardcoding post numbers 2020-02-11 10:29:48 +01:00
Maxim Zholobak
423ab3fa68 Make active section link more discreet (#734) 2020-01-31 16:20:13 +01:00
Philipp Oppermann
728620b527 Mark active item in table of contents (#733) 2020-01-31 14:17:22 +01:00
Philipp Oppermann
e2ea963d5d Make 'All Posts' link fixed
Fixes #731
2020-01-31 12:12:54 +01:00
Philipp Oppermann
60ce0e0cd4 Show translated content directly on index page (#693)
instead of only providing a 'Community Translation' link
2019-12-19 13:31:12 +01:00
Philipp Oppermann
b31b2af58b Merge branch 'master' into translations 2019-12-18 12:13:47 +01:00
Philipp Oppermann
bf5e2cf4dc Use <h1> instead of <h2> for 'Recent Updates'/'Repository' 2019-12-13 12:36:35 +01:00
Philipp Oppermann
a1020cde7d Show links to community translated posts 2019-11-27 15:34:54 +01:00
Philipp Oppermann
8e0d70da8b Add a sponsor link to github box on front page 2019-10-18 14:58:26 +02:00
Philipp Oppermann
7ae2489153 Factor out support text into template and add it to pages too 2019-10-06 13:59:30 +02:00
Philipp Oppermann
78f014e74b Rewrite support section on frontpage; mention GitHub sponsors 2019-10-06 13:51:46 +02:00
Philipp Oppermann
2b78ad44be Revert "CSS: Improve formatting of list elements"
This reverts commit bfab946078.
2019-06-21 12:40:13 +02:00
Philipp Oppermann
bfab946078 CSS: Improve formatting of list elements 2019-06-19 16:45:01 +02:00
Philipp Oppermann
572ff8fff6 Apply special formatting for code blocks in headings 2019-06-17 17:52:33 +02:00
Philipp Oppermann
361ba0c32b Add a GitHub style repository card on index page (#620) 2019-06-15 12:30:11 +02:00
Joseph Richey
1ebe869e0e Always use spaces for code (if possible) (#609)
Almost all the code in the blog uses spaces instead of tabs.
This change fixes 3 places where there was inconsistancy.

This was causing some of the content to appear misaligned.

Now tabs are only used in:
  - Makefiles
  - Dockerfiles
  - Command output (from `objdump` and `diff`) containing tabs
  - `.fish` files
2019-05-12 14:39:31 +02:00
Philipp Oppermann
701542b40f Move Testing post to bare bones category and update post numbers 2019-04-27 13:40:15 +02:00
Philipp Oppermann
5cd435b755 Add a small margin after the ToC Heading 2019-03-19 13:24:59 +01:00
Philipp Oppermann
6055a2e342 Add an inline table of contents for small screens
This ToC is only shown when the screen is too small for the sticky sidebar ToC.

We use a `<!-- toc -->` comment and the `replace` function to allow inserting the ToC at well defined points of the page. We don't use the shortcode feature of Zola because of https://github.com/getzola/zola/issues/584.
2019-03-19 12:58:15 +01:00
Philipp Oppermann
fe19af668d Make table of contents sticky instead of fixed
Fixed looks a bit strange with the new `All Posts` link.
2019-03-19 12:52:31 +01:00
Philipp Oppermann
06ec0dbf25 Rename id of ToC aside from toc to toc-aside 2019-03-19 12:51:43 +01:00
Philipp Oppermann
06b334396a Provide an All Posts link on posts that points back to the index page 2019-03-18 10:27:54 +01:00
Philipp Oppermann
aa0a876e19 Add styling for details elements 2019-03-13 15:00:28 +01:00
Philipp Oppermann
b96f73278d Gutenberg was renamed to Zola 2019-01-22 15:52:22 +01:00
Philipp Oppermann
b4d53f3aed Adjust section colors 2019-01-10 13:02:30 +01:00
Philipp Oppermann
42f1ef0d6b Add Support Me section at the end of each post 2018-12-13 18:00:27 +01:00
Philipp Oppermann
a619b8908d Add aside styling 2018-10-10 18:56:40 +02:00
Philipp Oppermann
5cffdc4d8c Move testing posts to their own section 2018-06-10 13:30:33 +02:00
Philipp Oppermann
97ce17925e Make second edition the default (#437) 2018-06-10 13:29:57 +02:00
Philipp Oppermann
a02a6b0b92 Promote the second edition from the front page 2018-03-09 23:50:27 +01:00
Philipp Oppermann
1c4e6ecac6 Add subscribe form to second edition index page 2018-03-07 11:25:39 +01:00
Philipp Oppermann
21f409625b Add "read more" links on frontpage 2018-03-04 23:18:01 +01:00
Philipp Oppermann
7a263355f3 Add custom templates for second edition posts 2018-02-10 16:42:50 +01:00
Philipp Oppermann
75b4e09c4e Make page title an h1 for semantics 2018-02-10 16:42:50 +01:00
Philipp Oppermann
e23479bd9e Make “Recent Updates” a h2 instead of h1 2017-10-10 09:37:41 +02:00
Philipp Oppermann
557c6a58ea Make subtitle non-wrapping 2017-06-20 20:28:00 +02:00
Philipp Oppermann
8289bc7d5b The css class for anchors was changed 2017-06-09 14:51:36 +02:00
Philipp Oppermann
2ebc323cdb Don't underline the anchor link symbol 2017-06-09 14:51:36 +02:00
Philipp Oppermann
c4f9b28b41 Add styling to heading anchors 2017-06-09 14:51:36 +02:00
Philipp Oppermann
c5622c864e Add a “neutral” border style for post lists 2017-06-09 14:51:36 +02:00
Philipp Oppermann
e20a48712b Increase opacity of table of contents to 0.5 2017-03-21 19:38:31 +01:00