Instantly share code, notes, and snippets.
Created
April 30, 2013 08:32
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(1)
1
You must be signed in to fork a gist
-
Save iwarner/5487393 to your computer and use it in GitHub Desktop.
Middleman - Bootstrap - Footer from Yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-# Footer Partial | |
-# Usage | |
-# = partial("#{pathPartials}/site/footer") | |
-# Requires a /data/footer.yaml file to be present | |
-# Check and warn if empty | |
- if data.footer.blank? | |
- puts "Data not found" | |
-# Footer | |
%footer | |
-# Footer Section | |
.footer | |
.container | |
.row | |
-# Loop through the Navigation Yaml | |
- data.footer.each do |entry| | |
-# Section | |
.span3 | |
%span.title | |
%i{ :class => "icon-#{entry.icon}" } | |
= entry.title | |
:markdown | |
#{entry.description} | |
-# Copywrite Section | |
.copywrite | |
.container | |
.row | |
.span12 | |
%p | |
= brand | |
© | |
%time{ :datetime => "2013" } 2013 | |
All Rights Reserved. | |
%span.totop.pull-right | |
Back to Top | |
%i.icon-arrow-ip.icon-white |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Footer | |
# Usage | |
# Description content must be written in markdown | |
# As these sections are rendered in HAML with the :markdown filter | |
# Make sure Kramdown is set at the default engine in cofig.rb | |
# set :markdown_engine, :kramdown | |
--- | |
# Column One | |
- :title : About Us | |
:icon : info-sign | |
:description : | | |
DryKiss is a full service internet and mobile digital production house. | |
Our core services span Strategy; Planning; Development; Testing, and | |
Analytics. | |
We endeavour to expedite your project by using core principles the | |
founders have built upon over years of experience. | |
# Column Two | |
- :title : What We Do | |
:icon : cogs | |
:description : | | |
DryKiss develops mobile apps (iOS & Android); responsive internet | |
sites; admin systems and tools for modern devices. | |
We are experts in social media apps and pages. | |
And provide all this using the latest technologies and development | |
principles such as HTML5, Node JS, CI, TDD | |
*[CI]: Continuous Integration | |
*[TDD]: Test Driven Development | |
# Column Three | |
- :title : Follow Us | |
:icon : twitter-sign | |
:description : | | |
Google Plus | |
# Column Four | |
- :title : Contact Us | |
:icon : phone-sign | |
:description : | | |
If you have a brief and want to discuss on how we would approach it. | |
[Please get in touch](/pages/contact). | |
<i class="icon-map-marker"></i> Wimbledon, London, UK | |
<i class="icon-map-marker"></i> Wimbledon, London, UK | |
<i class="icon-phone"></i> Phone: +44 (0)778 043 5329 | |
<i class="icon-envelope"></i> Email: [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment