mirror of
https://github.com/greenshot/greenshot
synced 2025-08-25 15:46:22 -07:00
Blog: removed table of content and display part of blog entries
This commit is contained in:
parent
7e70f99d05
commit
440401309f
1 changed files with 3 additions and 19 deletions
|
@ -5,22 +5,6 @@ permalink: /blog/
|
||||||
tags: menu
|
tags: menu
|
||||||
---
|
---
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="col-md-4">
|
|
||||||
<div class="panel panel-info affix">
|
|
||||||
<div class="panel-heading">
|
|
||||||
<h3 class="panel-title">Table of content</h3>
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<div class="navbar nav" id="scollspy">
|
|
||||||
<ul class="nav nav-pills nav-stacked">
|
|
||||||
{% for post in site.posts %}
|
|
||||||
<li style="padding-left: 30px;"><a href="#blog_{{ forloop.index }}">{{ post.title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-7">
|
<div class="col-md-7">
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
|
@ -29,12 +13,12 @@ tags: menu
|
||||||
<h3 class="panel-title">{{ post.date | date: "%-d %b %Y" }}: {{ post.title }}</h3>
|
<h3 class="panel-title">{{ post.date | date: "%-d %b %Y" }}: {{ post.title }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{{ post.content }}
|
{{ post.content | markdownify | strip_html | truncatewords:80 }}
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
Post direct link: <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
Read more: <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue