diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2017-04-08 13:44:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 13:44:58 +0200 |
commit | 88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7 (patch) | |
tree | 6e6c99fab6a0c45ba96bfb501f581b3a71e7917a /ops/templates/index.html | |
parent | 5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (diff) | |
parent | 3a009cc2c24552366b823c69e393029c14fe8758 (diff) | |
download | pelican-themes-88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7.tar.gz |
Merge branch 'master' into bricabractheme
Diffstat (limited to 'ops/templates/index.html')
-rw-r--r-- | ops/templates/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ops/templates/index.html b/ops/templates/index.html new file mode 100644 index 0000000..f388bae --- /dev/null +++ b/ops/templates/index.html @@ -0,0 +1,44 @@ +{% extends 'base.html' %} + +{% block container %} + <section class="header"> + {% include '_includes/header.html' %} + </section> + + <section class="home-section"> + <h2 class="home-header"> + Recent blog posts + </h2> + <div> + {% for article in articles[0:3] %} + <div class="home-post"> + <p class="blogpost-date" style="float: right;">{{ article.locale_date }}</p> + <h5><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h5> + <p> + <p>{{ article.summary }}</p> + </div> + <div class="row"> + <a class="button button-primary button-more" href="{{ SITEURL }}/{{ article.url }}">More...</a> + </div> + {% endfor %} + </div> + </section> + <br/><br/><br/> + <section class="home-section"> + <div class="row"> + <div class=""> + <h2 class="blogpost-title">Links</h2> + <div class="home-post"> + {% for title,url in LINKS %} + <a href="{{ url }}" target="_blank">{{ title }}</a> + {% endfor %} + </div> + </div> + </div> + </section> +{% endblock %} + + +{% block footer %} + {% include '_includes/footer.html' %} +{% endblock %} |