Download

{{encodeUrlFragment}} helper

Helper used if you need to use a text inside the URL i.e. when you are using the social sharing scripts.

Syntax:

{{encodeUrlFragment TEXT_TO_ENCODE}}

Example:

https://social.media?sharer.php?title={{encodeUrlFragment post.title}}

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website