Replies: 5 comments 3 replies
-
You can use the "is" helper as documented here: https://getpublii.com/dev/is-helper/, which allows for basic conditional checks. For more granular control, such as specifying the type of page and checking post IDs, you can use the "checkIf" helper, as described here: https://getpublii.com/dev/checkif-helper/ |
Beta Was this translation helpful? Give feedback.
-
You'll need to write a plugin that inserts the script tag when needed. Implement a handler for the postText or htmlOutput modifier. Check if your element exists and insert your script tag. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Brilliant. 🤣 Please have a look at the following in the manual: Post config options Creating helpers is also described there.
No, this is not possible. |
Beta Was this translation helpful? Give feedback.
-
I want to do the same thing as the function HasGallery to load in the head file jquery only when I have my simulator ressource.
Beta Was this translation helpful? Give feedback.
All reactions