Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bootstrap initial generation to use Bootstrap 3 #431

Merged
merged 1 commit into from
Apr 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 22 additions & 20 deletions lib/awestruct/frameworks/bootstrap/base_index.html.haml
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
---
layout: base
---
.hero-unit
.jumbotron
%h1 You're awestruct!
%p This site is all setup to use Bootstrap 2 with Awestruct.
%p This site is all setup to use Bootstrap 3 with Awestruct.
%p
%a.btn.btn-primary.btn-large{ :href=>'http://awestruct.org' }
%a.btn.btn-primary.btn-lg{ :href=>'http://awestruct.org', :role=>"button" }
%i.icon-info-sign.icon-white
Learn more »
.row
.span4
%h2 About
%p Awestruct is a framework for creating static HTML sites. It's inspired by the awesome Jekyll utility in the same genre.
%p Additionally, Awestruct integrates technologies such as Compass, Markdown and Haml.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »
.span4
%h2 Goal
%p The goal of Awestruct is to make it trivially easy to bake out non-trivial static websites. In addition to providing template-driven site creation (using Haml), Awestruct provides facilities for easily priming the site creation with additional non-page data.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »
.span4
%h2 Concept
%p The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »

.container-fluid
.row
.col-md-4
%h2 About
%p Awestruct is a framework for creating static HTML sites. It's inspired by the awesome Jekyll utility in the same genre.
%p Additionally, Awestruct integrates technologies such as Compass, Markdown and Haml.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »
.col-md-4
%h2 Goal
%p The goal of Awestruct is to make it trivially easy to bake out non-trivial static websites. In addition to providing template-driven site creation (using Haml), Awestruct provides facilities for easily priming the site creation with additional non-page data.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »
.col-md-4
%h2 Concept
%p The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.
%p
%a.btn{ :href=>'http://awestruct.org' } View details »
16 changes: 9 additions & 7 deletions lib/awestruct/frameworks/bootstrap/base_layout.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
/[if lt IE 9]
%script{ :type=>'text/javascript', :src=>'//html5shim.googlecode.com/svn/trunk/html5.js' }
%body
.navbar.navbar-fixed-top
.navbar-inner
.container
%a.brand{ :href=>"#{site.base_url}" } #{site.name}
%ul.nav
%li
%a{ :href=>"#{site.base_url}" } Home
%nav.navbar.navbar-default.navbar-fixed-top{:role=>'navigation'}
.container-fluid
.navbar-header
%a.navbar-brand{ :href=>"#{site.base_url}" } #{site.name}

%ul.nav.navbar-nav.navbar-right
%li
%a{ :href=>"#{site.base_url}" } Home

.container
~ content
%hr
Expand Down