New navigation structure to make way for MU changes

This commit is contained in:
John O'Nolan 2014-07-20 16:43:44 +02:00
parent 2dafaa257a
commit 448082bd48
9 changed files with 235 additions and 137 deletions

View File

@ -117,11 +117,7 @@ table { border-collapse: collapse; border-spacing: 0; }
} }
/* Apply these base styles to all icons */ /* Apply these base styles to all icons */
.icon-ghost:before, [class^="icon-"], [class*=" icon-"] {
.icon-feed:before,
.icon-twitter:before,
.icon-google-plus:before,
.icon-facebook:before {
font-family: "icons"; font-family: "icons";
speak: none; speak: none;
font-style: normal; font-style: normal;
@ -129,7 +125,7 @@ table { border-collapse: collapse; border-spacing: 0; }
font-variant: normal; font-variant: normal;
text-transform: none; text-transform: none;
line-height: 1; line-height: 1;
text-decoration: none; text-decoration: none !important;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
@ -152,6 +148,10 @@ table { border-collapse: collapse; border-spacing: 0; }
.icon-facebook:before { .icon-facebook:before {
content: "\e004"; content: "\e004";
} }
.icon-arrow-left:before {
content: "\e005";
}
/* ========================================================================== /* ==========================================================================
@ -162,6 +162,7 @@ html {
height: 100%; height: 100%;
max-height: 100%; max-height: 100%;
font-size: 62.5%; font-size: 62.5%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} }
body { body {
@ -194,7 +195,7 @@ h4, h5, h6 {
-o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
color: #2E2E2E; color: #2E2E2E;
line-height: 1.3em; line-height: 1.15em;
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
} }
@ -241,6 +242,10 @@ h4 a, h5 a, h6 a {
color: #50585D; color: #50585D;
} }
.post-template .post-title {
margin-bottom: 3.4rem;
}
p, ul, ol, dl { p, ul, ol, dl {
-webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
-moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
@ -647,6 +652,85 @@ margin on the iframe, cause it breaks stuff. */
5. Single Post - When you click on an individual post 5. Single Post - When you click on an individual post
========================================================================== */ ========================================================================== */
.main-nav {
position: relative;
padding: 15px;
margin: 0 0 30px 0;
}
.back-button {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
float: left;
height: 40px;
padding: 0 15px 0 10px;
border: transparent 1px solid;
color: #9EABB3;
text-align: center;
font-size: 12px;
text-transform: uppercase;
line-height: 37px;
border-radius: 3px;
transition: all ease 0.3s;
}
.back-button:before {
position: relative;
bottom: -2px;
font-size: 13px;
line-height: 0;
margin-right: 8px;
}
.subscribe-button {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
float: right;
height: 40px;
padding: 0 20px;
border: transparent 1px solid;
color: #9EABB3;
text-align: center;
font-size: 12px;
text-transform: uppercase;
line-height: 37px;
border-radius: 40px;
transition: all ease 0.3s;
}
.subscribe-button:before {
font-size: 9px;
margin-right: 6px;
}
/* Special styles when overlaid on an image*/
.main-nav.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
border: none;
}
.main-nav.overlay a {
color: rgba(255,255,255,0.7);
}
.main-nav.overlay a:hover {
color: #fff;
border-color: #fff;
background: transparent;
}
/* Add a border to the buttons on hover */
.back-button:hover,
.subscribe-button:hover {
border-color: #bfc8cd;
color: #9EABB3;
}
/* Stop .full-img from creating horizontal scroll - slight hack due to /* Stop .full-img from creating horizontal scroll - slight hack due to
imperfections with browser width % calculations and rounding */ imperfections with browser width % calculations and rounding */
.post-template .content { .post-template .content {
@ -776,38 +860,6 @@ margin on the iframe, cause it breaks stuff. */
} }
/* ==========================================================================
6. Tag archive
========================================================================== */
.tag-archive-header {
position: relative;
max-width: 700px;
margin: 4rem auto;
border-bottom: 1px solid #EBF2F6;
padding: 20px 0;
text-align: center;
color: #222;
}
.tag-archive-header:after {
display: block;
content: "";
width: 7px;
height: 7px;
border: #E7EEF2 1px solid;
position: absolute;
bottom: -5px;
left: 50%;
margin-left: -5px;
background: #FFF;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border-radius: 100%;
box-shadow: #FFF 0 0 0 5px;
}
/* ========================================================================== /* ==========================================================================
7. Third Party Elements - Embeds from other services 7. Third Party Elements - Embeds from other services
========================================================================== */ ========================================================================== */
@ -884,37 +936,33 @@ margin on the iframe, cause it breaks stuff. */
.site-footer { .site-footer {
position: relative; position: relative;
margin: 8rem 0 0 0; margin: 8rem 0 0 0;
padding: 4rem 0; padding: 0.5rem 35px;
border-top: #EBF2F6 1px solid; border-top: #EBF2F6 1px solid;
font-family: "Open Sans", sans-serif; font-family: "Open Sans", sans-serif;
font-size: 1.3rem; font-size: 1rem;
line-height: 1.7em; line-height: 1.7em;
color: #BBC7CC; color: #BBC7CC;
text-align: center;
background: #F7FAFB;
} }
.site-footer a { .site-footer a {
color: #BBC7CC; color: #BBC7CC;
text-decoration: underline; text-decoration: none;
font-weight: bold;
} }
.site-footer a:hover { .site-footer a:hover {
color: #50585D; color: #50585D;
} }
.poweredby .icon-ghost { .poweredby {
font-weight: 700; display: block;
text-decoration: none; float: right;
text-align: right;
} }
.poweredby .icon-ghost:hover { .copyright {
text-decoration: none; display: block;
} float: left;
.poweredby .icon-ghost:before {
font-size: 1rem;
margin-right: 0.2em;
} }
/* The subscribe icon on the footer */ /* The subscribe icon on the footer */
@ -938,7 +986,7 @@ margin on the iframe, cause it breaks stuff. */
color: #D2DEE3; color: #D2DEE3;
font-size: 10px; font-size: 10px;
position: absolute; position: absolute;
top: 9px; top: 2px;
left: 9px; left: 9px;
font-weight: 700; font-weight: 700;
transition: color 0.5s ease; transition: color 0.5s ease;
@ -957,7 +1005,8 @@ margin on the iframe, cause it breaks stuff. */
/* CSS tooltip saying "Subscribe!" - initially hidden */ /* CSS tooltip saying "Subscribe!" - initially hidden */
.tooltip { .tooltip {
opacity: 0; opacity: 0;
display: inline-block; display: block;
width: 52px;
padding: 4px 8px 5px 8px; padding: 4px 8px 5px 8px;
position:absolute; position:absolute;
top: -23px; top: -23px;
@ -1062,6 +1111,10 @@ margin on the iframe, cause it breaks stuff. */
@media only screen and (max-width: 900px) { @media only screen and (max-width: 900px) {
.main-nav {
padding: 10px;
}
blockquote { blockquote {
margin-left: 0; margin-left: 0;
} }
@ -1097,6 +1150,10 @@ margin on the iframe, cause it breaks stuff. */
padding: 40px 0; padding: 40px 0;
} }
hr {
margin: 2.4em 0;
}
ol, ul { ol, ul {
padding-left: 2em; padding-left: 2em;
} }
@ -1126,6 +1183,10 @@ margin on the iframe, cause it breaks stuff. */
font-size: 1.8rem; font-size: 1.8rem;
} }
.site-footer {
padding: 0.5rem 15px;
}
} }
@ -1135,6 +1196,51 @@ margin on the iframe, cause it breaks stuff. */
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
.site-head {
margin-bottom: 0;
}
.main-nav {
padding: 0;
margin-bottom: 2rem;
border-bottom: #e0e4e7 1px solid;
}
.back-button,
.subscribe-button {
height: 44px;
line-height: 41px;
border-radius: 0;
color: #2e2e2e;
}
.back-button:hover,
.subscribe-button:hover {
border-color: #ebeef0;
color: #2e2e2e;
background: #ebeef0;
}
.back-button {
padding: 0 15px 0 10px;
}
.subscribe-button {
padding: 0 12px;
}
.main-nav.overlay {
color: #fff;
background: rgba(0,0,0,0.4);
background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.4)), color-stop(100%,rgba(0,0,0,0)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%);
}
.main-nav.overlay a:hover {
border-color: transparent;
background: transparent;
}
.blog-logo img { .blog-logo img {
max-height: 80px; max-height: 80px;
} }
@ -1148,14 +1254,25 @@ margin on the iframe, cause it breaks stuff. */
.post { .post {
width: auto; width: auto;
margin-top: 2rem;
margin-bottom: 2rem;
margin-left: 16px; margin-left: 16px;
margin-right: 16px; margin-right: 16px;
padding-bottom: 2rem;
font-size: 0.8em; font-size: 0.8em;
line-height: 1.6em; line-height: 1.6em;
} }
.post-template .post-title {
margin-bottom: 2rem;
}
hr {
margin: 1.6em 0;
}
p, ul, ol, dl { p, ul, ol, dl {
margin: 0 0 1.6em 0; margin: 0 0 2rem 0;
} }
.site-head { .site-head {
@ -1164,6 +1281,7 @@ margin on the iframe, cause it breaks stuff. */
.blog-title { .blog-title {
font-size: 3rem; font-size: 3rem;
margin: 0;
} }
.blog-description { .blog-description {
@ -1271,8 +1389,7 @@ margin on the iframe, cause it breaks stuff. */
} }
.site-footer { .site-footer {
margin-top: 6rem; margin-top: 3rem;
font-size: 1.1rem;
} }
} }

Binary file not shown.

View File

@ -12,4 +12,5 @@
<glyph unicode="&#xe002;" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" /> <glyph unicode="&#xe002;" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" />
<glyph unicode="&#xe003;" d="M0.806 90.336c-0.244 2.532-0.452 5.070-0.584 7.63 0.13-2.56 0.34-5.098 0.584-7.63zM235.908 394.852c92.010-2.738 153.734 92.698 137.862 213.198-15.894 120.48-103.396 217.168-195.408 219.922-92.026 2.73-153.74-89.482-137.852-210 15.882-120.468 103.352-220.374 195.398-223.12zM1024 704v85.31c0 93.88-76.782 170.69-170.658 170.69h-682.656c-92.276 0-168.012-74.232-170.564-165.926 58.362 51.386 139.324 94.316 222.874 94.316 89.304 0 357.244 0 357.244 0l-79.948-67.618h-113.268c75.13-28.804 115.156-116.124 115.156-205.722 0-75.248-41.81-139.954-100.888-185.968-57.644-44.902-68.572-63.708-68.572-101.878 0-32.578 61.746-88 94.032-110.788 94.382-66.538 124.916-128.312 124.916-231.456 0-16.428-2.042-32.83-6.066-48.96h307.742c93.874 0 170.656 76.75 170.656 170.69v533.308h-192v-191.998h-64v192h-191.998v64h191.998v192h64v-192h192zM185.886 194.064c21.614 0 41.422 0.59 61.936 0.59-27.146 26.334-48.626 58.6-48.626 98.38 0 23.608 7.564 46.336 18.134 66.52-10.782-0.77-21.79-0.994-33.126-0.994-74.356 0-137.506 24.076-184.204 63.854v-67.242l0.006-201.73c53.44 25.374 116.888 40.622 185.88 40.622zM3.42 72.742c-1.112 5.458-1.966 11.006-2.542 16.634 0.574-5.628 1.43-11.176 2.542-16.634zM455.45 7.154c-15.058 58.806-68.454 87.964-142.888 139.568-27.072 8.732-56.894 13.874-88.894 14.208-89.618 0.964-173.108-34.942-220.216-88.372 15.92-77.706 85.034-136.558 167.234-136.558h286.444c1.816 11.128 2.696 22.632 2.696 34.432 0 12.534-1.534 24.792-4.376 36.722z" /> <glyph unicode="&#xe003;" d="M0.806 90.336c-0.244 2.532-0.452 5.070-0.584 7.63 0.13-2.56 0.34-5.098 0.584-7.63zM235.908 394.852c92.010-2.738 153.734 92.698 137.862 213.198-15.894 120.48-103.396 217.168-195.408 219.922-92.026 2.73-153.74-89.482-137.852-210 15.882-120.468 103.352-220.374 195.398-223.12zM1024 704v85.31c0 93.88-76.782 170.69-170.658 170.69h-682.656c-92.276 0-168.012-74.232-170.564-165.926 58.362 51.386 139.324 94.316 222.874 94.316 89.304 0 357.244 0 357.244 0l-79.948-67.618h-113.268c75.13-28.804 115.156-116.124 115.156-205.722 0-75.248-41.81-139.954-100.888-185.968-57.644-44.902-68.572-63.708-68.572-101.878 0-32.578 61.746-88 94.032-110.788 94.382-66.538 124.916-128.312 124.916-231.456 0-16.428-2.042-32.83-6.066-48.96h307.742c93.874 0 170.656 76.75 170.656 170.69v533.308h-192v-191.998h-64v192h-191.998v64h191.998v192h64v-192h192zM185.886 194.064c21.614 0 41.422 0.59 61.936 0.59-27.146 26.334-48.626 58.6-48.626 98.38 0 23.608 7.564 46.336 18.134 66.52-10.782-0.77-21.79-0.994-33.126-0.994-74.356 0-137.506 24.076-184.204 63.854v-67.242l0.006-201.73c53.44 25.374 116.888 40.622 185.88 40.622zM3.42 72.742c-1.112 5.458-1.966 11.006-2.542 16.634 0.574-5.628 1.43-11.176 2.542-16.634zM455.45 7.154c-15.058 58.806-68.454 87.964-142.888 139.568-27.072 8.732-56.894 13.874-88.894 14.208-89.618 0.964-173.108-34.942-220.216-88.372 15.92-77.706 85.034-136.558 167.234-136.558h286.444c1.816 11.128 2.696 22.632 2.696 34.432 0 12.534-1.534 24.792-4.376 36.722z" />
<glyph unicode="&#xe004;" d="M853.344 960h-682.66c-93.872 0-170.684-76.814-170.684-170.688v-682.626c0-93.938 76.812-170.686 170.684-170.686l682.66 0.002c93.876 0 170.656 76.746 170.656 170.688v682.622c0 93.874-76.782 170.688-170.656 170.688zM870.592 448h-166.592v-448h-192v448h-92.526v146.564h92.526v95.186c0 129.342 55.792 206.25 207.87 206.25h175.244v-158.57h-143.13c-42.482 0.070-47.752-22.152-47.752-63.512l-0.232-79.354h192l-25.408-146.564z" /> <glyph unicode="&#xe004;" d="M853.344 960h-682.66c-93.872 0-170.684-76.814-170.684-170.688v-682.626c0-93.938 76.812-170.686 170.684-170.686l682.66 0.002c93.876 0 170.656 76.746 170.656 170.688v682.622c0 93.874-76.782 170.688-170.656 170.688zM870.592 448h-166.592v-448h-192v448h-92.526v146.564h92.526v95.186c0 129.342 55.792 206.25 207.87 206.25h175.244v-158.57h-143.13c-42.482 0.070-47.752-22.152-47.752-63.512l-0.232-79.354h192l-25.408-146.564z" />
<glyph unicode="&#xe005;" d="M737.229 68.198c13.722-13.875 13.722-36.25 0-50.125s-35.891-13.875-49.613 0l-400.896 404.838c-13.722 13.875-13.722 36.301 0 50.125l400.896 404.89c13.722 13.875 35.891 13.875 49.613 0s13.722-36.25 0-50.125l-365.568-379.802 365.568-379.802z" />
</font></defs></svg> </font></defs></svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Binary file not shown.

View File

@ -26,12 +26,9 @@
{{! Everything else gets inserted here }} {{! Everything else gets inserted here }}
{{{body}}} {{{body}}}
<footer class="site-footer"> <footer class="site-footer clearfix">
<a class="subscribe icon-feed" href="{{@blog.url}}/rss/"><span class="tooltip">Subscribe!</span></a> <section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> &copy; {{date format="YYYY"}}</section>
<div class="inner"> <section class="poweredby">Proudly published with <a href="https://ghost.org">Ghost</a></section>
<section class="copyright">All content copyright <a href="{{@blog.url}}/">{{@blog.title}}</a> &copy; {{date format="YYYY"}} &bull; All rights reserved.</section>
<section class="poweredby">Proudly published with <a class="icon-ghost" href="https://ghost.org">Ghost</a></section>
</div>
</footer> </footer>
{{! Ghost outputs important scripts and data with this tag }} {{! Ghost outputs important scripts and data with this tag }}

View File

@ -3,20 +3,14 @@
{{! This is a page template. A page outputs content just like any other post, and has all the same {{! This is a page template. A page outputs content just like any other post, and has all the same
attributes by default, but you can also customise it to behave differently if you prefer. }} attributes by default, but you can also customise it to behave differently if you prefer. }}
<nav class="main-nav clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
<main class="content" role="main"> <main class="content" role="main">
<article class="{{post_class}}"> <article class="{{post_class}}">
<header class="post-header">
<a class="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{else}}
<span class="blog-title">{{@blog.title}}</span>
{{/if}}
</a>
</header>
{{#post}} {{#post}}
<h1 class="post-title">{{{title}}}</h1> <h1 class="post-title">{{{title}}}</h1>
@ -26,7 +20,6 @@
</section> </section>
{{/post}} {{/post}}
</article> </article>
</main> </main>

View File

@ -3,26 +3,17 @@
{{! The comment above "< default" means - insert everything in this file into {{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }} the {body} of the default.hbs template, which contains our header/footer. }}
<nav class="main-nav clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
<main class="content" role="main"> <main class="content" role="main">
<article class="{{post_class}}"> <article class="{{post_class}}">
{{! Each post has the blog logo at the top, with a link back to the home page }}
<header class="post-header">
<a class="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{else}}
<span class="blog-title">{{@blog.title}}</span>
{{/if}}
</a>
</header>
{{! Everything inside the #post tags pulls data from the post }} {{! Everything inside the #post tags pulls data from the post }}
{{#post}} {{#post}}
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{tags prefix="on " separator=" | "}}</span>
<h1 class="post-title">{{{title}}}</h1> <h1 class="post-title">{{{title}}}</h1>
<section class="post-content"> <section class="post-content">
@ -30,6 +21,7 @@
</section> </section>
<footer class="post-footer"> <footer class="post-footer">
<a class="subscribe icon-feed" href="{{@blog.url}}/rss/"><span class="tooltip">Subscribe!</span></a>
<section class="author"> <section class="author">
<h4>{{author.name}}</h4> <h4>{{author.name}}</h4>
@ -59,7 +51,6 @@
</footer> </footer>
{{/post}} {{/post}}
</article> </article>
</main> </main>

15
tag.hbs
View File

@ -5,11 +5,14 @@
{{! The big featured header on the homepage, with the site logo and description }} {{! The big featured header on the homepage, with the site logo and description }}
<header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}> <header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<nav class="main-nav overlay clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
<div class="vertical"> <div class="vertical">
<div class="site-head-content inner"> <div class="site-head-content inner">
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}} <h1 class="blog-title">{{tag.name}}</h1>
<h1 class="blog-title">{{@blog.title}}</h1> <h2 class="blog-description">A {{pagination.total}}-post collection</h2>
<h2 class="blog-description">{{@blog.description}}</h2>
</div> </div>
</div> </div>
</header> </header>
@ -17,10 +20,6 @@
{{! The main content area on the homepage }} {{! The main content area on the homepage }}
<main class="content" role="main"> <main class="content" role="main">
<header class="tag-archive-header">
<h1>{{tag.name}}</h1>
</header>
{{! Each post will be output using this markup }} {{! Each post will be output using this markup }}
{{#foreach posts}} {{#foreach posts}}
@ -37,7 +36,7 @@
{{/foreach}} {{/foreach}}
{{!! After all the posts, we have the previous/next pagination links }} {{! After all the posts, we have the previous/next pagination links }}
{{pagination}} {{pagination}}
</main> </main>