diff --git a/config.rb b/config.rb index 6ffcad8..d165b9e 100644 --- a/config.rb +++ b/config.rb @@ -76,7 +76,6 @@ set :casper, { description: 'Stories about Life and Technology', date_format: '%Y-%m-%d', navigation: true, - logo: 'home.svg', default_license: 'cc_by_sa' }, author: { diff --git a/source/author.html.haml b/source/author.html.haml index 6ad2aa0..2ef1b7d 100644 --- a/source/author.html.haml +++ b/source/author.html.haml @@ -7,9 +7,7 @@ cover_license: '[Cover Image](https://unsplash.com/photos/2ShvY8Lf6l0) by [Lukas %header.main-header.author-head{cover} %nav.main-nav.overlay.clearfix - - if blog_settings.logo.present? - %a.blog-logo{href: home_path} - = image_tag blog_settings.logo, alt: blog_settings.name + %a.home-button.icon-angle-left{href: home_path} Home - if blog_settings.navigation %a.menu-button.icon-menu{href: '#'} %span.word Menu diff --git a/source/fonts/icons.config.json b/source/fonts/icons.config.json index 5c43b11..c273424 100644 --- a/source/fonts/icons.config.json +++ b/source/fonts/icons.config.json @@ -30,6 +30,12 @@ "code": 62981, "src": "fontawesome" }, + { + "uid": "f3f90c8c89795da30f7444634476ea4f", + "css": "angle-left", + "code": 62990, + "src": "fontawesome" + }, { "uid": "4743b088aa95d6f3b6b990e770d3b647", "css": "facebook", diff --git a/source/fonts/icons.eot b/source/fonts/icons.eot index e3c36b3..ae89c14 100644 Binary files a/source/fonts/icons.eot and b/source/fonts/icons.eot differ diff --git a/source/fonts/icons.svg b/source/fonts/icons.svg index ab5a1a4..45f2bf9 100644 --- a/source/fonts/icons.svg +++ b/source/fonts/icons.svg @@ -19,6 +19,7 @@ + \ No newline at end of file diff --git a/source/fonts/icons.ttf b/source/fonts/icons.ttf index 20b42fa..a96e6e4 100644 Binary files a/source/fonts/icons.ttf and b/source/fonts/icons.ttf differ diff --git a/source/fonts/icons.woff b/source/fonts/icons.woff index 8cfdf36..81972bb 100644 Binary files a/source/fonts/icons.woff and b/source/fonts/icons.woff differ diff --git a/source/images/home.svg b/source/images/home.svg deleted file mode 100644 index 58b2cdf..0000000 --- a/source/images/home.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/source/layouts/page.haml b/source/layouts/page.haml index e47fc51..b731500 100644 --- a/source/layouts/page.haml +++ b/source/layouts/page.haml @@ -1,9 +1,7 @@ = wrap_layout :layout do %header.main-header.post-head{cover} %nav.main-nav.clearfix{class: cover? ? 'overlay' : nil} - - if blog_settings.logo.present? - %a.blog-logo{href: home_path} - = image_tag blog_settings.logo, alt: blog_settings.name + %a.home-button.icon-angle-left{href: home_path} Home - if blog_settings.navigation %a.menu-button.icon-menu{href: '#'} %span.word Menu diff --git a/source/layouts/post.haml b/source/layouts/post.haml index 22d7347..51106f3 100644 --- a/source/layouts/post.haml +++ b/source/layouts/post.haml @@ -1,9 +1,7 @@ = wrap_layout :layout do %header.main-header.post-head{cover} %nav.main-nav.clearfix{class: cover? ? 'overlay' : nil} - - if blog_settings.logo.present? - %a.blog-logo{href: home_path} - = image_tag blog_settings.logo, alt: blog_settings.name + %a.home-button.icon-angle-left{href: home_path} Home - if blog_settings.navigation %a.menu-button.icon-menu{href: '#'} %span.word Menu diff --git a/source/stylesheets/_icons.css.scss b/source/stylesheets/_icons.css.scss index 0f256fb..ab76989 100644 --- a/source/stylesheets/_icons.css.scss +++ b/source/stylesheets/_icons.css.scss @@ -1,10 +1,10 @@ @font-face { font-family: 'icons'; - src: url('../fonts/icons.eot?30442297'); - src: url('../fonts/icons.eot?30442297#iefix') format('embedded-opentype'), - url('../fonts/icons.woff?30442297') format('woff'), - url('../fonts/icons.ttf?30442297') format('truetype'), - url('../fonts/icons.svg?30442297#icons') format('svg'); + src: url('../fonts/icons.eot?82832280'); + src: url('../fonts/icons.eot?82832280#iefix') format('embedded-opentype'), + url('../fonts/icons.woff?82832280') format('woff'), + url('../fonts/icons.ttf?82832280') format('truetype'), + url('../fonts/icons.svg?82832280#icons') format('svg'); font-weight: normal; font-style: normal; } @@ -32,3 +32,4 @@ .icon-github:before { content: '\f60b'; } .icon-xing:before { content: '\f60c'; } .icon-mail:before { content: '\f60d'; } +.icon-angle-left:before { content: '\f60e'; } diff --git a/source/stylesheets/application.css.scss b/source/stylesheets/application.css.scss index 8050950..1fa9f96 100644 --- a/source/stylesheets/application.css.scss +++ b/source/stylesheets/application.css.scss @@ -3,6 +3,11 @@ @import 'syntax'; @import 'icons'; +.home-button { + @extend .menu-button; + float: left; +} + .byline { font-size: 1.8rem; line-height: 1; diff --git a/source/tag.html.haml b/source/tag.html.haml index bafcbaf..09b786a 100644 --- a/source/tag.html.haml +++ b/source/tag.html.haml @@ -6,9 +6,7 @@ cover_license: '[Cover Image](https://unsplash.com/photos/2ShvY8Lf6l0) by [Lukas %header.main-header.tag-head{cover} %nav.main-nav.overlay.clearfix - - if blog_settings.logo.present? - %a.blog-logo{href: home_path} - = image_tag blog_settings.logo, alt: blog_settings.name + %a.home-button.icon-angle-left{href: home_path} Home - if blog_settings.navigation %a.menu-button.icon-menu{href: '#'} %span.word Menu