The README has been updated to show a code example of both, including an exemplary screenshot. Since Hugo 0.55, we have to use `markdownify` in shortcodes that contain HTML elements. At least we have to, if we want to render markdown code inside the HTML element. To use the `<aside>` element, we have to wrap our content in an `<article>` tag. This fixes #4. Co-authored-by: Robert Lützner <robert.luetzner@iternity.com>
7 lines
116 B
HTML
7 lines
116 B
HTML
{{ define "main" }}
|
|
{{ partial "metadata.html" . }}
|
|
<!-- <br><br> -->
|
|
<article>
|
|
{{ .Content }}
|
|
</article>
|
|
{{ end }}
|