diff options
author | kosmgco <i@ooops.me> | 2017-02-27 15:26:45 +0800 |
---|---|---|
committer | kosmgco <i@ooops.me> | 2017-02-27 15:26:45 +0800 |
commit | 1f3170df75d42d1cab8860080d0c254fb1d9355e (patch) | |
tree | df8625f539a938b0892fa6f8a2b264ad5604c493 /ops/templates/index.html | |
parent | 7e960821836f8d4cc4c84e30002bc634635ca894 (diff) | |
download | pelican-themes-1f3170df75d42d1cab8860080d0c254fb1d9355e.tar.gz |
update
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 %} |