Fix interal links and work around errors for #comments links

Zola only checks the markdown source for link targets, so an error occurs if the target is in an template. This is the case for our `#comments` links, so we add a dummy target in a comment.
This commit is contained in:
Philipp Oppermann
2022-01-23 16:40:54 +01:00
parent ce51e833a8
commit 0d40ee3750
40 changed files with 59 additions and 19 deletions

View File

@@ -20,6 +20,7 @@ translators = ["kahirokunn", "garasubo", "sozysozbot", "woodyZootopia"]
[GitHub]: https://github.com/phil-opp/blog_os
[at the bottom]: #comments
<!-- fix for zola anchor checker (target is in template): <a id="comments"> -->
[post branch]: https://github.com/phil-opp/blog_os/tree/post-12
<!-- toc -->
@@ -232,7 +233,7 @@ Futureコンビネータの大きな利点は、操作を非同期に保つこ
[_Zero-cost futures in Rust_]: https://aturon.github.io/blog/2016/08/11/futures/
##### 欠点
##### 欠点 {#drawbacks}
Futureコンビネータを使うと、非常に効率的なコードを書くことができますが、型システムやクロージャベースのインターフェイスのため、状況によっては使いにくいことがあります。例えば、次のようなコードを考えてみましょう: