mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2025-01-10 15:19:28 -07:00
Merge branch 'dev' into js-and-css-impromement
This commit is contained in:
commit
3eb1562871
4 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
1
index.js
1
index.js
|
@ -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
6
robots.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
User-agent: *
|
||||
Allow: /$
|
||||
Allow: /guides
|
||||
Allow: /getting-started
|
||||
Allow: /faq
|
||||
Disallow: /
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue