Skip to content

Commit

Permalink
Corrections sur la page de sommaire du blog
Browse files Browse the repository at this point in the history
  • Loading branch information
bzg committed Sep 3, 2018
1 parent 8c9c1ec commit a93404f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="stylesheet" href="{{ "/css/foundation.css" | prepend: site.url }}">
<link rel="stylesheet" href="{{ "/css/jquery-ui.css" | prepend: site.url }}">
Expand Down
5 changes: 2 additions & 3 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@
</span>
</p>
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
<p>{{post.excerpt}}</p>
<p>{{post.description}}</p>
<div class='spacing'></div>
<a class="button small" href="{{post.url}}">Lire la suite</a>
<a class="button" href="{{post.url}}">Lire la suite</a>
</div>
</div>
<hr>
<div class='two spacing'></div>
{% endfor %}

{% include pagination.html root="blog" %}
Expand Down
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ body.screenshot {

.modBlogPost.big img {
display: block;
width: 40em;
width: 100%;
max-width: 100%;
margin: 1em auto 1em;
-webkit-box-shadow: 0 10px 6px -6px #777;
Expand All @@ -1039,7 +1039,7 @@ body.screenshot {
background: none;
}
.modBlogPost.no_bg .content {
padding: 30px 0 10px;
padding: 10px 0 10px;
background: none;
}

Expand Down

0 comments on commit a93404f

Please sign in to comment.