Enable Page Publishing
enable page publishing under Admin > Settings
Publish a Topic
On the first post of a public topic, hitting the
... menu (1) will reveal the wrench (2), which in turn will reveal the post administration menu (3), with a new option:
Go to post #1 and select the ellipsis icon…
Select the wrench icon
Select “Page Publishing”
This reveals a modal dialog proposing to publish the topic as a page, where you can choose the (pre-filled) slug, just as you would do for a category’s slug – it’s automatically generated from the post title. You will also get a preview of what your published page’s URL will look like.
A published topic shows a notice under the title that allows access to its publishing settings:
Unpublish a Topic
Publishing Settings will bring up options that allow you to unpublish the topic
Styling of a Published Page
The structure of a published page makes it easy to customize its CSS style:
Beginning of the HTML document of a published page
<body class="published-page"> <div class="published-page-wrapper"> <div class="published-page-header"> <h1 class="published-page-title">Guide for ActivityPub users</h1> <div class="published-page-author"> <img width="45" height="45" src="/letter_avatar_proxy/v4/letter/n/da6949/90.png" class="avatar"> <div class="published-page-author-details"> <div class="username">nedjo</div> <div class="topic-created-at">February 8</div> </div> </div> <div class="published-page-body">
The relevant CSS selectors
||the whole page (or simply:
||a div around the content|
||the title and authorship information|
||the topic title (
||the avatar, name of the author, and topic creation date|
||the username and topic creation date|
||the author’s username|
||the topic’s creation date|
||the page contents|
You can go to Admin > Customize > Themes > CSS and play with it.
Big special thanks to @hellekin for starting the documentation and providing us with valuable feedback.
It’s possible to “publish” a wiki page, which means every member, not only Staff, can update it.
Users can look at creating a theme component to supplement the published pages.