Skip to content

Commit 3824036

Browse files
authored
First blog post: fix display of listing inside code block (#361)
1 parent 4212f00 commit 3824036

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

content/en/blog/news/first-post/index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ linkTitle: Announcing Docsy
55
description: >
66
The Docsy Hugo theme lets project maintainers and contributors focus on content,
77
not on reinventing a website infrastructure from scratch
8-
author: Riona MacNamara ([@rionam](https://twitter.com/bepsays))
8+
author: Riona MacNamara ([@rionam](https://x.com/bepsays))
99
resources:
1010
- src: "**.{png,jpg}"
1111
title: "Image #:counter"
@@ -37,12 +37,10 @@ resources:
3737

3838
To include the image in a page, specify its details like this:
3939

40-
```
41-
{{< imgproc sunset Fill "600x300" >}}
40+
```go-html-template
41+
{{</* imgproc sunset Fill "600x300" */>}}
4242
Fetch and scale an image in the upcoming Hugo 0.43.
43-
{{< /imgproc >}}
43+
{{</* /imgproc */>}}
4444
```
4545

4646
The image will be rendered at the size and byline specified in the front matter.
47-
48-

0 commit comments

Comments
 (0)