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. Pages & Posts style
5.1. Header 5.1. Header
5.2. Content 5.2. Content
5.3. Koenig Styles 5.3. Description
5.4. Sidebar 5.4. Koenig Styles
5.5. Sidebar
6. Cookie & Policy Popup 6. Cookie & Policy Popup
7. Animations and Gradients 7. Animations and Gradients
8. Media Queries 8. Media Queries
@ -803,7 +804,17 @@ img.mind-post_feature-image {
visibility: hidden; 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 */ /* End Gallery */
/* 5.4. Sidebar /* 5.5. Sidebar
-------------------------------------------------- --------------------------------------------------
*/ */
#mind-post_sidebar-left { #mind-post_sidebar-left {

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
<article class="{{post_class}}"> <article class="{{post_class}}">
<a class="mind-tag-card_main" href="{{url}}"> <a class="mind-tag-card_main" href="{{url}}">
{{#if feature_image}} {{#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}} {{/if}}
<header class="mind-tag-card_header"> <header class="mind-tag-card_header">
<h4>{{name}}</h4> <h4>{{name}}</h4>

View File

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