-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
155 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# What version of Archetype is the latest image on dockerhub | ||
# See digipal/__init__.py | ||
__version__ = '2.7' | ||
__version__ = '2.8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '2.7' | ||
__version__ = '2.8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="col-md-4 col-sm-12 recentPosts"> | ||
<h1 class='header1'><a href="/blog/category/{{ posts_category }}/">{{ posts_title }}</a></h1> | ||
{% load blog_tags keyword_tags i18n %} | ||
{% blog_recent_posts 4 category=posts_category as recent_posts %} | ||
{% if recent_posts %} | ||
<ul> | ||
{% for recent_post in recent_posts %} | ||
<li> | ||
<a href="{{ recent_post.get_absolute_url }}"> | ||
{{ recent_post.title }} | ||
</a> | ||
<br/> | ||
<span class="legend"> | ||
{{ recent_post.publish_date|timesince }} | ||
ago, by {{ recent_post.user.first_name }} {{ recent_post.user.last_name }} | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<p> | ||
<a class='btn btn-default' href="/blog/category/news">{{ posts_more }} »</a> | ||
</p> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,3 @@ | ||
{% extends "base.html" %} | ||
{% extends "index_default.html" %} | ||
{% load i18n %} | ||
{% load blog_tags keyword_tags i18n html_escape %} | ||
|
||
{% block meta_title_site %}{{ settings.SITE_TITLE }}{% endblock %} | ||
|
||
{% block meta_title %}{% endblock %} | ||
|
||
{% block title %} | ||
{% trans "Home" %} | ||
{% endblock %} | ||
|
||
{% block breadcrumb_menu %} | ||
<li class="active">{% trans "Home" %}</li> | ||
{% endblock %} | ||
|
||
{% block main %} | ||
{% block top %} | ||
<div class='row'> | ||
|
||
{% block top_left %} | ||
{% include "digipal/home_carousel.html" %} | ||
{% endblock %} | ||
|
||
{% block top_middle %} | ||
{% endblock %} | ||
|
||
{% block top_right %} | ||
<div class="col-md-4 smaller justified"> | ||
{% include "digipal/home_intro.html" %} | ||
</div> | ||
{% endblock %} | ||
|
||
</div> | ||
{% endblock %} | ||
|
||
{% block bottom %} | ||
|
||
<div id="homeSection" class="row home-page-listings"> | ||
|
||
{% block bottom_left %} | ||
<div class="col-md-4 col-sm-12 recentPosts"> | ||
|
||
<h1 class='header1'><a href="/blog/category/blog">Blog</a></h1> | ||
{% load blog_tags keyword_tags i18n %} | ||
{% blog_recent_posts 4 category="blog" as recent_posts %} | ||
{% if recent_posts %} | ||
<ul> | ||
{% for recent_post in recent_posts %} | ||
<li> | ||
<a href="{{ recent_post.get_absolute_url }}"> | ||
{{ recent_post.title }} | ||
</a> | ||
<br/> | ||
<span class="legend"> | ||
{{ recent_post.publish_date|timesince }} | ||
ago, by {{ recent_post.user.first_name }} {{ recent_post.user.last_name }} | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<p> | ||
<a class='btn btn-default' href="/blog/category/blog">More blog entries »</a> | ||
</p> | ||
{% endif %} | ||
</div> | ||
{% endblock %} | ||
|
||
{% block bottom_middle %} | ||
|
||
<div class="col-md-4 col-sm-12 recentPosts"> | ||
|
||
<h1 class='header1'><a href="/blog/category/news">News</a></h1> | ||
{% load blog_tags keyword_tags i18n %} | ||
{% blog_recent_posts 4 category="news" as recent_posts %} | ||
{% if recent_posts %} | ||
<ul> | ||
{% for recent_post in recent_posts %} | ||
<li> | ||
<a href="{{ recent_post.get_absolute_url }}"> | ||
{{ recent_post.title }} | ||
</a> | ||
<br/> | ||
<span class="legend"> | ||
{{ recent_post.publish_date|timesince }} | ||
ago, by {{ recent_post.user.first_name }} {{ recent_post.user.last_name }} | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<p> | ||
<a class='btn btn-default' href="/blog/category/news">More news »</a> | ||
</p> | ||
{% endif %} | ||
</div> | ||
{% endblock %} | ||
|
||
{% block bottom-right %} | ||
<div class="col-md-4 col-sm-12"> | ||
|
||
{% render_mezzanine_page 'home.glossary' %} | ||
|
||
</div> | ||
{% endblock %} | ||
|
||
</div> | ||
|
||
{% endblock %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{% extends "base.html" %} | ||
{% load i18n %} | ||
{% load blog_tags keyword_tags i18n html_escape %} | ||
|
||
{% block meta_title_site %}{{ settings.SITE_TITLE }}{% endblock %} | ||
|
||
{% block meta_title %}{% endblock %} | ||
|
||
{% block title %} | ||
{% trans "Home" %} | ||
{% endblock %} | ||
|
||
{% block breadcrumb_menu %} | ||
<li class="active">{% trans "Home" %}</li> | ||
{% endblock %} | ||
|
||
{% block main %} | ||
{% block top %} | ||
<div class='row'> | ||
|
||
{% block top_left %} | ||
{% include "digipal/home_carousel.html" %} | ||
{% endblock %} | ||
|
||
{% block top_middle %} | ||
{% endblock %} | ||
|
||
{% block top_right %} | ||
<div class="col-md-4 smaller justified"> | ||
{% include "digipal/home_intro.html" %} | ||
</div> | ||
{% endblock %} | ||
|
||
</div> | ||
{% endblock %} | ||
|
||
{% block bottom %} | ||
|
||
<div id="homeSection" class="row home-page-listings"> | ||
|
||
{% block bottom_left %} | ||
{% include 'digipal/recent_posts.html' with posts_title='Blog' posts_category='blog' posts_more='More entries' %} | ||
{% endblock %} | ||
|
||
{% block bottom_middle %} | ||
{% include 'digipal/recent_posts.html' with posts_title='News' posts_category='news' posts_more='More news' %} | ||
{% endblock %} | ||
|
||
{% block bottom-right %} | ||
<div class="col-md-4 col-sm-12"> | ||
{% render_mezzanine_page 'home.glossary' %} | ||
</div> | ||
{% endblock %} | ||
|
||
</div> | ||
|
||
{% endblock %} | ||
|
||
{% endblock %} |
Oops, something went wrong.