mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
feat: add env shortcode for conditional content rendering based on Hugo environment
This commit is contained in:
@@ -194,8 +194,6 @@ function isObjectLiteral(str) {
|
||||
|
||||
## Gist Embed
|
||||
|
||||
```md
|
||||
{{</* gist Lruihao fb8b2d0353465c4d40bf74818db80710 */>}}
|
||||
```
|
||||
|
||||
<!-- {{< gist Lruihao fb8b2d0353465c4d40bf74818db80710 >}} -->
|
||||
{{< env "production" >}}
|
||||
{{< gist Lruihao fb8b2d0353465c4d40bf74818db80710 >}}
|
||||
{{< /env >}}
|
||||
|
||||
Reference in New Issue
Block a user