archives.html 2.01 KB
Newer Older
JhonyVilla's avatar
JhonyVilla committed
1 2
{% extends "base.html" %}

Úrsula Iguarán's avatar
Úrsula Iguarán committed
3
{% block meta %}
Úrsula Iguarán's avatar
Úrsula Iguarán committed
4 5
  <meta name="description" content="{{ gettext('Archives-metadescription') }}.">
  <meta name="keywords" content="{{ gettext('Archives-keywords') }}">
Úrsula Iguarán's avatar
Úrsula Iguarán committed
6 7
{% endblock meta %}

8 9
{% block title %}
  {% if DEFAULT_LANG == "en" %}
Úrsula Iguarán's avatar
Úrsula Iguarán committed
10
{{ gettext('Archives-title') }} | {{ SITENAME }}
11
  {% else %}
Úrsula Iguarán's avatar
Úrsula Iguarán committed
12
{{ gettext('Archives-title') }} | {{ AUTHOR }}
13 14
  {% endif %}
{% endblock %}
JhonyVilla's avatar
JhonyVilla committed
15

Úrsula Iguarán's avatar
Úrsula Iguarán committed
16 17 18
{% block language %}
  {% if DEFAULT_LANG == "en" %}
    <link rel="alternate" href="{{ SITEURL }}/archives.html" hreflang="en-us" />
19
    <link rel="alternate" href="{{ SUBSITEURL }}/archives.html" hreflang="es" />
Úrsula Iguarán's avatar
Úrsula Iguarán committed
20
  {% elif DEFAULT_LANG == "es" %}
21
    <link rel="alternate" href="{{ SITEURL }}/archives.html" hreflang="es" />
Úrsula Iguarán's avatar
Úrsula Iguarán committed
22 23 24 25
    <link rel="alternate" href="{{ SUBSITEURL }}/archives.html" hreflang="en-us" />
  {% endif %}
{% endblock language %}

JhonyVilla's avatar
JhonyVilla committed
26
{% block header %}
Úrsula Iguarán's avatar
Úrsula Iguarán committed
27 28 29 30 31 32
  {% include "navigationbar.html" %}
  {% if HEADER_COVER %}
    <header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
  {% elif HEADER_COLOR %}
    <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
  {% else %}
33
    <header class="intro-header"> <!--style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/fluid-{{ DEFAULT_LANG }}.png');" >-->
Úrsula Iguarán's avatar
Úrsula Iguarán committed
34
    <a href="{{ SITEURL }}/"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/fluid-{{ DEFAULT_LANG }}.png" alt="{{ gettext('Header-img-alt') }}"></a>
Úrsula Iguarán's avatar
Úrsula Iguarán committed
35 36
  {% endif %}   
  </header>
JhonyVilla's avatar
JhonyVilla committed
37 38 39
{% endblock header %}

{% block content %}
Úrsula Iguarán's avatar
Úrsula Iguarán committed
40 41 42 43
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <div class="post-heading">
Úrsula Iguarán's avatar
Úrsula Iguarán committed
44
          <h1>{{ gettext('Arcives-msg-1') }} {{ SITENAME }}</h1>
Úrsula Iguarán's avatar
Úrsula Iguarán committed
45 46 47 48 49 50 51 52 53 54 55
        </div>
      </div>
    </div>
  </div>
  <dl>
    {% for article in dates %}
      <dt>{{ article.locale_date }}</dt>
      <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
    {% endfor %}
  </dl>
  <hr>
JhonyVilla's avatar
JhonyVilla committed
56
{% endblock content %}