mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-03 20:22:41 +00:00
988 B
988 B
title, date, description, type, draft, password, message, tags, categories, menu
| title | date | description | type | draft | password | message | tags | categories | menu | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Encrypt Test | 2022-05-21T22:31:22+08:00 | Test for encrypting content | posts | true | 1212 | password is 1212 |
|
|
|
I was shy, so I hid.
Shortcodes in encrypted Content
{{< version 0.2.8 >}}
script is a shortcode to insert custom :(fa-brands fa-js fa-fw): Javascript in your post.
{{< admonition >}} The script content can be guaranteed to be executed in order after all third-party libraries are loaded. So you are free to use third-party libraries. {{< /admonition >}}
Example script input:
{{</* script */>}}
console.log('Hello FixIt!');
{{</* /script */>}}
You can see the output in the console of the developer tool.
{{< script >}} console.log('Hello FixIt!'); {{< /script >}}