Add files in
/srv/picinch/site/ to customise your installation. You must restart the service for changes to take effect.
templates/ define Go templates to specify static content for your site. All files with the name
*.tmpl are processed. Typically a single
site.tmpl file is sufficient. See Template Example
The following templates are intended to be redefined, and you will probably want to change at least
banner Banner text on each page.
copyrightNotice Copyright statement for the Copyright and Privacy page.
dataPrivacyNotice Data privacy statement for the Copyright and Privacy page.
favicons Favicon links and meta tags. There is no need to redefine this if you use the same names as the default set.
homePage Site description shown on the home page.
homePageMeta Metadata for the home page. See Search Engine Settings.
signupPage Welcome text on the signup page.
website Website name, added to page titles and shown on log-in page.
images/ replace the default brand and favicon images for PicInch.
brand.png is the image shown on the site’s navbar. It should be 124px high. The width isn’t critical ; as a guide the default image is 558px wide.
realfavicongenerator.net was used to generate the default set of favicon files. If you want your own set, take care to generate all of these:
The following may be left unchanged (although realfavicongenerator.net will make them for you):
You may also add any images you wish to include in customised templates.
site/images/filename will be served as
static/images/filename. These files are copied so large files, such as videos, should go in
The essential items are shown in docker-compose.yml. See configuration.yml for the full set of options.