Sign in

Post list page by tag

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3761
    Avatar photoflim

    I am trying to create a custom template for post listing by tag.

    https://getpublii.com/dev/how-to-create-custom-templates/

    I clone the tag.hbs to tag-category1.hbs, then add this in the config.json

        “tagTemplates”: {
            “category1”: “First Category”
        }
    I want to link the template to a menu item, but cannot figure out how to do it.
    #3762
    Avatar photoBob

    First, assign this template to a tag, then select this tag in the menu manager.

    screenshot-2020-09-11-o-10.31.31

    --
    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!

    #3766
    Avatar photoflim

    I see, it works now. Thank you very much 😀

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Post list page by tag’ is closed to new replies.