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.

Theme config API – anchor

  • #9635
    Avatar photo[anonymous]

    I saw this today when studying the theme Simple – there is an “anchor” item:

        "anchor": "hero",
        "name": "separator",
        "type": "separator",
        "label": "Hero Section",
        "group": "Colors",
        "size": "big"

    The “anchor” appears once in that theme and part of a separator type item.  Is it just an error or is it perhaps an undocumented feature.  As near as I  can tell it does not affect the theme settings in Publii at all.

    Just curious.


    Avatar photo[anonymous]


    It is just used as `id` attribute of field, to be honest – I do not remember if it has some use case now 🙂