Skip to content

Commit

Permalink
Cleanup demo
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed Oct 13, 2018
1 parent 712e922 commit 968d982
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion pages/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ tags:
slug: demo
lang: en
authors: Open Data Team
summary: Just a demo page
summary: Try udata on our demo instance
template: demo
---

<center><strong>🚧 Soon 🚧</strong></center>
12 changes: 5 additions & 7 deletions theme/templates/demo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% extends 'base.html' %}
<section class="section-white">
<div class="container">
{% block content %}
{% endblock content %}
</div>
</section>
{% extends 'page.html' %}

{% block page_content %}
{{ page.content }}
{% endblock %}
2 changes: 2 additions & 0 deletions theme/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{% block content %}
<section class="section-white">
<div class="container">
{% block page_content %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}

Expand All @@ -20,6 +21,7 @@
Last updated: {{ page.locale_modified }}
</p>
{% endif %}
{% endblock %}
</div>
</section>
{% endblock %}

0 comments on commit 968d982

Please sign in to comment.