Commit Graph

101 Commits

Author SHA1 Message Date
Philipp Oppermann
e80864b64d Add a note on translation pages that English comments are preferred 2020-08-13 18:00:41 +02:00
Yuki Okushi
3cdf51aaca Fix minor issues 2020-08-05 10:07:12 +09:00
Philipp Oppermann
4cde35b674 Link to actual post, not the pull request 2020-07-17 19:48:37 +02:00
Philipp Oppermann
68b2b7737b Link 'This Month in Rust OSDev' posts in status updates section 2020-07-17 19:00:27 +02:00
Philipp Oppermann
e46d1f3455 Fix RSS link in <head> 2020-04-10 11:55:19 +02:00
Philipp Oppermann
a947956616 Add link tag for RSS feed 2020-04-07 15:42:14 +02:00
Philipp Oppermann
a237cd2777 Truncate description of extra pages to 150 characters 2020-04-02 10:34:18 +02:00
Philipp Oppermann
74969cd1be Move toc_aside out of <main>
This way, we avoid that the table of contents is picked for link previews by third-party sites.
2020-03-27 18:02:46 +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
361108b88e Move language selector to the top 2020-02-21 11:29:11 +01:00
Philipp Oppermann
b03a368191 Truncate site description to 150 characters
According to the Bing webmaster tools, this is recommended for SEO.
2020-02-21 11:24:45 +01:00
Philipp Oppermann
516bc38b2b Ensure that each page only has a single <h1>
According to Bing's webmaster tool multiple <h1> tags on a site are a SEO problem.
2020-02-21 11:17:31 +01:00
Philipp Oppermann
0195d2ec43 Don't escape permalink; emit less newlines 2020-02-17 15:07:43 +01:00
Philipp Oppermann
cc27cf5c24 Only emit language selector on pages that have translations 2020-02-17 15:07:09 +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
9e5e3fba16 Remove some more whitespace to minimize diff 2020-02-17 11:39:24 +01:00
Philipp Oppermann
0e3635f98b Remove some excessive newlines from generated HTML 2020-02-17 11:30:50 +01:00
Philipp Oppermann
7124ce742f Merge branch 'master' into translations 2020-02-17 10:38:43 +01:00
Philipp Oppermann
bccfef77c9 Merge branch 'master' into zola-0.10.0 2020-02-17 10:22:11 +01:00
Philipp Oppermann
78f55a701f Use for loop on index page instead of hardcoding post numbers 2020-02-11 10:29:48 +01:00
Philipp Oppermann
5276972c67 Set meta.description tag correctly 2020-02-03 17:13:28 +01:00
Philipp Oppermann
5f7437df8d Fix and improve generated HTML 2020-01-30 12:05:04 +01:00
Philipp Oppermann
c7af79f452 Remove '(Second Edition)' from title 2020-01-28 17:06:47 +01:00
Philipp Oppermann
578b03efcb Move and rewrite front page section about first edition 2020-01-28 16:59:47 +01:00
Philipp Oppermann
f710404f10 Remove extra content section from front page
We only have a single extra post, which is about building on Android and possibly outdated.
2020-01-28 16:57:49 +01:00
Philipp Oppermann
5937ec2e04 Reintroduce allocator designs post
The post was split off the Heap Allocations post because it became too large. To keep the tree clean, it was then temporarily removed. This commit restores the post by reverting the removal commit.

This reverts commit 029d77ef21.
2020-01-08 12:41:12 +01:00
Philipp Oppermann
05ac04d30d Update copyright year in footer 2020-01-07 12:23:32 +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
a66fe41977 Default to config.default_language if no lang is set (e.g. for 404 page) 2019-11-28 11:30:17 +01:00
Philipp Oppermann
85bd909af2 Update HTML language tag for translations 2019-11-27 16:02:35 +01:00
Philipp Oppermann
8e2e4e7c30 Point 'All Posts' link to localized index page 2019-11-27 15:34:54 +01:00
Philipp Oppermann
d1da7f4a47 Write a proper warning message for translated posts 2019-11-27 15:34:54 +01:00
Philipp Oppermann
55a45c7673 Start adding support for translations 2019-11-27 15:34:54 +01:00
Philipp Oppermann
e9361e74e8 The global toc was replaced by page.toc in upcoming zola version 2019-11-27 14:48:24 +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
7f4fc340ad Fix escaping issues by adding safe filters in more places (#678) 2019-10-08 10:28:45 +02:00
Philipp Oppermann
fd64bb9d36 Add status update posts to front page 2019-10-06 15:20:39 +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
dddabe2243 Fix some remaining internal links that used old syntax 2019-10-06 13:51:09 +02:00
Philipp Oppermann
032ea13c65 safe filter must be at the very end since zola 0.8.0 2019-09-29 15:48:12 +02:00
Philipp Oppermann
029d77ef21 Move Allocator Designs post into separate branch 2019-06-26 12:23:15 +02:00
Philipp Oppermann
5f1d6aed2e Split off Allocator Designs section into its own post
The post is already long enough and this section is already large enough to fill its own post and far from finished.
2019-06-25 19:23:45 +02:00
Philipp Oppermann
4f6d62779d Heap Allocation is the 10th post now
(We combined the two testing posts into one.)
2019-06-16 15:18:09 +02:00
Philipp Oppermann
015ef5b960 Begin new Heap Allocation post 2019-06-15 13:56:14 +02:00
Philipp Oppermann
361ba0c32b Add a GitHub style repository card on index page (#620) 2019-06-15 12:30:11 +02:00
rybot666
00978bd6c9 Add Status Updates (#619)
Adds the status updates link to the extra content section of the blog
2019-06-15 11:15:37 +02:00