more image tweaks
This commit is contained in:
parent
f24a867b5b
commit
c5afe839f0
@ -2,7 +2,7 @@
|
||||
<header>
|
||||
<h1 class="entry-title">{{ post.title }}</h1>
|
||||
{% if post.image %}
|
||||
<div class="feature-image" style="background: url({{ post.image }})"></div>
|
||||
<img class="feature-image" src="{{ post.image }}" alt="{{ post.title }}">
|
||||
{% endif %}
|
||||
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time>
|
||||
</header>
|
||||
|
@ -99,9 +99,7 @@ body {
|
||||
|
||||
.feature-image {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
footer {
|
||||
|
Loading…
x
Reference in New Issue
Block a user