press.html 1.23 KB
Newer Older
1 2
<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/>
3

4
<%inherit file="../main.html" />
5

6 7
<%block name="title"><title>edX in the Press</title></%block>

8 9
<section class="container about">
  <nav>
10 11 12 13
    <a href="${reverse('about_edx')}">Vision</a>
    <a href="${reverse('faq_edx')}">Faq</a>
    <a href="${reverse('press')}" class="active">Press</a>
    <a href="${reverse('contact')}">Contact</a>
14 15 16
  </nav>

  <section class="press">
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
    % for article in articles:
      <article class="press-story">
        <div class="article-cover">
          <a href="${article.url}" target="_blank"/><img src="${static.url('images/press/' + article.image)}" /></a>
        </div>
        <div class="press-info">
          <header>
            <h3>${article.title}</h3>
            % if article.deck:
              <p>${article.deck}</p>
            % endif
            <span class="post-date">${article.publication} | ${article.publish_date} 
            % if article.author:
              | By ${article.author}
            % endif
            </span><br/>
          </header>
34
          <a href="${article.url}" target="_blank">${article.url}</a>
35 36 37
        </div>
      </article>
    % endfor
38 39
  </section>
</section>