Releases version 0.8.8

This commit is contained in:
Eduardo Gomez 2020-11-07 20:18:06 +01:00
parent 8a659f122c
commit 72b7d15f3d
15 changed files with 79 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,13 @@
This template is used for the author page. This template is used for the author page.
--}} --}}
{{!-- This block preloads specific assets for the author page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the author page --}} {{!-- This block loads specific styles for the author page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -2,10 +2,13 @@
This error template is used for all 404 errors, which might occur on your site. This error template is used for all 404 errors, which might occur on your site.
--}} --}}
{{!-- This block preloads specific assets for the 404 page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/404.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the 404 page --}} {{!-- This block loads specific styles for the 404 page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/404.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/404.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/404.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -43,6 +43,7 @@
"Recommended for you": "Recommended for you", "Recommended for you": "Recommended for you",
"Scroll to top": "Scroll to top", "Scroll to top": "Scroll to top",
"Search": "Search", "Search": "Search",
"Secondary menu in footer": "Secondary menu in footer",
"Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.": "Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.", "Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.": "Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.",
"Subscribe": "Subscribe", "Subscribe": "Subscribe",
"Subscribe to": "Subscribe to", "Subscribe to": "Subscribe to",

View file

@ -43,6 +43,7 @@
"Recommended for you": "Recomendado para ti", "Recommended for you": "Recomendado para ti",
"Scroll to top": "Ir arriba", "Scroll to top": "Ir arriba",
"Search": "Búsqueda", "Search": "Búsqueda",
"Secondary menu in footer": "Menú secundario en pie de página",
"Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.": "Mantente al día! Recibe todos los mejores y más recientes artículos directamente en tu bandeja de entrada.", "Stay up to date! Get all the latest & greatest posts delivered straight to your inbox.": "Mantente al día! Recibe todos los mejores y más recientes artículos directamente en tu bandeja de entrada.",
"Subscribe": "Suscríbete", "Subscribe": "Suscríbete",
"Subscribe to": "Suscríbete a", "Subscribe to": "Suscríbete a",

View file

@ -54,5 +54,5 @@
"desktop": "assets/screenshot-desktop.jpg", "desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg" "mobile": "assets/screenshot-mobile.jpg"
}, },
"version": "0.8.7" "version": "0.8.8"
} }

View file

@ -3,10 +3,13 @@ This template is used for the authors page.
You must first create a page called Authors in the dashboard to enable it. You must first create a page called Authors in the dashboard to enable it.
--}} --}}
{{!-- This block preloads specific assets for the authors page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the authors page --}} {{!-- This block loads specific styles for the authors page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -2,10 +2,13 @@
This template is used for the subscription page. This template is used for the subscription page.
--}} --}}
{{!-- This block preloads specific assets for the newsletter page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/newsletter.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the newsletter page --}} {{!-- This block loads specific styles for the newsletter page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/newsletter.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -3,10 +3,13 @@ This template is used for the tags page.
You must first create a page called Tags in the dashboard to enable it. You must first create a page called Tags in the dashboard to enable it.
--}} --}}
{{!-- This block loads specific styles for the authors page --}} {{!-- This block preloads specific assets for the tags page --}}
{{#contentFor "styles"}} {{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/tags.css"}}" as="style" /> <link rel="preload" href="{{asset "css/tags.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the tags page --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/tags.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/tags.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -4,12 +4,11 @@ This footer template is shared across all the pages.
<footer class="m-footer"> <footer class="m-footer">
<div class="m-footer__content"> <div class="m-footer__content">
<p class="m-footer-copyright"> {{#if @site.secondary_navigation}}
<span>{{@site.title}} &copy; {{date format="YYYY"}}</span> <nav class="m-footer__nav-secondary" role="navigation" aria-label="{{t "Secondary menu in footer"}}">
<span>&nbsp; &bull; &nbsp;</span> {{navigation type="secondary"}}
<span>{{t "Published with"}} <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span> </nav>
</p> {{/if}}
<nav class="m-footer-social"> <nav class="m-footer-social">
{{#if @site.facebook}} {{#if @site.facebook}}
<a href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener" aria-label="Facebook"> <a href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener" aria-label="Facebook">
@ -25,6 +24,11 @@ This footer template is shared across all the pages.
<span class="icon-rss" aria-hidden="true"></span> <span class="icon-rss" aria-hidden="true"></span>
</a> </a>
</nav> </nav>
<p class="m-footer-copyright">
<span>{{@site.title}} &copy; {{date format="YYYY"}}</span>
<span>&nbsp; &bull; &nbsp;</span>
<span>{{t "Published with"}} <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span>
</p>
<p class="m-footer-copyright jslicense"> <p class="m-footer-copyright jslicense">
<a href="{{asset "html/javascript.html"}}" rel="jslicense">{{t "JavaScript license information"}}</a> <a href="{{asset "html/javascript.html"}}" rel="jslicense">{{t "JavaScript license information"}}</a>
</p> </p>

View file

@ -6,19 +6,35 @@
.m-footer__content { .m-footer__content {
color: $white; color: $white;
text-align: center; text-align: center;
padding: 30px $mobile-space; padding: 50px $mobile-space;
@include respond-to('medium') { @include respond-to('medium') {
padding: 70px 0; padding: 75px 0;
max-width: 330px; max-width: 680px;
margin: 0 auto; margin: 0 auto;
} }
} }
.m-footer__nav-secondary {
margin-bottom: 25px;
.m-secondary-menu {
display: flex;
justify-content: center;
flex-wrap: wrap;
li {
@include respond-to('medium') {
margin: 0 5px;
}
}
}
}
.m-footer-copyright { .m-footer-copyright {
font-size: 0.875rem; font-size: 0.875rem;
letter-spacing: 0.3px; letter-spacing: 0.3px;
line-height: 1.75rem; line-height: 1.7;
margin-bottom: $mobile-space; margin-bottom: $mobile-space;
span { span {
@ -37,7 +53,12 @@
} }
} }
a {
text-decoration: underline;
}
&.jslicense { &.jslicense {
opacity: 0.7;
margin-bottom: 0; margin-bottom: 0;
} }
} }

View file

@ -98,6 +98,10 @@
font-weight: 600; font-weight: 600;
} }
em {
font-style: italic;
}
a { a {
color: var(--primary-foreground-color); color: var(--primary-foreground-color);
text-decoration: underline; text-decoration: underline;

View file

@ -2,10 +2,13 @@
This template is used for the subscription page. This template is used for the subscription page.
--}} --}}
{{!-- This block preloads specific assets for the newsletter page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/newsletter.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the newsletter page --}} {{!-- This block loads specific styles for the newsletter page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/newsletter.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}

View file

@ -2,10 +2,13 @@
This template is used for the tag page. This template is used for the tag page.
--}} --}}
{{!-- This block preloads specific assets for the tag page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
{{/contentFor}}
{{!-- This block loads specific styles for the tag page --}} {{!-- This block loads specific styles for the tag page --}}
{{#contentFor "styles"}} {{#contentFor "styles"}}
<link rel="preload" href="{{asset "css/listing.css"}}" as="style" />
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" /> <link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}} {{/contentFor}}