[geany/www.geany.org] 1969d3: Remove Mezzanine Blog app

Enrico Tröger git-noreply at xxxxx
Sun Jul 28 09:02:43 UTC 2019


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 28 Jul 2019 09:02:43 UTC
Commit:      1969d3e6b0647a158b222f0664fe6d666b3943ab
             https://github.com/geany/www.geany.org/commit/1969d3e6b0647a158b222f0664fe6d666b3943ab

Log Message:
-----------
Remove Mezzanine Blog app

It causes errors when accessed because it is not
configured properly and we never used it.


Modified Paths:
--------------
    geany/settings.py
    geany/templates/blog/blog_post_detail.html
    geany/templates/blog/blog_post_list.html

Modified: geany/settings.py
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -312,7 +312,6 @@
     "mezzanine.core",
     "mezzanine.generic",
     "mezzanine.pages",
-    "mezzanine.blog",
     "mezzanine.forms",
     "mezzanine.galleries",
     "mezzanine.twitter",
@@ -414,7 +413,6 @@
 ADMIN_MENU_ORDER = (
     (_("Content"), (
         "pages.Page",
-        "blog.BlogPost",
         "news.NewsPost",
         "generic.ThreadedComment",
         "mezzanine_blocks.Block",


Modified: geany/templates/blog/blog_post_detail.html
36 lines changed, 0 insertions(+), 36 deletions(-)
===================================================================
@@ -1,36 +0,0 @@
-{% extends "blog/blog_post_list.html" %}
-{% load mezzanine_tags i18n %}
-
-{% block meta_title %}{{ blog_post.meta_title }}{% endblock %}
-
-{% block meta_description %}{% metablock %}
-{{ blog_post.description }}
-{% endmetablock %}{% endblock %}
-
-{% block title %}
-{{ blog_post.title }}
-{% endblock %}
-
-{% block main %}
-
-<div class="small-margin">
-<div class="well">
-
-<div class="blog-right">{{ blog_post.publish_date|date:"l, d. F Y" }}</div>
-<h2>
-    {{ blog_post.title }}
-</h2>
-
-{{ blog_post.content|richtext_filters|safe }}
-
-
-<hr>
-{% block blog_post_detail_sharebuttons %}
-{% set_short_url_for blog_post %}
-<a class="btn small primary share-twitter" target="_blank" href="http://twitter.com/home?status={{ blog_post.short_url|urlencode }}%20{{ blog_post.title|urlencode }}">{% trans "Share on Twitter" %}</a>
-<a class="btn small primary share-facebook" target="_blank" href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri }}&t={{ blog_post.title|urlencode }}">{% trans "Share on Facebook" %}</a>
-{% endblock %}
-
-</div>
-</div>
-{% endblock %}


Modified: geany/templates/blog/blog_post_list.html
52 lines changed, 0 insertions(+), 52 deletions(-)
===================================================================
@@ -1,52 +0,0 @@
-{% extends "base.html" %}
-{% load i18n mezzanine_tags blog_tags %}
-
-{% block meta_title %}{% if page %}{{ page.richtextpage.meta_title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %}
-
-
-{% block meta_description %}{% metablock %}
-{{ page.description }}
-{% endmetablock %}{% endblock %}
-
-{% block title %}
-{% if page %}
-{{ page.title }}
-{% else %}
-{% trans "Home" %}
-{% endif %}
-{% endblock %}
-
-{% block main %}
-
-<div class="well">
-{% include "about.html" %}
-</div>
-
-<div class="well">
-
-    <h2>{% trans "News" %}</h2>
-
-    {% for blog_post in blog_posts.object_list %}
-    <div class="blog-entry">
-        <div class="blog-right">{{ blog_post.publish_date|date:"l, d. F Y" }}</div>
-        <h4>
-            <a href="{{ blog_post.get_absolute_url }}">{{ blog_post.title }}</a>
-        </h4>
-    </div>
-    {% endfor %}
-
-    {% pagination_for blog_posts %}
-</div>
-
-<div class="well">
-    <div class="row">
-        <div class="col-md-3">
-            {% include "donate.html" %}
-        </div>
-        <div class="col-md-offset-2 col-md-6">
-            {% include "twitter/tweets.html" %}
-        </div>
-    </div>
-</div>
-{% endblock %}
-



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list