Publishing Updates
- To notify the Hub that a topic's content has been updated and should be distributed to subscribers, send a
POST
request with Form Data (
application/x-www-form-urlencoded
):
+ To notify the Hub either of a new topic to syndicate, or that a topic's content has been updated and should be distributed to subscribers, send a
POST
request with Form Data (
application/x-www-form-urlencoded
):
-
hub.mode
set to publish
@@ -138,12 +150,16 @@ module.exports = (ctx, options) => {
const footerEntries = options.manager.footerEntries;
const hubURL = options.dingus.selfBaseUrl || 'https://hub.example.com/';
const headElements = [];
- const navLinks = [];
+ const navLinks = [{
+ href: 'admin/',
+ text: 'Admin',
+ }];
const mainContent = [
aboutSection(),
usageSection(isPublicHub, hubURL),
contactSection(contactHTML),
+ hAppSection(pageTitle),
];
- return th.htmlTemplate(1, pageTitle, headElements, navLinks, mainContent, footerEntries,
+ return th.htmlTemplate(ctx, 0, pageTitle, headElements, navLinks, mainContent, footerEntries,
);
};
\ No newline at end of file