Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Pages Feature

  • #2666
    Avatar photo[anonymous]

    There is any plans for the pages feature? I’m using tags as pages, but if I enable the pretty URLs, I’ve to define a prefix.

    If there is no plan for that, it would be nice if we could use %tag in the Tag prefix field

    #2667
    Avatar photo[anonymous]

    Hi,

    We have currently abandon the pages idea, but you can implement them using posts marked as “Hidden” – then they are not displayed on the listings and can have pretty URLs without any problems.

    #2705
    Avatar photo[anonymous]

    This way, if the Menu Item targets to the hidden Post, it will render using the Post.hbs, there is any way to use Tags.hbs?

    ex:

    Tags = [{ title: 'Foo', slug: 'foo' }, ...]
    Menu = [{ title: 'Foo', slug: 'foo', type: 'tag', tag: 'foo' }, ...]

    renders to ‘/tag/foo/index.html

    Hidden Post = { title: 'Foo', slug: 'foo', tag: 'foo' }

    renders to ‘/foo/index.html‘ (but this would use the Post layout, I want the Tag layout, the exact same result as the ‘/tag/foo/index.html’ result)

    #2706
    Avatar photoBob
    [anonymous] wrote:

    it will render using the Post.hbs, there is any way to use Tags.hbs?

    It’s not, but you can easily create an additional post template and assign it to your hidden posts https://getpublii.com/dev/how-to-create-custom-templates/

    #2707
    Avatar photo[anonymous]

    Months ago we had a good discussion about why Publii needed pages. At the time you guys agreed:

    https://forum.getpublii.com/topic/pages-vs-posts-can-i-create-pages-as-well-as-posts/

    https://forum.getpublii.com/topic/roadmap-questions-why-no-pages/

    https://forum.getpublii.com/topic/pages-what-features-are-needed-wanted-or-nice-to-haves/

    Can you explain why you decided to drop pages? Thanks in advance.

    #2709
    Avatar photoBob

    Hi @cloudseeder

    For now, we have abandoned this idea, but we will come back to it; The main reason is that this is a very labor-intensive feature and involves the change of many elements of the app.

    #2712
    Avatar photo[anonymous]
    This reply has been marked as private.
    #2719
    Avatar photo[anonymous]

    My 5 cents in this topic to clarify what happened in this area 🙂

    We have made a bigger research and then we have discovered a lot of dependencies which are affected by adding the Pages feature. It is is a much bigger thing than we have planned. That’s why we have decided to postpone it to the future releases as we want to release Publii as a stable release as soon as possible, and adding new big features does not help us in doing this 😉

    So Pages will come back, but as I suppose it will be in some 1.1-1.2 release. At this moment we want to release v.0.36 soon. After that release most probably we will release also v.0.37 to stabilize some core features. When we will fix most of the founded issues and problems – we will publish Publii v.1.0 (stable release). Till this moment we will avoid implementing big features (such Pages) as we want to focus on making Publii better and greater in functions which are currently available.

    After that release (v.1.0) we will be able to focus on bigger features like Pages again.

    #2734
    Avatar photo[anonymous]

    Tomasz Dziuda wrote:
    After that release (v.1.0) we will be able to focus on bigger features like Pages again.

    Thanks for taking the time to give feedback about this. It’s reassuring to know that you guys are thinking in Publii for the long term. ????