7baaa417b02938a08b000ff947b75fa24d414f23
3 const th
= require('./template-helper');
5 function aboutSection() {
7 <section class="about">
10 This is an <a class="external" href="https://indieweb.org/IndieAuth">IndieAuth</a> service.
13 It facilitates distributed authentication.
16 If you are not an established user of this service, or some sort of web application, there is very little here for you.
21 function contactSection(contactHTML
) {
34 * @param {Object} options
35 * @param {Object} options.manager
36 * @param {String} options.manager.pageTitle
37 * @param {String[]} options.manager.footerEntries
38 * @param {String} options.adminContactHTML
41 module
.exports
= (ctx
, options
) => {
42 const contactHTML
= options
.adminContactHTML
;
44 pageTitle: options
.manager
.pageTitle
,
45 logoUrl: options
.manager
.logoUrl
,
46 footerEntries: options
.manager
.footerEntries
,
60 contactSection(contactHTML
),
62 return th
.htmlPage(1, ctx
, htmlOptions
, content
);