diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-30 03:48:01 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-30 03:48:01 +0300 |
commit | e556d45c040054abc3cd92589d9c0364d8ac54fe (patch) | |
tree | 43dfad0574fd9237d55e6715740dfa1124653f61 /posts | |
parent | remove comments from posts (diff) | |
download | sorting-algorithms-e556d45c040054abc3cd92589d9c0364d8ac54fe.tar.gz sorting-algorithms-e556d45c040054abc3cd92589d9c0364d8ac54fe.zip |
"Plots" is now the landing page
Diffstat (limited to '')
-rw-r--r-- | posts.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/posts.html b/posts.html new file mode 100644 index 0000000..eb52770 --- /dev/null +++ b/posts.html @@ -0,0 +1,22 @@ +--- +title: Main page +layout: sidebar +groups: + - navbar +navbar_link: <span class="glyphicon glyphicon-home"></span> Main page +--- +{% if site.posts.size == 0 %} + <p class="h3">Sorry, no posts have been added yet.</p> + <p class="text-muted">But I've made quite a few <a href="{{ site.baseurl }}/plots.html">plots</a> which you might want to check out.</p> + <hr/> +{% else %} + {% for post in paginator.posts %} + <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2> + <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}</p> + <p>{{ post.excerpt }}</p> + <hr/> + {% endfor %} + <div class="text-center"> + {% include common/pagination.html %} + </div> +{% endif %} |