Skip to content
Snippets Groups Projects
Commit 385315c7 authored by Olli Jalonen's avatar Olli Jalonen :disguised_face:
Browse files

Add static blog and community pages

parent e433e751
No related branches found
No related tags found
No related merge requests found
{% extends "base.html" %}
{% block extra_head %}
<link href="{{ STATIC_URL }}css/site_base.css" rel="stylesheet"/>
<link href="{{ STATIC_URL }}css/geonode-utu.css" rel="stylesheet"/>
{% endblock %}
{% block body %}
<h1>Blog</h1>
<p>Get content from WordPress site?</p>
<p>New blog post should propable be a link to the blog site</p>
{% endblock %}
{% block extra_tab %}
{% comment %}
Custom events page
{% endcomment %}
{% endblock %}
\ No newline at end of file
{% extends "base.html" %}
{% block extra_head %}
<link href="{{ STATIC_URL }}css/site_base.css" rel="stylesheet"/>
<link href="{{ STATIC_URL }}css/geonode-utu.css" rel="stylesheet"/>
{% endblock %}
{% block body %}
<h1>Community</h1>
<p>Page empty on purpose.</p>
{% endblock %}
{% block extra_tab %}
{% comment %}
Custom events page
{% endcomment %}
{% endblock %}
\ No newline at end of file
......@@ -42,6 +42,8 @@ CONTAINER_FILES=(
'utu_geonode.html' # 8
'influence.html' # 9
'contact.html' # 10
'community.html' # 11
'blog.html' # 12
)
# File paths inside container
......@@ -57,6 +59,8 @@ CONTAINER_PATHS=(
'/usr/src/resilienceacademy/resilienceacademy/templates/' # 8
'/usr/src/resilienceacademy/resilienceacademy/templates/' # 9
'/usr/src/resilienceacademy/resilienceacademy/templates/' # 10
'/usr/src/resilienceacademy/resilienceacademy/templates/' # 11
'/usr/src/resilienceacademy/resilienceacademy/templates/' # 12
)
# File names outside container (here)
......@@ -73,6 +77,8 @@ LOCAL_FILES=(
'utu_geonode.html' # 8
'influence.html' # 9
'contact.html' # 10
'community.html' # 11
'blog.html' # 12
)
# Image files, these are not backed up but existence is checked
......
......@@ -82,6 +82,12 @@ urlpatterns = [
url(r'^contact/$',
TemplateView.as_view(template_name='contact.html'),
name='contact'),
url(r'^community/$',
TemplateView.as_view(template_name='community.html'),
name='community'),
url(r'^blog/$',
TemplateView.as_view(template_name='blog.html'),
name='blog'),
url(r'^help/$',
TemplateView.as_view(template_name='help.html'),
name='help'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment