Commit Graph

40 Commits

Author SHA1 Message Date
Philipp Oppermann
00ebabddc2 Add an 'about me' block in the sidebar 2020-09-07 12:24:04 +02:00
Philipp Oppermann
e80864b64d Add a note on translation pages that English comments are preferred 2020-08-13 18:00: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
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
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
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
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
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
5276972c67 Set meta.description tag correctly 2020-02-03 17:13:28 +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
7f4fc340ad Fix escaping issues by adding safe filters in more places (#678) 2019-10-08 10:28:45 +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
032ea13c65 safe filter must be at the very end since zola 0.8.0 2019-09-29 15:48:12 +02:00
Philipp Oppermann
c1d7a7933b Link to base_url instead of /second-edition 2019-04-24 17:54:21 +02:00
Philipp Oppermann
beb1306a1d Move warnings before toc to fix toc placement
The placement was off for pages with warnings.
2019-04-04 13:59:07 +02: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
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
409527caca Deprecate the Advanced Paging post 2019-03-13 15:01:07 +01:00
Philipp Oppermann
403e67a795 Mention Patreon second 2019-02-04 12:52:04 +01:00
Philipp Oppermann
c8ee869941 Mention donorbox before liberapay 2019-02-04 12:36:06 +01:00
Philipp Oppermann
ea7f4d74f6 Sort by order has been removed 2019-01-22 15:47:57 +01:00
Philipp Oppermann
c478c7a90e Fix patreon link 2019-01-14 16:09:16 +01:00
Philipp Oppermann
ec377baa37 Link patreon 2019-01-05 14:35:48 +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
56c9b0e41a Use post url for finding utterances issue 2018-06-27 12:07:11 +02:00
Philipp Oppermann
97ce17925e Make second edition the default (#437) 2018-06-10 13:29:57 +02:00
Philipp Oppermann
8a75c2828e More work on minimal kernel post 2018-02-10 16:46:54 +01:00
Philipp Oppermann
abc9f350d2 Use utterances for comments on second edition posts 2018-02-10 16:42:50 +01:00
Philipp Oppermann
d38e97ee0b Link to #id instead of permalink in TOC
This makes table of content links also work in deploy previews.
2018-02-10 16:42:50 +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
7a263355f3 Add custom templates for second edition posts 2018-02-10 16:42:50 +01:00