Skip to content

Commit

Permalink
customizing bioconductor more
Browse files Browse the repository at this point in the history
  • Loading branch information
Natay committed Sep 27, 2019
1 parent 1b9070c commit 0d28d3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions biostar/context.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from biostar import VERSION

from django.conf import settings

def main(request):
'''
Expand All @@ -8,6 +8,6 @@ def main(request):
The site will not load up without it.
'''

params = dict(user=request.user, VERSION=VERSION, request=request)
params = dict(user=request.user, VERSION=VERSION, site_name=settings.SITE_NAME, request=request)

return params
2 changes: 2 additions & 0 deletions biostar/forum/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# Django debug flag.
DEBUG = True

SITE_NAME = 'Biostar Forum'

# Show debug toolbar
DEBUG_TOOLBAR = False

Expand Down
2 changes: 1 addition & 1 deletion biostar/forum/templates/forum_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<head>

<title>
{% block title %}Biostar Forum{% endblock %}
{% block title %}{{ site_name }}{% endblock %}
</title>

<meta charset="UTF-8">
Expand Down
3 changes: 2 additions & 1 deletion themes/bioconductor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
GRAVATAR_ICON = 'identicon'

# These parameters will be inserted into the database automatically.
SITE_NAME = "support.bioconductor.org"
SITE_NAME = "Bioconductor Support Forum"

SITE_DOMAIN = "support.bioconductor.org"

# What domain will handle the replies.
Expand Down

0 comments on commit 0d28d3c

Please sign in to comment.