fix liquid title on title.html and modify li elements look as p elements

This commit is contained in:
luissevillano 2017-06-19 12:07:16 +02:00
parent 6d45224137
commit a701ea74a8
2 changed files with 23 additions and 3 deletions

View file

@ -10,7 +10,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ site.title | escape }}</title>
<title>{% if page.title %}{{ page.title }} {{site.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 %}">
<!--[if lte IE 8]><script src="{{ "/js/ie/html5shiv.js" | prepend: site.baseurl }}"></script><![endif]-->
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">

View file

@ -14,13 +14,32 @@
@include breakpoint(medium) {
width: 100%;
}
> p, header {
> p,
header {
width: 40em;
@include breakpoint(large) {
width: 45em;
}
@include breakpoint(medium) {
width: 90%;
}
}
li {
margin: 0 auto;
}
}
&.style5 {
li {
width: 40em;
margin: 0 auto _size(element-margin) auto;
@include breakpoint(large) {
width: 45em;
}
@include breakpoint(medium) {
width: 90%;
}
@ -28,6 +47,7 @@
}
}
twentytwenty-wrapper img {
width: 100%;