content: Replace calls to the code shortcode with fenced code blocks

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-03-06 02:49:11 -08:00
1 parent b23c9a583a
commit fd628be6ed
110 files changed
+483 -555

No files matched your search

+2 -2
View File
@@ -27,11 +27,11 @@ Calling this shortcode:
We can access the front matter values using the `Page` method:
{{< code file=layouts/shortcodes/book-details.html >}}
```go-html-template {file="layouts/shortcodes/book-details.html"}
<ul>
<li>Title: {{ .Page.Title }}</li>
<li>Author: {{ .Page.Params.author }}</li>
<li>Published: {{ .Page.Params.publication_year }}</li>
<li>ISBN: {{ .Page.Params.isbn }}</li>
</ul>
{{< /code >}}
```