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
3 changed files with 1 additions and 11 deletions
-10
View File
@@ -304,16 +304,6 @@ title: Example
draft: false
{{< /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
Use the `deprecated-in` shortcode to indicate that a feature is deprecated:
+1
View File
@@ -9,6 +9,7 @@ menu:
parent: shortcodes
weight:
weight:
expiryDate: 2025-01-22 # with v0.142.0 and later use HTML comments instead
---
{{% note %}}
-1
View File
@@ -24,7 +24,6 @@
'render-table' = '_default/_markup/render-table.html'
# Shortcodes
'comment' = 'shortcodes/comment.html'
'details' = 'shortcodes/details.html'
'figure' = 'shortcodes/figure.html'
'gist' = 'shortcodes/gist.html'