diff --git a/config.example.py b/config.example.py index aa50cd8..c4f1d63 100644 --- a/config.example.py +++ b/config.example.py @@ -21,7 +21,7 @@ SECRET_KEY = '***' # Prefix for running multiple sites, user table will not be prefixed. SITE_FLAVOR = 'nyaa' # 'nyaa' or 'sukebei' - +EXTERNAL_URLS = {'fap':'***', 'main':'***'} # for recaptcha and email verification: # keys for localhost. Change as appropriate when actual domain is registered. RECAPTCHA_PUBLIC_KEY = '***' @@ -57,4 +57,4 @@ USE_ELASTIC_SEARCH = False ENABLE_ELASTIC_SEARCH_HIGHLIGHT = False # Max ES search results, do not set over 10000 ES_MAX_SEARCH_RESULT = 1000 -ES_INDEX_NAME = SITE_FLAVOR # we create indicies named nyaa or sukebei \ No newline at end of file +ES_INDEX_NAME = SITE_FLAVOR # we create indicies named nyaa or sukebei diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index ce82404..8e7f155 100644 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -84,9 +84,9 @@
  • RSS
  • {% if config.SITE_FLAVOR == 'nyaa' %} -
  • Fap
  • +
  • Fap
  • {% elif config.SITE_FLAVOR == 'sukebei' %} -
  • Fun
  • +
  • Fun
  • {% endif %} {% if g.user.is_moderator %}
  • Reports