Commits

yohann gabory  committed 6c05345 Draft

first commit

  • Participants

Comments (0)

Files changed (26)

+syntax: glob
+*.pyc
+*~
+*.DS_Store
+## Mezzanine theme "Classic"
+
+### Preview
+
+![](http://github.com/dfalk/mezzanine-themes/raw/master/mezzanine_themes/classic/preview/preview.gif)
+
+### Features
+
+- header with logo and user panel
+- navigation bar
+- 2 columns layout
+- footer text based on includes

File __init__.py

Empty file added.

File locale/ru/LC_MESSAGES/django.mo

Binary file added.

File locale/ru/LC_MESSAGES/django.po

+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-06-14 09:07+0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: templates/base.html:63
+msgid "Search"
+msgstr "Поиск"
+
+#: templates/index.html:8 templates/pages/menus/dropdown.html:10
+msgid "Home"
+msgstr "Главная"
+
+#: templates/index.html:20 templates/accounts/includes/user_welcome.html:3
+msgid "Welcome"
+msgstr "Добро пожаловать"
+
+#: templates/index.html:32
+msgid "About"
+msgstr "О нас"
+
+#: templates/index.html:34
+msgid "Links"
+msgstr "Ссылки"
+
+#: templates/accounts/includes/user_panel.html:4
+msgid "Update profile"
+msgstr "Обновить профиль"
+
+#: templates/accounts/includes/user_panel.html:6
+#: templates/admin/includes_grappelli/header.html:34
+msgid "Log out"
+msgstr "Выход"
+
+#: templates/accounts/includes/user_panel.html:9
+msgid "Sign up"
+msgstr "Регистрация"
+
+#: templates/accounts/includes/user_panel.html:11
+msgid "Log in"
+msgstr "Вход"
+
+#: templates/accounts/includes/user_welcome.html:12
+msgid "Guest"
+msgstr "Гость"
+
+#: templates/admin/includes_grappelli/header.html:17
+msgid "Documentation"
+msgstr "Документация"
+
+#: templates/admin/includes_grappelli/header.html:26
+msgid "Change password"
+msgstr "Смена пароля"
+
+#: templates/includes/footer_powered.html:2
+msgid "Powered by"
+msgstr "Сайт использует"
+
+#: templates/includes/footer_powered.html:5
+msgid "and"
+msgstr "и"
+
+#: templates/includes/footer_powered.html:8
+msgid "Theme by"
+msgstr "Тема"
+
+#: templates/includes/footer_powered.html:11
+msgid "View Mobile Site"
+msgstr "Просмотр мобильной версии"
+
+#: templates/includes/footer_text.html:2
+msgid "All rights reserved"
+msgstr "Все права защищены"
+
+#: templates/includes/user_panel.html:9
+msgid "My Cart"
+msgstr "Моя корзина"
+
+#: templates/includes/user_panel.html:11
+msgid "My Wishlist"
+msgstr "Мои желания"

File preview/preview.gif

Added
New image

File static/css/style.css

+body {
+    background: black;
+    color: #444444
+}
+
+a{
+    color: #050505;
+    text-decoration: underline
+}
+.nav-list > .active > a, .nav-list > .active > a:hover{
+    background: #ec809e
+}
+#navigation{
+    background: #CDCDCD;
+    border: none;
+}
+a:hover, h1{
+    color: #87001c
+}
+.panel, .post{
+    background:#EEEEEE
+}
+.post{
+    padding: 2em
+}
+img{
+    box-shadow:none;
+/*    border: solid white 20px */
+}
+
+.blog-list-detail{
+    border-bottom: inset 5px #da1b40
+}
+.breadcrumb{
+    margin: 20px 50px 25px 0px;
+}
+
+.row_image{
+    padding-left:50px
+}
+
+.featured-thumb{
+    width: 270px;
+    height: 270px;
+    border: 0;
+    margin-left:0;
+    margin-right:0
+}
+.featured{
+    margin-right:10px;
+    margin-left:0;
+    margin-bottom:5px
+}
+.panel{
+    background: none;
+    border: none
+}
+
+.unstyled li{
+    background:#CDCDCD;
+    margin-bottom:10px;
+    text-transform: uppercase;
+    padding: 5px
+}
+.unstyled a{
+color:white;
+text-decoration:none
+}
+.unstyled li:hover{
+    background:#989898;
+}
+
+.user {
+    background:#989898;
+}
+#user-info{
+    background: #CDCDCD
+}
+.blog_title{
+    background: black;
+    text-align:center
+
+}
+.title a{
+    color:white;
+    text-decoration: none
+}
+
+.blog_title span{
+    font-weight: normal;
+    text-align: center;
+    line-height: normal;
+}
+
+.breadcrumb-custom{
+
+font-size:1.2em
+}
+
+.breadcrumb-custom a{
+    color: black
+}
+#site-titles{
+text-align:center
+}
+#site-title{
+    clear:both;
+    margin-top:1em
+}
+#site-logo{
+float:none;
+text-align:center
+}
+.tweets li{
+text-transform: none
+}
+#comments .unstyled li a{
+    color:black;
+    text-decoration: underline
+}

File static/css/theme.css

+/* Html */
+
+body {
+    background: url(/static/img/bg.png) #cccccc;
+}
+
+.container {
+    background: #ffffff;
+    padding: 10px;
+}
+
+h1, h2, h3, h4, h5 {
+    font-family: Georgia;
+}
+
+h6 {
+    text-transform: none;
+}
+
+/* Header */
+
+#header {
+    margin-top: 10px;
+    padding-bottom: 4px;
+    background: #f5f5f5;
+}
+
+#site-logo {
+    float: left;
+    margin-left: 4px;
+    margin-right: 6px;
+}
+
+#site-logo img {
+    box-shadow: 0 0 0px #BBBBBB;
+}
+
+#site-titles {
+    margin-top: 12px;
+    margin-left: 4px;
+}
+
+#site-title {
+    font-family: Georgia;
+    font-size: 38px;
+    line-height: 32px;
+}
+
+#site-title a {
+    color: #333333;
+}
+
+#site-title a:hover {
+    text-decoration: none;
+    color: #333333;
+}
+
+#user-info {
+    text-align: right;
+}
+
+.form-search {
+    margin: 4px 0 4px;
+}
+
+/* Navigation */
+
+#navigation {
+    padding-top: 0px;
+    padding-bottom: 0px;
+    border-bottom: 2px solid #333333;
+}
+
+.nav {
+    margin-bottom: 0px;
+}
+
+.nav-tabs {
+    border-bottom: 0px;
+}
+
+.nav-tabs > li {
+    margin-bottom: 0px;
+}
+
+.nav-tabs > li > a {
+    font-family: Georgia;
+    font-size: 16px;
+    font-weight: bold;
+    border: 1px solid transparent;
+    border-radius: 4px 4px 0 0;
+    line-height: 18px;
+    padding-bottom: 8px;
+    padding-top: 8px;
+}
+
+.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu {
+    border-width: 1px;
+    margin-top: 0px;
+}
+
+/* Breadcrumb */
+
+.breadcrumb-custom {
+    margin-top: 0px;
+    margin-left: 4px;
+    margin-bottom: 10px;
+}
+
+.breadcrumb-custom li {
+    display: inline-block;
+    text-shadow: 0 1px 0 #FFFFFF;
+}
+
+.breadcrumb-custom .divider {
+    margin: 0 5px;
+    color: #999999;
+}
+
+/* Footer */
+
+#footer-line {background:#cccccc; color:#666666;}
+#footer-line a {color:#666666; text-decoration:underline;}
+#footer-line .icon-arrow-up {opacity:0.7; margin-left:4px;}
+#footer-powered {text-align:right;}
+#footer {background:#f9f9f9; text-align:center;}
+#footer ul {text-align:left; display:inline-block; width:auto; margin-top:0; margin-bottom:0;}
+#footer li {float:left; list-style-type:none;}
+#footer li li {float:none; clear:both; width:120px; padding:2px 0; margin-right:2px;}
+#footer a {color:#666666;}
+#footer p {margin-top:4px; text-align:center; font-size:12px;}
+#footer .separator {opacity:0.3; margin:0 10px;}
+

File static/img/bg.png

Added
New image

File static/img/logo.jpeg

Added
New image

File static/img/logo.png

Added
New image

File templates/accounts/includes/user_panel.html

+{% load i18n mezzanine_tags %}
+{% ifinstalled cartridge.shop %} | {% endifinstalled %}
+{% if request.user.is_authenticated %}
+    <a href="{% url profile_update %}">{% trans "Update profile" %}</a> | 
+    <a href="{{ settings.LOGOUT_URL }}?next={{ request.path }}"
+        >{% trans "Log out" %}</a>
+{% else %}
+    <a href="{% url signup %}?next={{ request.path }}">
+    {% trans "Sign up" %}</a> | 
+    <a href="{% url login %}?next={{ request.path }}">
+    {% trans "Log in" %}</a>
+{% endif %}

File templates/accounts/includes/user_welcome.html

+{% load i18n mezzanine_tags %}
+
+{% if request.user.is_authenticated %}
+    {% url profile user.username as profile_url %}
+    {% if profile_url %}<a href="{{ profile_url }}"
+        >{{ request.user.username }}</a>
+    {% else %}<a href="{% url profile_update %}"
+        >{{ request.user.username }}</a>
+    {% endif %}
+{% else %}
+    {% trans "Guest" %}
+{% endif %}

File templates/admin/base_site.html

+{% extends "admin/base.html" %}
+{% load mezzanine_tags i18n %}
+{% comment %}
+
+This file contains a handful of unrelated admin customizations that
+mostly get applied globally to different parts of the admin.
+
+  * Global CSS fixes (when logged in)
+  * Javascript and HTML for injecting Mezzanine's menu into the top of
+    every page
+  * Javascript for fixing inlines to work with Mezzanine's dynamic inlines
+
+{% endcomment %}
+
+{% block title %}{{ title }} | {{ settings.SITE_TITLE }}{% endblock %}
+{% block branding %}<h1 id="site-name">{{ settings.SITE_TITLE %}</h1>{% endblock %}
+{% block nav-global %}{% endblock %}
+
+{% block extrahead %}
+<link rel="stylesheet" href="{{ STATIC_URL }}mezzanine/css/admin/global.css">
+<style>
+/*
+These are set in PageAdmin's view methods,
+and mezzanine.core.admin.SingletonAdmin
+*/
+{% if hide_delete_link or singleton %}.deletelink {display:none !important;}{% endif %}
+{% if hide_slug_field %}.slug {display:none !important;}{% endif %}
+{% if singleton %}.change-view-save-another {display:none !important;}{% endif %}
+</style>
+<script>
+{% url static_proxy as static_proxy_url %}
+{% url fb_browse as fb_browse_url %}
+{% url admin:index as admin_index_url %}
+window.__csrf_token = '{{ csrf_token }}';
+window.__admin_keywords_submit_url = '{% url admin_keywords_submit %}';
+window.__filebrowser_url = '{{ fb_browse_url }}';
+window.__admin_url = '{{ admin_index_url }}';
+window.__static_proxy = '{{ static_proxy_url }}';
+window.__admin_media_prefix__ = '{{ settings.ADMIN_MEDIA_PREFIX }}';
+window.__grappelli_installed = {{ settings.GRAPPELLI_INSTALLED|lower }};
+</script>
+{% if not settings.GRAPPELLI_INSTALLED %}
+<script src="{{ STATIC_URL }}mezzanine/js/{{ settings.JQUERY_FILENAME }}"></script>
+{% endif %}
+{% endblock %}
+
+{% block footer %}
+{{ block.super }}
+{% if request.user.is_staff %}
+    {% if not is_popup and not request.GET.pop %}
+    <script src="{{ STATIC_URL }}mezzanine/js/admin/navigation.js"></script>
+    {% endif %}
+    <script src="{{ STATIC_URL }}mezzanine/js/admin/ajax_csrf.js"></script>
+    <script src="{{ STATIC_URL }}mezzanine/js/admin/collapse_backport.js"></script>
+    {% admin_dropdown_menu %}
+{% else %}
+    <script src="{{ STATIC_URL }}mezzanine/js/admin/login.js"></script>
+{% endif %}
+{% endblock %}

File templates/admin/includes_grappelli/header.html

+{% load i18n grp_tags %}
+
+<div id="header">
+    <div class="branding">&nbsp;</div>
+    <!-- Title -->
+    <div class="admin-title">{{ settings.SITE_TITLE }}</div>
+    {% if user.is_authenticated and user.is_staff %}
+    <!-- Bookmarks (temporary) -->
+    <ul id="user-tools">
+        <!-- Username -->
+        <li><strong>{% firstof user.first_name user.username %}</strong></li>
+        <!-- Userlinks -->
+        {% block userlinks %}
+        <!-- Documentation -->
+        {% url django-admindocs-docroot as docsroot %}
+        {% if docsroot %}
+        <li><a href="{{ docsroot }}">{% trans 'Documentation' %}</a></li>
+        {% endif %}
+        <!-- Change Password -->
+        {% url admin:password_change as password_change_url %}
+        {% if password_change_url %}
+        <li><a href="{{ password_change_url }}">
+        {% else %}
+        <li><a href="{{ root_path }}password_change/">
+        {% endif %}
+        {% trans 'Change password' %}</a></li>
+        <!-- Logout -->
+        {% url admin:logout as logout_url %}
+        {% if logout_url %}
+        <li><a href="{{ logout_url }}">
+        {% else %}
+        <li><a href="{{ root_path }}logout/">
+        {% endif %}
+        {% trans 'Log out' %}</a></li>
+        {% endblock %}
+    </ul>
+    {% endif %}
+</div>

File templates/base.html

+<!DOCTYPE html>
+{% load pages_tags mezzanine_tags i18n %}
+<html>
+<head>
+
+<meta http-equiv="Content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width">
+<meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
+<meta name="description" content="{% block meta_description %}{% endblock %}">
+<title>{% block full_meta_title %}{% block meta_title %}{% endblock %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}{% endblock %}</title>
+<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico">
+
+{% ifinstalled mezzanine.blog %}
+<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url blog_post_feed "rss" %}">
+<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url blog_post_feed "atom" %}">
+{% endifinstalled %}
+
+{% compress css %}
+<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css">
+<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.responsive.css">
+<link rel="stylesheet" href="{{ STATIC_URL }}css/mezzanine.css">
+{% ifinstalled cartridge.shop %}
+<link rel="stylesheet" href="{{ STATIC_URL }}css/cartridge.css">
+{% endifinstalled %}
+<link rel="stylesheet" href="{{ STATIC_URL }}css/theme.css">
+<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css">
+{% block extra_css %}{% endblock %}
+{% endcompress %}
+
+{% compress js %}
+<script src="{{ STATIC_URL }}mezzanine/js/{{ settings.JQUERY_FILENAME }}"></script>
+<script src="{{ STATIC_URL }}js/bootstrap.min.js"></script>
+<script>
+$(function() {
+    $('.middleinput:text, textarea').addClass('xlarge');
+    $('.control-group label').addClass('control-label');
+});
+</script>
+{% block extra_js %}{% endblock %}
+{% endcompress %}
+<!--[if lt IE 9]>
+<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+
+{% block extra_head %}{% endblock %}
+
+</head>
+<body id="{% block body_id %}body{% endblock %}">
+
+
+<div id="navigation" class="container">
+    {% page_menu "pages/menus/dropdown.html" %}
+</div>
+
+<div id="main" class="container">
+
+    {% nevercache %}
+    {% for message in messages %}
+    <div class="alert alert-{{ message.tags }}" data-alert="alert">
+    <a class="close" href="#" onclick="$(this).parent().fadeOut('fast'); return false;">×</a>{{ message }}
+    </div>
+    {% endfor %}
+    {% endnevercache %}
+
+    {% block full %}
+    <div class="row">
+
+
+        <div class="span3 right">
+
+            <div class="panel">
+              {% block right_panel %}
+              {% ifinstalled mezzanine.twitter %}
+              {% include "twitter/tweets.html" %}
+              {% endifinstalled %}
+              {% endblock %}
+              <div class="user">
+                {% include "includes/user_panel.html" %}
+              </div>
+              <form action="{% url search %}" class="form-search span3">
+                <input class="input-medium" placeholder="{% trans "Search" %}" type="text" name="q" value="{{ request.REQUEST.q }}">
+                <button class="btn btn-small" type="submit"><i class="icon-search"></i></button>
+              </form>
+
+            </div>
+
+        </div>
+
+
+        <div class="span9 middle">
+
+            <ul class="breadcrumb-custom">
+            {% spaceless %}
+            {% block breadcrumb_menu %}{% page_menu "pages/menus/breadcrumb.html" %}{% endblock %}
+            {% endspaceless %}
+            </ul>
+
+            <h1>{% block title %}{% endblock %}</h1>
+
+            {% block main %}{% endblock %}
+
+        </div>
+
+    </div><!-- /row -->
+    {% endblock %}
+
+</div><!-- /container #main -->
+
+<div id="footer-line" class="container">
+    <div class="row">
+    <div class="span6">
+    {% include "includes/footer_text.html" %}
+    </div>
+    <div id="footer-powered" class="span6">
+    {% include "includes/footer_powered.html" %}
+    <a onclick="scrollToTop();return false;" href="#"><i class="icon-arrow-up"></i></a>
+    </div>
+    </div>
+</div>
+
+<div id="footer" class="container">
+    {% page_menu "pages/menus/footer.html" %}
+</div>
+
+{% include "includes/footer_scripts.html" %}
+
+</body>
+</html>

File templates/blog/blog_post_detail.html

+{% extends "blog/blog_post_list.html" %}
+{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n %}
+
+{% block meta_title %}{{ blog_post.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for blog_post as tags %}
+{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ blog_post.description }}
+{% endmetablock %}{% endblock %}
+
+{% block title %}
+{% editable blog_post.title %}{{ blog_post.title }}{% endeditable %}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li class="active">{{ blog_post.title }}</li>
+{% endblock %}
+
+{% block main %}
+
+{% if blog_post.featured_image %}
+<p><img src="{{ MEDIA_URL }}{% thumbnail blog_post.featured_image 800 0 %}"></p>
+{% endif %}
+
+{% editable blog_post.content %}
+{{ blog_post.content|richtext_filter|safe }}
+{% endeditable %}
+
+{% keywords_for blog_post as tags %}
+{% if tags %}
+{% spaceless %}
+<ul class="unstyled tags">
+    <li>{% trans "Tags" %}:</li>
+    {% for tag in tags %}
+    <li><a href="{% url blog_post_list_tag tag.slug %}">{{ tag }}</a></li>
+    {% endfor %}
+</ul>
+{% endspaceless %}
+{% endif %}
+
+
+
+{% 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 }}&amp;t={{ blog_post.title|urlencode }}">{% trans "Share on Facebook" %}</a>
+
+{% if blog_post.allow_comments %}
+
+{% comments_for blog_post %}
+
+{% endif %}
+
+{% endblock %}

File templates/blog/blog_post_list.html

+{% extends "base.html" %}
+{% load i18n mezzanine_tags blog_tags keyword_tags disqus_tags custom_tags %}
+
+{% block meta_title %}{% if page %}{{ page.richtextpage.meta_title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for page as keywords %}
+{% for keyword in keywords %}
+    {% if not forloop.first %}, {% endif %}
+    {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ page.description }}
+{% endmetablock %}{% endblock %}
+
+{% block title %}
+{% if page %}
+{% editable page.title %}{{ page.title }}{% endeditable %}
+{% else %}
+
+{% endif %}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+{% if tag or category or year or month or author %}
+<li>{% spaceless %}
+{% if tag %}
+    {% trans "Tag:" %} {{ tag }}
+{% else %}{% if category %}
+    {% trans "Category:" %} {{ category }}
+{% else %}{% if year or month %}
+    {% if month %}{{ month }}, {% endif %}{{ year }}
+{% else %}{% if author %}
+    {% trans "Author:" %} {{ author.get_full_name|default:author.username }}
+{% endif %}{% endif %}{% endif %}{% endif %}
+{% endspaceless %}
+</li>
+{% endif %}
+{% endblock %}
+
+{% block main %}
+
+{% if tag or category or year or month or author %}
+    <p>
+    {% if tag %}
+        {% trans "Viewing posts tagged" %} {{ tag }}
+    {% else %}{% if category %}
+        {% trans "Viewing posts for the category" %} {{ category }}
+    {% else %}{% if year or month %}
+        {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %}
+        {{ year }}
+    {% else %}{% if author %}
+        {% trans "Viewing posts by" %}
+        {{ author.get_full_name|default:author.username }}
+    {% endif %}{% endif %}{% endif %}{% endif %}
+    </p>
+{% else %}
+    {% if page %}
+    {% editable page.richtextpage.content %}
+    {{ page.richtextpage.content|safe }}
+    {% endeditable %}
+    {% endif %}
+{% endif %}
+<div class="row row_image">
+{% for blog_post in blog_posts.object_list %}
+<div class="span3 featured">
+{% if blog_post.featured_image %}
+      <a href="{{ blog_post.get_absolute_url }}">
+<img
+   class="featured-thumb"
+   src="{{ MEDIA_URL }}{% bwthumbnail blog_post.featured_image 300 300%}"
+   onmouseover="this.src='{{ MEDIA_URL }}{% thumbnail blog_post.featured_image 300 300%}'"
+   onmouseout="this.src='{{ MEDIA_URL }}{% bwthumbnail blog_post.featured_image 300 300%}'"> 
+
+</a>
+{% endif %}
+<div class="blog_title">
+  <span class="title">
+
+      <a href="{{ blog_post.get_absolute_url }}">{{ blog_post.title }}</a>
+
+  </span>
+  <span class="date">
+    {{blog_post.publish_date|date:"t/n/y" }}
+  </span>
+
+</div> 
+</div> <!-- span4 -->
+{% endfor %}
+</div> <!--row-->
+{% pagination_for blog_posts %}
+
+{% if settings.COMMENTS_DISQUS_SHORTNAME %}
+{% include "generic/includes/disqus_counts.html" %}
+{% endif %}
+
+{% endblock %}
+
+{% block right_panel %}
+{% include "blog/includes/filter_panel.html" %}
+{% endblock %}

File templates/blog/includes/filter_panel.html

+{% load blog_tags keyword_tags i18n %}
+
+<div id="site-info">
+  <div id="site-logo"><a href="/"><img src="{{ STATIC_URL }}img/logo.jpeg" /></a></div>
+  <div id="site-titles">
+    {% if settings.SITE_TITLE %}<div id="site-title"><a href="/">{{ settings.SITE_TITLE }}</a></div>{% endif %}
+    {% if settings.SITE_TAGLINE %}<div id="site-tagline">{{ settings.SITE_TAGLINE }}</div>{% endif %}
+  </div>
+</div>
+
+{% blog_categories as categories %}
+{% if categories %}
+
+<ul class="unstyled">
+{% for category in categories %}
+<a href="{% url blog_post_list_category category.slug %}"
+    ><li>{{ category }}</li></a>
+{% endfor %}
+</ul>
+{% endif %}

File templates/includes/footer_powered.html

+{% load mezzanine_tags i18n %}
+{% ifinstalled mezzanine.mobile %}
+<a href="{% url set_device "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a>
+{% endifinstalled %}

File templates/includes/footer_text.html

+{% load i18n %}
+<a href="http://www.twitter.com/chipoti">@Chipoti(C) 2012 </a>{% trans "All rights reserved" %}

File templates/includes/user_panel.html

+{% load mezzanine_tags i18n include_strip %}
+<div id="user-welcome">
+{% spaceless %}
+{% trans "Welcome" %}{% ifinstalled mezzanine.accounts %}, 
+{% include_strip "accounts/includes/user_welcome.html" %}{% endifinstalled %}!
+{% endspaceless %}
+</div>
+{% spaceless %}
+<div id="user-links">
+    &nbsp;
+    {% ifinstalled cartridge.shop %}
+        {% load shop_tags %}
+        {% with request.cart.total_quantity as cart_quantity %}
+        <a href="{% url shop_cart %}">{% trans "My Cart" %} 
+        ({% if cart_quantity %}{{ cart_quantity }}{% else %}0{% endif %})</a> | 
+        {% endwith %}
+        <a href="{% url shop_wishlist %}">{% trans "My Wishlist" %} 
+        {% with request.wishlist|length as wishlist_count %}
+        ({% if wishlist_count %}{{ wishlist_count }}{% else %}0{% endif %})</a>
+        {% endwith %}
+    {% endifinstalled %}
+    {% ifinstalled mezzanine.accounts %}
+        {% include "accounts/includes/user_panel.html" %}
+    {% endifinstalled %}
+</div>
+{% endspaceless %}

File templates/index.html

+{% extends "base.html" %}
+
+{% load i18n mezzanine_tags %}
+
+{% block full_meta_title %}
+{% if settings.SITE_TITLE %}{{ settings.SITE_TITLE }}
+{% if settings.SITE_TAGLINE %} - {{ settings.SITE_TAGLINE }}{% endif %}
+{% else %}{% trans "Home" %}{% endif %}
+{% endblock %}
+
+{% block title %}
+
+{% endblock %}
+
+{% block breadcrumb_menu %}
+
+{% endblock %}
+
+{% block main %}
+<h2>{% trans "Welcome" %}</h2>
+<p>Lorem ipsum dolor sit amet, consectetur <strong>adipiscing</strong> elit. Ut interdum ultrices odio non ornare. Fusce vehicula sem sed neque porttitor pretium. Duis hendrerit nibh id dui mattis euismod. Nulla rhoncus <em>nibh pharetra</em> sem convallis tincidunt. Aliquam aliquam laoreet eleifend. Nulla ac risus sed nisi rutrum facilisis. Nulla pharetra leo egestas felis porttitor ornare id at sem. Praesent vitae lorem erat, posuere iaculis dolor. Maecenas adipiscing lectus sit amet tellus lacinia nec blandit libero dignissim.</p>
+
+<p><ul class="thumbnails">
+<li><img class="thumbnail" src="http://ipsumimage.appspot.com/140x100" /></li>
+<li><img class="thumbnail" src="http://ipsumimage.appspot.com/140x100" /></li>
+</ul></p>
+
+<p>Nam eget luctus nunc. Vivamus mollis convallis tortor vitae convallis. Donec posuere tincidunt augue, ut tristique felis porta quis. Duis eget neque neque, mattis porta ligula. Fusce a dolor id dui commodo varius. Pellentesque imperdiet purus eu sapien vulputate at auctor dui porta. Vestibulum diam elit, pulvinar ut vestibulum et, rhoncus non lorem. Mauris ac ullamcorper dui. Vivamus dictum elit non nibh gravida blandit. Duis mi lectus, sagittis a pretium nec, gravida quis tortor. Fusce velit lectus, aliquam non sodales vel, euismod sed lectus.</p>
+{% endblock %}
+
+{% block right_panel %}
+<h3>{% trans "About" %}</h3>
+<p>Aliquam aliquam laoreet eleifend. Nulla ac risus sed nisi rutrum facilisis. Nulla pharetra leo egestas felis porttitor ornare id at sem. Praesent vitae lorem erat, posuere iaculis dolor.</p>
+<h3>{% trans "Links" %}</h3>
+<ul class="unstyled">
+<li><a href="http://google.com">Google</a></li>
+<li><a href="http://facebook.com">Facebook</a></li>
+<li><a href="http://twitter.com">Twitter</a></li>
+<li><a href="http://linkedin.com">LinkedIn</a></li>
+</ul>
+{% endblock %}

File templates/pages/menus/dropdown.html

+{% load i18n pages_tags %}
+{% spaceless %}
+{% if page_branch_in_navigation %}
+
+{% if branch_level == 0 %}
+<ul class="nav nav-tabs pull-right">
+    {% for page in page_branch %}
+    {% if page.is_primary and forloop.first %}
+    <li class="{% if on_home %} active{% endif %}" id="dropdown-menu-{{ page.html_id }}">
+        <a href="{% url home %}">{% trans "Home" %}</a>
+    </li>
+    <li class="divider-vertical"></li>
+    {% endif %}
+    {% if page.in_navigation %}
+    <li class="dropdown{% if page.is_current_or_ascendant %} active{% endif %}"
+        id="dropdown-menu-{{ page.html_id }}">
+        <a href="{{ page.get_absolute_url }}">
+            {{ page.title }}
+            {% if page.has_children %}<span class="caret"></span>{% endif %}
+        </a>
+        {% if page.has_children %}{% page_menu page %}{% endif %}
+    </li>
+    <li class="divider-vertical"></li>
+    {% endif %}
+    {% endfor %}
+</ul>
+{% endif %}
+
+{% if branch_level == 1 %}
+<ul class="dropdown-menu">
+    {% for page in page_branch %}
+    <li{% if page.is_current_or_ascendant %} class="active"{% endif %}
+        id="dropdown-menu-{{ page.html_id }}">
+        <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+    </li>
+    {% endfor %}
+</ul>
+{% endif %}
+
+{% endif %}
+{% endspaceless %}

File templatetags/__init__.py

Empty file added.

File templatetags/include_strip.py

+from django import template
+register = template.Library()
+
+from django.template.loader_tags import do_include
+from django.template.loader_tags import ConstantIncludeNode, IncludeNode
+
+class StripConstantIncludeNode(ConstantIncludeNode):
+    def render(self, context):
+        return super(StripConstantIncludeNode, self).render(context).strip()
+
+class StripIncludeNode(IncludeNode):
+    def render(self, context):
+        return super(StripIncludeNode, self).render(context).strip()
+
+def do_include_strip(parser, token):
+    result = do_include(parser, token)
+    if isinstance(result, ConstantIncludeNode):
+        result.__class__ = StripConstantIncludeNode
+    elif isinstance(result, IncludeNode):
+        result.__class__ = StripIncludeNode
+    return result
+
+register.tag('include_strip', do_include_strip)