diff --git a/_layouts/post.html b/_layouts/post.html
index a1e4f48..b2f92d1 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -11,31 +11,9 @@ tail_includes:
{% include lang.html %}
-{% if page.image.path %}
- {% capture bg %}
- {% unless page.image.no_bg %}{{ 'bg' }}{% endunless %}
- {% endcapture %}
-
-{% endif %}
-
-
-
{{ site.data.locales[lang].post.posted }}
@@ -49,7 +27,34 @@ tail_includes:
{% include datetime.html date=page.last_modified_at tooltip=true %}
{% endif %}
-
+
+ {% if page.image.path %}
+ {% capture bg %}
+ {% unless page.image.no_bg %}{{ 'bg' }}{% endunless %}
+ {% endcapture %}
+
+
+
+
+ {% if page.image.alt %}
+
{{ page.image.alt }}
+ {% endif %}
+
+
+ {% endif %}
diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss
index 7fd4604..0b73d55 100644
--- a/_sass/addon/commons.scss
+++ b/_sass/addon/commons.scss
@@ -441,7 +441,7 @@ img[data-src] {
margin-right: 2px;
}
- &:hover {
+ &:not([class]):hover {
@extend %link-hover;
}
}
diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss
index cb0d5f4..a409944 100644
--- a/_sass/layout/post.scss
+++ b/_sass/layout/post.scss
@@ -41,8 +41,7 @@ h1 + .post-meta {
}
img.preview-img {
- margin-top: 3.75rem;
- margin-bottom: 0;
+ margin: 0;
border-radius: 6px;
&.bg[data-loaded=true] {