-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use angle bracket delimited shortcodes to fix h2 anchors
Since [hugo 0.55][1] percent sign delimited shortcodes were interpreted as markdown which caused our `<h2>` headings to be dropped silently. To get the old behavior you can either prepend your shortcode template with ``` {{ $_hugo_config := `{ "version": 1 }` }} ``` or use the `{{< my-shortcode > }}` format. The latter one is explicit and thus clearer. ([Details][2]) It boggles my mind that they introduced a breaking change like this and then also allowed to override the behavior of one format, now it is unclear how a short code is handled until you know its template definition. [1]: gohugoio/hugo#5763 [2]: https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown
- Loading branch information
Showing
12 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ contribute or participate. | |
|
||
<img class="half" src="logo.svg" alt="Depiction of a Leipzig Cloud Gopher"> | ||
|
||
{{% h2 %}}How to participate{{% /h2 %}} | ||
{{< h2 >}}How to participate{{< /h2 >}} | ||
|
||
* follow us on [meetup](https://www.meetup.com/Leipzig-Golang) for updates, or via [RSS feed](https://golangleipzig.space/posts/index.xml) | ||
* help us spread the word - we're on [twitter](https://twitter.com/golang_leipzig) | ||
|
@@ -39,14 +39,14 @@ ideas and projects (send us a PM on [twitter](https://twitter.com/golang_leipzig | |
organizing this (just [drop me an email](mailto:[email protected]); we | ||
have a few nice ideas for events already, but help is always appreciated | ||
|
||
{{% h2 %}}Want to host a meetup at your company?{{% /h2 %}} | ||
{{< h2 >}}Want to host a meetup at your company?{{< /h2 >}} | ||
|
||
Your company uses Go or wants to look into it? Why not connect with the local | ||
Go community by hosting a user group event? We do have presentations on | ||
interesting technical topics and spark lively discussions. If you are | ||
interested, [let's talk](mailto:[email protected]). | ||
|
||
{{% h2 %}}Meetup log{{% /h2 %}} | ||
{{< h2 >}}Meetup log{{< /h2 >}} | ||
|
||
We try to sum up every meetup in a short blog post: | ||
[#12](https://golangleipzig.space/posts/meetup-12-wrapup/), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters