add readmore link to blog list page ref #6
This commit is contained in:
parent
56bf431f1d
commit
92cc61f492
2 changed files with 4 additions and 1 deletions
|
@ -46,6 +46,7 @@
|
||||||
.post-list li .description {
|
.post-list li .description {
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
.posts.list .post .readmore,
|
||||||
.post-list li .description .readmore {
|
.post-list li .description .readmore {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border: 1px solid #90a959;
|
border: 1px solid #90a959;
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
}
|
}
|
||||||
|
.posts.list .post .readmore:hover,
|
||||||
.post-list li .description .readmore:hover {
|
.post-list li .description .readmore:hover {
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #90a959;
|
background-color: #90a959;
|
||||||
|
|
|
@ -12,7 +12,8 @@ description: "Les ecrits des Crapauds fous"
|
||||||
{{ post.title }}
|
{{ post.title }}
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}<br>
|
{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||||
|
<a href="{{ site.url }}{{ post.url }}" class="readmore">lire la suite</a><br>
|
||||||
|
|
||||||
{% if post.modified.size > 2 %}
|
{% if post.modified.size > 2 %}
|
||||||
<span class="post-date" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>
|
<span class="post-date" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>
|
||||||
|
|
Loading…
Reference in a new issue