Merge branch 'dev' into js-and-css-impromement

This commit is contained in:
KiddyTheKid 2021-01-11 02:18:31 +01:00
commit 3eb1562871
4 changed files with 12 additions and 0 deletions

View file

@ -7,8 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Support for signature profiles
- Robots.txt
- Noindex meta tags on profile pages
### Changed
- Allow setting of custom HKP server
## Fixed
- Render error messages when error is object
## [2.3.4] - 2021-01-02
### Fixed

View file

@ -44,6 +44,7 @@ app.set('keyoxide_version', packageData.version);
app.set('onion_url', process.env.ONION_URL);
app.use('/favicon.svg', express.static('favicon.svg'));
app.use('/robots.txt', express.static('robots.txt'));
app.use(stringReplace({
PLACEHOLDER__XMPP_VCARD_SERVER_DOMAIN: process.env.XMPP_VCARD_SERVER_DOMAIN || 'xmpp-vcard.keyoxide.org'

6
robots.txt Normal file
View file

@ -0,0 +1,6 @@
User-agent: *
Allow: /$
Allow: /guides
Allow: /getting-started
Allow: /faq
Disallow: /

View file

@ -2,6 +2,7 @@ doctype html
head
meta(charset='utf-8')
meta(name='viewport' content='width=device-width, initial-scale=1')
meta(name='robots' content='noindex')
link(rel='shortcut icon' href='/favicon.svg')
title Keyoxide
link(rel='stylesheet' href='/static/styles.css')