danpros / htmly

Simple and fast databaseless PHP blogging platform, and Flat-File CMS
https://www.htmly.com
GNU General Public License v2.0
1.07k stars 263 forks source link

Possible to add custom HTML and/or JavaScript #746

Closed codinginbarn closed 4 months ago

codinginbarn commented 4 months ago

Not an issue, but I do not know where else to ask...

I have been tasked to find a platform such as HTMLY for a non-profit organization. The top team members all need separate blogs and HTMLY would fit nicely.

One important requirement is ability to add custom HTML and/or JavaScript to posts/pages. Kind of like a WordPress custom HTML block. Is this possible with HTMLY?

Thanks for your time.

danpros commented 4 months ago

Hello,

Short answer, yes. HTMLy text editor allow HTML tags and JavaScript.

For automated addition, use custom config or put the tags and javascript directly to the template files.

codinginbarn commented 4 months ago

Ok, thanks. Thought there may be a way to insert directly from editor without setting up custom tags.

Cheers!