Feature/publish leaflets (#235)
* reorganized Actions in leaflet a bit
* started up on the publish button, WIP
* added an icon for one-offs/looseleafs/whatever
* adjusted popover to new one step design
* wrap up styling tweaks to the publish popover
* title input in publish post details form now pulls first block content
as title
* add a looseleaf button to the homepage
* icon stuffffff
* make save as draft and publish work to existing pub
* make publication optional on documents
* support publishing standalone leaflets
* support adding theme to standalone published docs
* render standalone published docs at /p/
* render standalone published docs properly on homepage
* handle publishing doc theme
* delete entiteis before publishing
* tweak publish page styles
* add published link for standaloen docs in share menu
* style tweaks to make starting a new pub an external link rather than a
redirect
* tiny lil teaks to create pub form
* fix type errors
* added the looseleaf page
* handle canvases better
* some small tweaks
* handle publishing canvas pages as first page
* simplify page handling and support root canvas page
* add basic looseleaf page
* don't show looseleafs tab if none
* add first page to start of array
* fix metadata on read links
* get theme from correct place and fix pub metadata
* remove flex on published page link block content
* fix imports and types
* fix looseleaf titles
---------
Co-authored-by: celine <celine@hyperlink.academy>
authored by
awarm.space