Sign in

How do I add a page to /tag/ using Publii?

  • This topic has 7 replies, 2 voices, and was last updated 2 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3627
    eicker

    I’d like to add a page (post) to /tag/.

    When posting a new post with that slug it gets renamed to /tag-2/

    How do I add a page to /tag/ using Publii?

    Thanks!

    #3628
    Bob
    Support

    Hi eicker,

    Most likely the “tag” slug is in use by another post. So, when you try to use the same again, Publii automatically changes it by adding the suffix -2.

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

    #3629
    eicker

    Well, “/tag/” is the slug between your Publii domain and your Publii tags.

    But there is no content, no page at /tag/, sadly. That’s why I’d like to add a post there

    So: How do I add a post to /tag/ using Publii?

    #3630
    Bob
    Support

    Add this tag to any post and then visit theĀ  / tag / page, it should contain all posts tagged with your tag.

    screenshot-2020-08-27-o-10.41.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!

    #3634
    #3635
    Bob
    Support

    ah ok, it’s not possible to add any content to the /tag/ page right now, but the next Publii release will change it, and the tags page will display a collection of all tagsĀ  https://github.com/GetPublii/Publii/issues/725

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

    #3636
    eicker

    Perfect! That’s what’s missing.

    But it’s really important to make that page manageable:

    1. I definitely want a list of all used tags – a pretty tag cloud would be perfect but a simple list sufficent.
    2. But I really want to add text to this page as well. It should be editable just like any other post, followed by the list/cloud of tags.

    Thank you!

    #3637
    Bob
    Support

    But I really want to add text to this page as well. It should be editable just like any other post, followed by the list/cloud of tags.

    Editable, included in the language file will be the title and description of this page, but nothing prevents you from editing the tags.hbs page yourself.

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.