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
f13fc3062a
Remove duplicated <h1> tags on first edition index
2020-04-02 10:32:41 +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
e061557eea
Use <h2> for site title for first edition too
2020-03-11 13:51:22 +01:00
Philipp Oppermann
368b5445e4
Update 'thank you' text
2020-03-02 11:41:53 +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
0619f3a9e7
Convert all external links to https (if supported)
2020-02-21 11:53:34 +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
127f446856
Don't show 'not translated yet' for default language
2020-02-17 11:30:47 +01:00
Philipp Oppermann
f6867a914e
Don't show 'not translated yet' message on english site
2020-02-17 11:01:25 +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
e91567f637
Reword 'thank you' section
2020-02-01 14:24:41 +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
d351e48602
Adjust style of 'read more' link
2020-01-28 16:58:26 +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
0346ec3111
Merge pull request #719 from phil-opp/allocator-designs
...
New post about allocator designs
2020-01-20 14:22:09 +01:00
Philipp Oppermann
8500b480a9
Reword 'support me' text
2020-01-15 18:53:58 +01:00
Philipp Oppermann
192923bd2a
Fix typo in support template
2020-01-09 12:59:17 +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
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
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
63e53724c4
Zola does not make the lang variable available when rendering rss.xml
...
We only generate a RSS feed for the default language anyway.
2019-11-27 16:34:24 +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
a1020cde7d
Show links to community translated posts
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