mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-08-04 04:58:55 -04:00
Remove comment shortcode documentation
This commit is contained in:
parent
0ca7ccd304
commit
73a01565c5
@ -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:
|
||||||
|
@ -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 %}}
|
||||||
|
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user