Sign in

Ovveride post.hbs and tag.hbs for specific ID

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #836
    Avatar photo[anonymous]

    Hi there,

    I wanted to know if there was the possibility to override templates for a specific ID or slug.
    For example with tag-2.hbs or tag-slug.hbs.

    If no, is it planned in the future or can it be a feature request?

    Thanks in advance!

    #837
    Avatar photoBob

    Hi,

    Yeap, just create a custom tag template and then assign it to the selected tag.
    More details: https://getpublii.com/dev/how-to-create-custom-templates/#js-header

    screenshot-2019-11-23-o-11.15.24

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #850
    Avatar photo[anonymous]

    Oh it’s easy! Thank you! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Ovveride post.hbs and tag.hbs for specific ID’ is closed to new replies.