diff --git a/templates/_google_analytics.html b/templates/_google_analytics.html index bcdf492..fa1c333 100644 --- a/templates/_google_analytics.html +++ b/templates/_google_analytics.html @@ -1,5 +1,5 @@ - - - + diff --git a/templates/_google_search.html b/templates/_google_search.html new file mode 100644 index 0000000..e264902 --- /dev/null +++ b/templates/_google_search.html @@ -0,0 +1,17 @@ +

Site Search

+ + diff --git a/templates/_gosquared.html b/templates/_gosquared.html index 47e5909..f7e66fe 100644 --- a/templates/_gosquared.html +++ b/templates/_gosquared.html @@ -1,17 +1,18 @@ - - diff --git a/templates/_list_item.html b/templates/_list_item.html new file mode 100644 index 0000000..1dccfa5 --- /dev/null +++ b/templates/_list_item.html @@ -0,0 +1,41 @@ +
  • +
    +
    + {% if article.image %} + + {% else %} + + {% endif %} +
    +
    +
    +

    {{ article.title|title }}

    + {% if not category %} +
    Category: {{ article.category }}
    + {% endif %} + {% if not tag and article.tags -%} +
    +   +
      + {% for tag in article.tags %} +
    • {{ tag }}
    • + {% endfor %} +
    +
    + {% endif %} +
    +
    + {{ article.summary }} + +
    + +
    +
    +
  • diff --git a/templates/_site_social.html b/templates/_site_social.html deleted file mode 100644 index 647b115..0000000 --- a/templates/_site_social.html +++ /dev/null @@ -1,3 +0,0 @@ -{% for network, url in SOCIAL %} -
  • -{% endfor %} diff --git a/templates/archives.html b/templates/archives.html index 88445f1..4c8d8bc 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -1,10 +1,24 @@ {% extends 'base.html' %} {% block title %}{{ super() }} - Archives{% endblock %} -{% block content_title %}Archives{% endblock %} +{% block content_title %}Archives{% endblock %} {% block content %} - + {% endblock %} diff --git a/templates/base.html b/templates/base.html index e36581c..ef62330 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,115 +14,136 @@ + + + - {% if FEED -%} + {% if FEED_ATOM -%} {% endif %} {%if FEED_RSS -%} {% endif %} + {% if FEED_ALL_ATOM -%} + + {% endif %} + {%if FEED_ALL_RSS -%} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category -%} + + {% endif %} + {%if CATEGORY_FEED_RSS and category -%} + + {% endif %} + {% if TAG_FEED_ATOM and tag -%} + + {% endif %} + {%if TAG_FEED_RSS and tag -%} + + {% endif %} - + +
    +
    +
    +
    +

    {% block content_title %}{% endblock %}

    + {% block content_image %}{% endblock %} +
    + {% block content %} +
      + {% for article in articles_page.object_list %} + {% include '_list_item.html' %} + {% endfor %} +
    {% endblock %} - -
    -
    - + + +
    + +
    +