From ab8b1d8bc33e324b7543e6d99814ef1e32e5bf0e Mon Sep 17 00:00:00 2001 From: Holger Just Date: Wed, 3 May 2017 14:08:47 +0200 Subject: [PATCH] Hide the index byline on later pages --- source/index.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/index.html.haml b/source/index.html.haml index 2629f1f..bb778fe 100644 --- a/source/index.html.haml +++ b/source/index.html.haml @@ -16,9 +16,10 @@ cover_license: '[Cover Image](https://unsplash.com/photos/2ShvY8Lf6l0) by [Lukas .main-header-content.inner %h1.page-title= blog_settings.name %h2.page-description= blog_settings.description - %section.byline - %span= "by #{link_to blog_author.name, author_path}" - = partial(:profile_links, locals: {author: blog_author.name}) + - unless page_class == 'paged' + %section.byline + %span= "by #{link_to blog_author.name, author_path}" + = partial(:profile_links, locals: {author: blog_author.name}) %a.scroll-down.icon-arrow-left{href: '#content', data: {offset: '45'}} %span.hidden Scroll Down