Open klonos opened 4 years ago
cc'ing @jenlampton @stpaultim and @BWPanda
I'm in the process of writing my first contributed Backdrop Layout, and I'm just realising that when I've written layouts previously for my own sites, I haven't added all the extra bits mentioned above, I've just replied on adding them via blocks in the UI. So yes, I'm interested to know and document what exactly needs to be added to the layout template file...
After looking through the core layout templates (all but the legacy ones), I've found that the following things are output in Layout template files in addition to the defined regions:
Update: And I've just confirmed this by looking through the blocks list. All of the above (except the 'skip' link) are blocks and have the following in their description:
Replaces the normal [WHATEVER] on the page with a block.
There was this question by @BWPanda about 50min into the recording: https://youtu.be/x8JeTzaC98A?t=3011
@BWPanda:
@jenlampton (emphasis mine, on what needs to be documented):
@BWPanda:
@jenlampton:
@BWPanda:
(emphasis mine, on what needs to be documented)
We should capture all this valuable knowledge in https://api.backdropcms.org/converting-themes