Skip to content

Commit

Permalink
New DNS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Apr 15, 2018
1 parent a947433 commit aee9c1f
Show file tree
Hide file tree
Showing 8 changed files with 617,177 additions and 24 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
system
8 changes: 4 additions & 4 deletions _settings/settings-prd.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

from dispatch.default_settings import *

BASE_URL = 'https://phoenix-prd.appspot.com/'
CANONICAL_DOMAIN = 'phoenix-prd.appspot.com'
BASE_URL = 'https://new.thephoenixnews.com/'
CANONICAL_DOMAIN = 'new.thephoenixnews.com'

SECRET_KEY = Secrets.get('SECRET_KEY')

INSTALLED_APPS += ['phoenix']

ALLOWED_HOSTS = [
'phoenix.ubyssey.ca',
'www.phoenix.ubyssey.ca',
'new.thephoenixnews.com',
'www.new.thephoenixnews.com',
'phoenix-prd.appspot.com',
]

Expand Down
903 changes: 903 additions & 0 deletions phoenix.sql

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions phoenix/templates/components/large-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<nav class="c-large-header__nav">
<div class="c-container">
<ul>
<li class="c-large-header__nav__item"><a href="{% url 'page' 'about' %}">About</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'news' %}">News</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'life' %}">Lifestyle</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'features' %}">Features</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'arts' %}">Arts</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'sports' %}">Sports</a></li>
<li class="c-large-header__nav__item"><a href="{% section_url 'opinions' %}">Opinions</a></li>
<li class="c-large-header__social__item"><a><i class="fab fa-facebook"></i></a></li>
<li class="c-large-header__social__item"><a><i class="fab fa-twitter"></i></a></li>
<li class="c-large-header__social__item"><a><i class="fab fa-instagram"></i></a></li>
<li class="c-large-header__nav__item"><a href="{% url 'page' 'about-the-phoenix' %}">About</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'news' %}">News</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'life' %}">Lifestyle</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'features' %}">Features</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'arts' %}">Arts</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'sports' %}">Sports</a></li>
<li class="c-large-header__nav__item"><a href="{% url 'section' 'opinions' %}">Opinions</a></li>
<li class="c-large-header__social__item"><a href="https://www.facebook.com/ThePhoenixNews/" target="_blank"><i class="fab fa-facebook"></i></a></li>
<li class="c-large-header__social__item"><a href="https://twitter.com/ubcophoenix" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li class="c-large-header__social__item"><a href="https://www.instagram.com/ubcophoenix/" target="_blank"><i class="fab fa-instagram"></i></a></li>
</ul>
</div>
</nav>
Expand Down
20 changes: 10 additions & 10 deletions phoenix/templates/components/small-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
<a href="{% url 'homepage' %}" class="c-small-header__logo"></a>
<nav class="c-small-header__nav">
<ul>
<li class="c-small-header__nav__item"><a href="{% url 'page' 'about' %}">About</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'news' %}">News</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'life' %}">Lifestyle</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'features' %}">Features</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'arts' %}">Arts</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'sports' %}">Sports</a></li>
<li class="c-small-header__nav__item"><a href="{% section_url 'opinions' %}">Opinions</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'page' 'about-the-phoenix' %}">About</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'news' %}">News</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'life' %}">Lifestyle</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'features' %}">Features</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'arts' %}">Arts</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'sports' %}">Sports</a></li>
<li class="c-small-header__nav__item"><a href="{% url 'section' 'opinions' %}">Opinions</a></li>
</ul>
</nav>
<nav class="c-small-header__social">
<ul>
<li class="c-small-header__social__item"><a><i class="fab fa-facebook"></i></a></li>
<li class="c-small-header__social__item"><a><i class="fab fa-twitter"></i></a></li>
<li class="c-small-header__social__item"><a><i class="fab fa-instagram"></i></a></li>
<li class="c-small-header__social__item"><a href="https://www.facebook.com/ThePhoenixNews/" target="_blank"><i class="fab fa-facebook"></i></a></li>
<li class="c-small-header__social__item"><a href="https://twitter.com/ubcophoenix" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li class="c-small-header__social__item"><a href="https://www.instagram.com/ubcophoenix/" target="_blank"><i class="fab fa-instagram"></i></a></li>
</ul>
</nav>
</div>
Expand Down
Binary file added test.pdf
Binary file not shown.
Loading

0 comments on commit aee9c1f

Please sign in to comment.