Commit Graph

24 Commits

Author SHA1 Message Date
Philipp Oppermann
b5bd0296bd Add icons to posts 2020-12-30 18:14:17 +01:00
Philipp Oppermann
300a6f452a Implement a switch for switching between light and dark mode 2020-12-28 20:47:17 +01:00
Philipp Oppermann
60a0b3bc28 Create an initial style for 3rd edition with dark mode support 2020-12-16 20:18:22 +01:00
Philipp Oppermann
80136cc047 Update to zola v0.12.1 (#861) 2020-09-27 15:56:13 +02: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
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
5f7437df8d Fix and improve generated HTML 2020-01-30 12:05:04 +01:00
Philipp Oppermann
d351e48602 Adjust style of 'read more' link 2020-01-28 16:58:26 +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
a1020cde7d Show links to community translated posts 2019-11-27 15:34:54 +01:00
Philipp Oppermann
bbe2fe000d Use <div> instead of <article> for post list
The <article> tag is for self-contained content, which the post list isn't really. I hope that this change makes search engines display the blog's introduction instead of the first post's introduction in their results.
2019-03-27 19:26:59 +01:00
Philipp Oppermann
8397cae2be Update to zola 0.6.0 2019-03-26 12:34:36 +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
14f7e910cb Add comments label for comment issues 2019-01-28 10:51:17 +01:00
Philipp Oppermann
56c9b0e41a Use post url for finding utterances issue 2018-06-27 12:07:11 +02:00
Philipp Oppermann
92f4969cd9 Use non-breaking space for “read more” 2018-05-22 19:45:01 +02:00
Philipp Oppermann
21f409625b Add "read more" links on frontpage 2018-03-04 23:18:01 +01:00
Philipp Oppermann
25441a8773 Use absolute paths instead of permalink
This makes links also work in deploy previews.
2018-02-10 16:42:50 +01:00
Philipp Oppermann
ff240ed264 Use absolute permalinks instead of relative paths for links
Fixes links in subfolders. See https://github.com/Keats/gutenberg/issues/128 for a detailed description of the problems with `page.path`.
2017-10-10 09:30:22 +02:00
Philipp Oppermann
11de9b4c07 Update templates for new page sections 2017-06-09 14:51:36 +02:00
Philipp Oppermann
168b598901 Create gutenberg templates 2017-06-09 14:51:36 +02:00