From 94502a09babb2f4cad38aec2fbdca907dc2e3298 Mon Sep 17 00:00:00 2001 From: mamaremere Date: Tue, 29 Mar 2022 16:43:20 +0300 Subject: [PATCH] Code block render hooks are introduced in v0.93.0 (#1701) The docs incorrectly stated that code block render hooks were introduced in version 0.83.0, so I corrected it to version 0.93.0 (changelog here: https://github.com/gohugoio/hugo/releases/tag/v0.93.0). --- content/en/templates/render-hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/templates/render-hooks.md b/content/en/templates/render-hooks.md index 57c2efa06..8f1a55c2f 100644 --- a/content/en/templates/render-hooks.md +++ b/content/en/templates/render-hooks.md @@ -25,7 +25,7 @@ The hook kinds currently supported are: * `image` * `link` * `heading` {{< new-in "0.71.0" >}} -* `codeblock`{{< new-in "0.83.0" >}} +* `codeblock`{{< new-in "0.93.0" >}} You can define [Output-Format-](/templates/output-formats) and [language-](/content-management/multilingual/)specific templates if needed. Your `layouts` folder may look like this: