config: don't let tags start with '-'

This breaks search engine and negating tags.
This commit is contained in:
rr- 2016-05-24 10:30:43 +02:00
parent 731c0442e9
commit ba6c9645fb
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ limits:
posts_per_page: 40 posts_per_page: 40
max_comment_length: 5000 max_comment_length: 5000
tag_name_regex: ^:?[a-zA-Z0-9_-]+$ tag_name_regex: ^[a-zA-Z0-9_:][a-zA-Z0-9_-]*$
tag_category_name_regex: ^.{1,}$ tag_category_name_regex: ^.{1,}$
default_rank: regular default_rank: regular