Remove comment shortcode documentation

This commit is contained in:
Joe Mooring 2025-01-22 08:46:02 -08:00 committed by GitHub
parent 0ca7ccd304
commit 73a01565c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 11 deletions

View File

@ -304,16 +304,6 @@ title: Example
draft: false draft: false
{{< /code-toggle >}} {{< /code-toggle >}}
### comment
Use the `comment` shortcode to include comments in your content. Hugo will ignore the text within these comments when rendering your site.
```text
{{%/* comment */%}}
This will be hidden when rendering the page.
{{%/* /comment */%}}
```
### deprecated-in ### deprecated-in
Use the `deprecated-in` shortcode to indicate that a feature is deprecated: Use the `deprecated-in` shortcode to indicate that a feature is deprecated:

View File

@ -9,6 +9,7 @@ menu:
parent: shortcodes parent: shortcodes
weight: weight:
weight: weight:
expiryDate: 2025-01-22 # with v0.142.0 and later use HTML comments instead
--- ---
{{% note %}} {{% note %}}

View File

@ -24,7 +24,6 @@
'render-table' = '_default/_markup/render-table.html' 'render-table' = '_default/_markup/render-table.html'
# Shortcodes # Shortcodes
'comment' = 'shortcodes/comment.html'
'details' = 'shortcodes/details.html' 'details' = 'shortcodes/details.html'
'figure' = 'shortcodes/figure.html' 'figure' = 'shortcodes/figure.html'
'gist' = 'shortcodes/gist.html' 'gist' = 'shortcodes/gist.html'