From 50c7afc8065fe298eb680a70783e2fbd53594be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Tue, 16 Mar 2021 18:36:06 +0100 Subject: [PATCH] Fix post info at bottom --- assets/css/screen.css | 19 +++++++++++++++---- package.json | 2 +- page.hbs | 2 +- partials/post-card-big.hbs | 4 ++-- partials/post-card-small.hbs | 2 +- partials/tag-card-big.hbs | 2 +- post.hbs | 29 +++++++++++++++-------------- 7 files changed, 36 insertions(+), 24 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 4187b11..3d5313e 100755 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -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 { diff --git a/package.json b/package.json index 9b4e2bb..9643ccd 100755 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/page.hbs b/page.hbs index 9915181..8c83abc 100644 --- a/page.hbs +++ b/page.hbs @@ -16,7 +16,7 @@
{{#if feature_image}} - Feature Image {{#if feature_image}} - Feature Image @@ -21,7 +21,7 @@ {{primary_author.name}} {{#if primary_author.profile_image}} Author image{{/if}} + alt="{{title}}"/>{{/if}} diff --git a/partials/post-card-small.hbs b/partials/post-card-small.hbs index 905e62d..9db6f8b 100644 --- a/partials/post-card-small.hbs +++ b/partials/post-card-small.hbs @@ -7,7 +7,7 @@ {{#if feature_image}} Feature Image + alt="{{title}}"/> {{/if}}

{{#if feature_image}} - Feature Image + {{title}} {{/if}}

{{name}}

diff --git a/post.hbs b/post.hbs index 4894d83..6bb4106 100755 --- a/post.hbs +++ b/post.hbs @@ -35,24 +35,25 @@ {{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}}
{{content}} -
- Last update: -
- Author: {{primary_author.name}} - - {{#if tags}} +
+
+ Last update:
- Tags: - {{#foreach tags}} {{!-- TODO: NOT WORKING --}} -
{{name}} - {{/foreach}} - {{/if}} - -
+ Author: {{primary_author.name}} + + {{#if tags}} +
+ Tags: + {{#foreach tags}} {{!-- TODO: NOT WORKING --}} + {{name}}{{#unless @last}}, {{/unless}} + {{/foreach}} + {{/if}} +
+

Comments