Commit Graph

86 Commits

Author SHA1 Message Date
Philipp Oppermann
4a9ea6c503 Rename first-edition subfolder to edition-1 2020-12-16 14:38:59 +01:00
Philipp Oppermann
8fd8e42490 Remove margins in language selector list 2020-11-11 13:16:40 +01:00
Philipp Oppermann
668c903c02 Show all available languages
Not just languages enabled in the browser. This makes the translations more discoverable.
2020-11-11 10:29:17 +01:00
Hamid Reza
caecc2c98e Adding Right-to-Left support for template (#875) 2020-11-01 10:54:57 +01:00
Philipp Oppermann
f8f9a02d56 Updates in March 2020 2020-04-01 14:49:18 +02:00
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
fa5b500751 Remove debug logging from javascript 2020-02-17 15:06:48 +01:00
Philipp Oppermann
6908e297f6 Make language selectors of browser supported languages visible 2020-02-17 14:52:15 +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
b569fcbc25 Fix typo in Javascript comment 2020-01-31 14:19:52 +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
5daa7269d6 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 17:54:21 +02:00
Philipp Oppermann
5995948310 Add a CNAME file for GitHub Pages 2019-04-24 17:54:21 +02:00
Philipp Oppermann
a6b8252946 Revert "Use Zola's aliases feature instead of Netlify redirects"
This reverts commit fd2ac6ef18.
2019-04-24 15:57:06 +02:00
Philipp Oppermann
fd2ac6ef18 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 12:07:00 +02:00
Philipp Oppermann
6a07fea2d7 Fix ToC resizing
The `#toc` id was renamed to `#toc-aside`.
2019-03-20 23:37:56 +01: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
d158d39e1f Add margin after nested list if it's followed by a paragraph 2019-01-10 13:09:01 +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
5aaee100c8 Archive comments of first edition (#504) 2018-12-09 17:31:37 +01:00