diff --git a/source/index.html.haml b/source/index.html.haml index feca525a6d161dc0dbd5d3e3f3727e55ead39833..be925b2660ee37011f67a9f47bec6bbf37ac827d 100644 --- a/source/index.html.haml +++ b/source/index.html.haml @@ -1,6 +1,27 @@ --- title: Overview --- +- content_for :additional_header do + .row.center + %a#download-button.btn-large.waves-effect.waves-light{:href => "http://materializecss.com/getting-started.html"} Get Started + .row.center + %a.red-text.text-lighten-4{:href => "https://github.com/Syncleus/aparapi"} beta release v1.0.0 + .buysellads-header.buysellads-homepage.row.center + / CarbonAds Zone Code + %script#_carbonads_js{:async => "", :src => "//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=materializecss", :type => "text/javascript"} + %br/ + +- content_for :banner do + .github-commit + .container + .commit + Latest Commit on Github: + Â Â + %a.sha{:href => ""} + Â Â + %span.date + %a#github-button.btn-flat.right.grey-text.text-lighten-5.waves-effect.waves-light.hide-on-small-only{:href => "https://github.com/Syncleus/aparapi"} Github + .section .row .col.s12.m8.offset-m2 diff --git a/source/layout.html.haml b/source/layout.html.haml index c3115d6165321e7214ade6daa40128c7a786d22d..09a434c1f08bae7322bf3b7a03f6c82c1755191a 100644 --- a/source/layout.html.haml +++ b/source/layout.html.haml @@ -37,12 +37,9 @@ %li.no-padding %ul.collapsible.collapsible-accordion %li.bold - %a.collapsible-header.waves-effect.waves-teal - Introduction - .collapsible-body - %ul - %li - = link_to 'Overview', '/index.html' + %a.waves-effect.waves-teal + = link_to 'Overview', '/index.html' + - navigation.each_with_index do |(category, subcategories), index| %li.no-padding %ul.collapsible.collapsible-accordion @@ -54,7 +51,7 @@ - subcategories.each do |subcategory| %li = link_to subcategory[:name], subcategory.link, | - class: 'mdl-navigation__link', | + class: 'mdl-navigation__link', data: { title: subcategory.name } - unless index == navigation.size - 1 %li @@ -65,23 +62,8 @@ %h1.header.center-on-small-only Aparapi .row.center %h4.header.col.s12.light.center Open-source framework for executing native Java code on the GPU. - .row.center - %a#download-button.btn-large.waves-effect.waves-light{:href => "http://materializecss.com/getting-started.html"} Get Started - .row.center - %a.red-text.text-lighten-4{:href => "https://github.com/Syncleus/aparapi"} beta release v1.0.0 - .buysellads-header.buysellads-homepage.row.center - / CarbonAds Zone Code - %script#_carbonads_js{:async => "", :src => "//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=materializecss", :type => "text/javascript"} - %br/ - .github-commit - .container - .commit - Latest Commit on Github: - Â Â - %a.sha{:href => ""} - Â Â - %span.date - %a#github-button.btn-flat.right.grey-text.text-lighten-5.waves-effect.waves-light.hide-on-small-only{:href => "https://github.com/Syncleus/aparapi"} Github + = yield_content(:additional_header) if content_for?(:additional_header) + = yield_content(:banner) if content_for?(:banner) .container = yield %footer.page-footer