Fix post info at bottom

This commit is contained in:
Bea 2021-03-16 18:36:06 +01:00
parent 16beaedc6f
commit 50c7afc806
7 changed files with 36 additions and 24 deletions

View File

@ -20,8 +20,9 @@ TABLE OF CONTENTS
5. Pages & Posts style
5.1. Header
5.2. Content
5.3. Koenig Styles
5.4. Sidebar
5.3. Description
5.4. Koenig Styles
5.5. Sidebar
6. Cookie & Policy Popup
7. Animations and Gradients
8. Media Queries
@ -803,7 +804,17 @@ img.mind-post_feature-image {
visibility: hidden;
}
/* 5.3. Koenig Styles
/* 5.3. Description
--------------------------------------------------
*/
.mind-post_description {
font-size: 15px;
}
/* 5.4. Koenig Styles
--------------------------------------------------
*/
@ -999,7 +1010,7 @@ if an image has a description, class ".kg-card-hascaption" is applied to the con
/* End Gallery */
/* 5.4. Sidebar
/* 5.5. Sidebar
--------------------------------------------------
*/
#mind-post_sidebar-left {

View File

@ -1,7 +1,7 @@
{
"name": "mindtheme",
"description": "Mind Overflow's official website style",
"version": "0.0.13",
"version": "0.0.14",
"engines": {
"ghost-api": "v3"
},

View File

@ -16,7 +16,7 @@
<div class="mind-post_content-header">
{{#if feature_image}}
<img class="mind-post_feature-image" alt="Feature Image"
<img class="mind-post_feature-image" alt="{{title}}"
srcset="
{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w,

View File

@ -2,7 +2,7 @@
<a class="mind-post-card-big_main" href="{{url}}">
{{#if feature_image}}
<img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" alt="Feature Image"
<img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" alt="{{title}}"
srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w"
/>
@ -21,7 +21,7 @@
{{primary_author.name}}
{{#if primary_author.profile_image}}
<img class="mind-post-card-big_author-image" src="{{img_url primary_author.profile_image size="xxs"}}"
alt="Author image"/>{{/if}}
alt="{{title}}"/>{{/if}}
</footer>
</a>
</article>

View File

@ -7,7 +7,7 @@
{{#if feature_image}}
<img class="mind-post-card-sidebar_feature-image" src="{{img_url feature_image size="s"}}"
alt="Feature Image"/>
alt="{{title}}"/>
{{/if}}
<header class="mind-post-card-sidebar_header">
<p class="mind-post-card-sidebar_meta"><span

View File

@ -1,7 +1,7 @@
<article class="{{post_class}}">
<a class="mind-tag-card_main" href="{{url}}">
{{#if feature_image}}
<img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/>
<img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" alt="{{title}}"/>
{{/if}}
<header class="mind-tag-card_header">
<h4>{{name}}</h4>

View File

@ -35,25 +35,26 @@
{{img_url feature_image size="xl"}} 1600w,
{{img_url feature_image size="xxl"}} 2000w"
src="{{img_url feature_image size="l"}}"
alt="Feature Image"/>
alt="{{title}}"/>
{{/if}}
</div>
{{content}}
<div class="mind-post_description">
<hr>
<i>Last update: <time class="post-date" datetime="{{date updated_at format='YYYY-MM-DD'}}">{{date updated_at format="DD MMMM YYYY"}}</time></i>
Last update: <time class="post-date" datetime="{{date updated_at format='YYYY-MM-DD'}}">{{date updated_at format="DD MMMM YYYY"}}</time>
<br />
<i>Author: {{primary_author.name}}</i>
Author: {{primary_author.name}}
{{#if tags}}
<br />
<i>Tags:
Tags:
{{#foreach tags}} {{!-- TODO: NOT WORKING --}}
<a href="{{url}}" title="{{name}}" class="tag tag-{{id}} {{slug}}">{{name}}</a>
<b><a href="{{url}}" title="{{name}}" class="tag tag-{{id}} {{slug}}">{{name}}</a></b>{{#unless @last}}, {{/unless}}
{{/foreach}}
{{/if}}
</i>
<hr>
</div>
</div>
<h3>Comments</h3>
<div id="remark42"></div>
</div>