Skip to content

Commit

Permalink
Releases version 0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiesigner committed Nov 7, 2020
1 parent 8a659f1 commit 72b7d15
Show file tree
Hide file tree
Showing 15 changed files with 79 additions and 27 deletions.
2 changes: 1 addition & 1 deletion assets/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/post.css

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions author.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
This template is used for the author page.
--}}

{{!-- This block loads specific styles for the author page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}}

Expand Down
7 changes: 5 additions & 2 deletions error-404.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
This error template is used for all 404 errors, which might occur on your site.
--}}

{{!-- This block loads specific styles for the 404 page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/404.css"}}" media="screen" />
{{/contentFor}}

Expand Down
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"Recommended for you": "Recommended for you",
"Scroll to top": "Scroll to top",
"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.",
"Subscribe": "Subscribe",
"Subscribe to": "Subscribe to",
Expand Down
1 change: 1 addition & 0 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"Recommended for you": "Recomendado para ti",
"Scroll to top": "Ir arriba",
"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.",
"Subscribe": "Suscríbete",
"Subscribe to": "Suscríbete a",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
"desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg"
},
"version": "0.8.7"
"version": "0.8.8"
}
7 changes: 5 additions & 2 deletions page-authors.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
--}}

{{!-- This block loads specific styles for the authors page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}}

Expand Down
7 changes: 5 additions & 2 deletions page-newsletter.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
This template is used for the subscription page.
--}}

{{!-- This block loads specific styles for the newsletter page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" />
{{/contentFor}}

Expand Down
7 changes: 5 additions & 2 deletions page-tags.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
--}}

{{!-- This block loads specific styles for the authors page --}}
{{#contentFor "styles"}}
{{!-- This block preloads specific assets for the tags page --}}
{{#contentFor "preload"}}
<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" />
{{/contentFor}}

Expand Down
16 changes: 10 additions & 6 deletions partials/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ This footer template is shared across all the pages.

<footer class="m-footer">
<div class="m-footer__content">
<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>

{{#if @site.secondary_navigation}}
<nav class="m-footer__nav-secondary" role="navigation" aria-label="{{t "Secondary menu in footer"}}">
{{navigation type="secondary"}}
</nav>
{{/if}}
<nav class="m-footer-social">
{{#if @site.facebook}}
<a href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener" aria-label="Facebook">
Expand All @@ -25,6 +24,11 @@ This footer template is shared across all the pages.
<span class="icon-rss" aria-hidden="true"></span>
</a>
</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">
<a href="{{asset "html/javascript.html"}}" rel="jslicense">{{t "JavaScript license information"}}</a>
</p>
Expand Down
29 changes: 25 additions & 4 deletions src/sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,35 @@
.m-footer__content {
color: $white;
text-align: center;
padding: 30px $mobile-space;
padding: 50px $mobile-space;

@include respond-to('medium') {
padding: 70px 0;
max-width: 330px;
padding: 75px 0;
max-width: 680px;
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 {
font-size: 0.875rem;
letter-spacing: 0.3px;
line-height: 1.75rem;
line-height: 1.7;
margin-bottom: $mobile-space;

span {
Expand All @@ -37,7 +53,12 @@
}
}

a {
text-decoration: underline;
}

&.jslicense {
opacity: 0.7;
margin-bottom: 0;
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/sass/layouts/_post-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
font-weight: 600;
}

em {
font-style: italic;
}

a {
color: var(--primary-foreground-color);
text-decoration: underline;
Expand Down
7 changes: 5 additions & 2 deletions subscribe.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
This template is used for the subscription page.
--}}

{{!-- This block loads specific styles for the newsletter page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/newsletter.css"}}" media="screen" />
{{/contentFor}}

Expand Down
7 changes: 5 additions & 2 deletions tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
This template is used for the tag page.
--}}

{{!-- This block loads specific styles for the tag page --}}
{{#contentFor "styles"}}
{{!-- 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 --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
{{/contentFor}}

Expand Down

0 comments on commit 72b7d15

Please sign in to comment.