locomotivecms_wagon 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/generators/{bootstrap3 → bootstrap}/Gemfile.tt +0 -0
- data/generators/{bootstrap3 → bootstrap}/app/content_types/.empty_directory +0 -0
- data/generators/bootstrap/app/views/pages/404.liquid +18 -0
- data/generators/bootstrap/app/views/pages/404.liquid.haml +14 -0
- data/generators/bootstrap/app/views/pages/index.liquid +31 -0
- data/generators/bootstrap/app/views/pages/index.liquid.haml +25 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid +31 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid.haml +30 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid +36 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid.haml +29 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid +5 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid.haml +3 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid +26 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid.haml +19 -0
- data/generators/{bootstrap3 → bootstrap}/config/deploy.yml +0 -0
- data/generators/bootstrap/config/site.yml.tt +1 -6
- data/generators/{bootstrap3 → bootstrap}/config/translations.yml +0 -0
- data/generators/{bootstrap3 → bootstrap}/data/.empty_directory +0 -0
- data/generators/{bootstrap3 → bootstrap}/icon.png +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/generators/{bootstrap3/public/samples → bootstrap/public/images}/favicon.png +0 -0
- data/generators/bootstrap/public/javascripts/application.js +2 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/affix.js +60 -35
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/alert.js +15 -9
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/button.js +33 -20
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/carousel.js +79 -47
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/collapse.js +84 -43
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/dropdown.js +64 -46
- data/generators/bootstrap/public/javascripts/bootstrap/modal.js +337 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/popover.js +12 -14
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/scrollspy.js +57 -38
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tab.js +54 -24
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tooltip.js +202 -87
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/transition.js +19 -8
- data/generators/bootstrap/public/javascripts/bootstrap.min.js +7 -0
- data/generators/bootstrap/public/javascripts/jquery.min.js +5 -0
- data/generators/bootstrap/public/stylesheets/application.css +7 -0
- data/generators/bootstrap/public/stylesheets/application.scss +7 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_alerts.scss +9 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_badges.scss +26 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_button-groups.scss +32 -14
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_buttons.scss +22 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_carousel.scss +43 -6
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_close.scss +1 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_code.scss +7 -1
- data/generators/bootstrap/public/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_dropdowns.scss +12 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_forms.scss +240 -65
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_glyphicons.scss +83 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_grid.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_input-groups.scss +7 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_jumbotron.scss +12 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_labels.scss +11 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_list-group.scss +32 -12
- data/generators/bootstrap/public/stylesheets/bootstrap/_media.scss +66 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_mixins.scss +40 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_modals.scss +18 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navbar.scss +75 -33
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navs.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_normalize.scss +29 -28
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pager.scss +2 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pagination.scss +4 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_panels.scss +40 -10
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_popovers.scss +6 -8
- data/generators/bootstrap/public/stylesheets/bootstrap/_print.scss +101 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_progress-bars.scss +13 -6
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_scaffolding.scss +31 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tables.scss +17 -16
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_theme.scss +57 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_thumbnails.scss +2 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tooltip.scss +13 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_type.scss +38 -24
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_utilities.scss +3 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_variables.scss +86 -47
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_wells.scss +0 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_buttons.scss +68 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.css +5 -0
- data/generators/{bootstrap3/public/stylesheets/bootstrap.css.scss → bootstrap/public/stylesheets/bootstrap.scss} +16 -2
- data/lib/locomotive/wagon/cli.rb +3 -3
- data/lib/locomotive/wagon/commands/authenticate_command.rb +2 -1
- data/lib/locomotive/wagon/commands/concerns/spinner_concern.rb +29 -0
- data/lib/locomotive/wagon/commands/pull_command.rb +18 -3
- data/lib/locomotive/wagon/commands/push_command.rb +28 -4
- data/lib/locomotive/wagon/commands/sync_command.rb +21 -6
- data/lib/locomotive/wagon/commands/sync_sub_commands/sync_pages_command.rb +27 -3
- data/lib/locomotive/wagon/generators/site/{bootstrap3.rb → bootstrap.rb} +12 -6
- data/lib/locomotive/wagon/generators/site.rb +1 -1
- data/lib/locomotive/wagon/tools/listen.rb +1 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +2 -2
- data/locomotivecms_wagon.gemspec +3 -2
- data/spec/unit/decorators/theme_asset_decorator_spec.rb +10 -0
- metadata +124 -90
- data/generators/bootstrap3/app/views/pages/404.liquid +0 -13
- data/generators/bootstrap3/app/views/pages/404.liquid.haml +0 -10
- data/generators/bootstrap3/app/views/pages/index.liquid +0 -738
- data/generators/bootstrap3/app/views/pages/index.liquid.haml +0 -1018
- data/generators/bootstrap3/app/views/snippets/footer.liquid +0 -3
- data/generators/bootstrap3/app/views/snippets/footer.liquid.haml +0 -2
- data/generators/bootstrap3/config/site.yml.tt +0 -28
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +0 -229
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap3/public/images/.empty_directory +0 -1
- data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +0 -243
- data/generators/bootstrap3/public/javascripts/bootstrap.min.js +0 -12
- data/generators/bootstrap3/public/samples/apple-touch-icon-114x114-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-144x144-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-72x72-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-precomposed.png +0 -0
- data/generators/bootstrap3/public/stylesheets/application.css +0 -1
- data/generators/bootstrap3/public/stylesheets/application.css.scss +0 -8
- data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +0 -29
- data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +0 -56
- data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +0 -947
- data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +0 -101
- data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +0 -74
- data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +0 -49
- data/generators/bootstrap3/public/stylesheets/bootstrap.css +0 -5784
- data/lib/locomotive/wagon/generators/site/bootstrap2.rb +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87be5c4adfe14fedf2ae3ae2f0f2c92983c7f346
|
4
|
+
data.tar.gz: 3a20548c6783b46c05a3f9c70e8824fd1832b7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb02da666a7d894ce3cd9c8e146a1029b32dd64e5e5c6d440a96cd099e9b82bc89a8540bc2889c9c2a4844b2899ba2418070af3058fc5ff821fa3026c5964e1f
|
7
|
+
data.tar.gz: 782f05417a23abdac9fbd050b515be6ee9ff6d646e2a0a798f7da0b2703f7372feaa05e41d833c80e39825fb6873363804c6b701d48cb71975534bcf3eab9c05
|
data/Gemfile
CHANGED
@@ -14,7 +14,7 @@ gem 'therubyracer'
|
|
14
14
|
|
15
15
|
# Local development
|
16
16
|
# gem 'locomotivecms_coal', path: '../in_progress/coal', require: false
|
17
|
-
# gem 'locomotivecms_steam', path: '../
|
17
|
+
# gem 'locomotivecms_steam', path: '../gems/steam', require: false
|
18
18
|
# gem 'locomotivecms_common', path: '../in_progress/common', require: false
|
19
19
|
|
20
20
|
group :development, :test do
|
File without changes
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
title: Page not found
|
3
|
+
published: true
|
4
|
+
---
|
5
|
+
{% extends 'layouts/default' %}
|
6
|
+
|
7
|
+
{% block content %}
|
8
|
+
|
9
|
+
<div class="container">
|
10
|
+
<div class="jumbotron">
|
11
|
+
{% editable_text jumbotron, rows: 5, priority: 1 %}
|
12
|
+
<h1 class="text-danger">Arrggggh, page not found</h1>
|
13
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
14
|
+
{% endeditable_text %}
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
{% endblock %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: Page not found
|
3
|
+
published: true
|
4
|
+
---
|
5
|
+
{% extends 'layouts/default' %}
|
6
|
+
|
7
|
+
{% block content %}
|
8
|
+
.container
|
9
|
+
.jumbotron
|
10
|
+
{% editable_text jumbotron, rows: 5, priority: 1 %}
|
11
|
+
%h1.text-danger Arrggggh, page not found
|
12
|
+
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
|
13
|
+
{% endeditable_text %}
|
14
|
+
{% endblock %}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
title: Home page
|
3
|
+
published: true
|
4
|
+
handle: home
|
5
|
+
---
|
6
|
+
{% extends 'layouts/simple' %}
|
7
|
+
|
8
|
+
{% block content/main %}
|
9
|
+
|
10
|
+
<div class="row">
|
11
|
+
<div class="col-lg-4">
|
12
|
+
{% editable_text first_column %}
|
13
|
+
<h2>Heading #1</h2>
|
14
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.</p>
|
15
|
+
{% endeditable_text %}
|
16
|
+
</div>
|
17
|
+
<div class="col-lg-4">
|
18
|
+
{% editable_text second_column %}
|
19
|
+
<h2>Heading #2</h2>
|
20
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
21
|
+
{% endeditable_text %}
|
22
|
+
</div>
|
23
|
+
<div class="col-lg-4">
|
24
|
+
{% editable_text third_column %}
|
25
|
+
<h2>Heading #3</h2>
|
26
|
+
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
|
27
|
+
{% endeditable_text %}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
{% endblock %}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
title: Home page
|
3
|
+
published: true
|
4
|
+
handle: home
|
5
|
+
---
|
6
|
+
{% extends 'layouts/simple' %}
|
7
|
+
|
8
|
+
{% block content/main %}
|
9
|
+
.row
|
10
|
+
.col-lg-4
|
11
|
+
{% editable_text first_column %}
|
12
|
+
%h2 Heading #1
|
13
|
+
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
14
|
+
{% endeditable_text %}
|
15
|
+
.col-lg-4
|
16
|
+
{% editable_text second_column %}
|
17
|
+
%h2 Heading #2
|
18
|
+
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
19
|
+
{% endeditable_text %}
|
20
|
+
.col-lg-4
|
21
|
+
{% editable_text third_column %}
|
22
|
+
%h2 Heading #3
|
23
|
+
%p Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.
|
24
|
+
{% endeditable_text %}
|
25
|
+
{% endblock %}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
title: Default layout
|
3
|
+
is_layout: false
|
4
|
+
---
|
5
|
+
<!DOCTYPE html>
|
6
|
+
<html lang="en">
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
11
|
+
|
12
|
+
<title>{{ site.name }}</title>
|
13
|
+
|
14
|
+
<link rel="shortcut icon" href="{{ 'favicon.png' | theme_image_url }}">
|
15
|
+
|
16
|
+
{{ 'bootstrap.css' | stylesheet_tag }}
|
17
|
+
{{ 'application.css' | stylesheet_tag }}
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
{% include 'nav' %}
|
21
|
+
|
22
|
+
{% block content %}
|
23
|
+
{% endblock %}
|
24
|
+
|
25
|
+
{% include 'footer' %}
|
26
|
+
|
27
|
+
{{ 'jquery.min.js' | javascript_tag }}
|
28
|
+
{{ 'bootstrap.min.js' | javascript_tag }}
|
29
|
+
{{ 'application.js' | javascript_tag }}
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
title: Default layout
|
3
|
+
is_layout: false
|
4
|
+
---
|
5
|
+
!!!
|
6
|
+
%html{lang: "en"}
|
7
|
+
%head
|
8
|
+
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}
|
9
|
+
%meta{charset: "utf-8"}
|
10
|
+
%meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}
|
11
|
+
%meta{content: "width=device-width, initial-scale=1", name: "viewport"}
|
12
|
+
|
13
|
+
%title {{ site.name }}
|
14
|
+
|
15
|
+
%link{href: "{{ 'favicon.png' | theme_image_url }}", rel: "shortcut icon"}
|
16
|
+
|
17
|
+
{{ 'bootstrap.css' | stylesheet_tag }}
|
18
|
+
{{ 'application.css' | stylesheet_tag }}
|
19
|
+
|
20
|
+
%body
|
21
|
+
{% include 'nav' %}
|
22
|
+
|
23
|
+
{% block content %}
|
24
|
+
{% endblock %}
|
25
|
+
|
26
|
+
{% include 'footer' %}
|
27
|
+
|
28
|
+
{{ 'jquery.min.js' | javascript_tag }}
|
29
|
+
{{ 'bootstrap.min.js' | javascript_tag }}
|
30
|
+
{{ 'application.js' | javascript_tag }}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
title: Simple
|
3
|
+
is_layout: true
|
4
|
+
---
|
5
|
+
{% extends 'layouts/default' %}
|
6
|
+
|
7
|
+
{% block content %}
|
8
|
+
|
9
|
+
{% block header, short_name: true, priority: 1 %}
|
10
|
+
<div class="container">
|
11
|
+
<div class="jumbotron">
|
12
|
+
{% editable_text jumbotron, rows: 5, priority: 1 %}
|
13
|
+
<h1>Wagon bootstrap template</h1>
|
14
|
+
<p>This is a simple site with editable sections like this one. No content types.</p>
|
15
|
+
{% endeditable_text %}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
{% endblock %}
|
19
|
+
|
20
|
+
<div class="container">
|
21
|
+
{% block main, short_name: true %}
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
24
|
+
{% editable_text body %}
|
25
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe nostrum ullam eveniet pariatur voluptates odit, fuga atque ea nobis sit soluta odio, adipisci quas excepturi maxime quae totam ducimus consectetur?
|
26
|
+
</p>
|
27
|
+
|
28
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius praesentium recusandae illo eaque architecto error, repellendus iusto reprehenderit, doloribus, minus sunt. Numquam at quae voluptatum in officia voluptas voluptatibus, minus!
|
29
|
+
</p>
|
30
|
+
{% endeditable_text %}
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
{% endblock %}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
{% endblock %}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
title: Simple
|
3
|
+
is_layout: true
|
4
|
+
---
|
5
|
+
{% extends 'layouts/default' %}
|
6
|
+
|
7
|
+
{% block content %}
|
8
|
+
|
9
|
+
{% block header, short_name: true, priority: 1 %}
|
10
|
+
.container
|
11
|
+
.jumbotron
|
12
|
+
{% editable_text jumbotron, rows: 5, priority: 1 %}
|
13
|
+
%h1 Wagon bootstrap template
|
14
|
+
%p This is a simple site with editable sections like this one. No content types.
|
15
|
+
{% endeditable_text %}
|
16
|
+
{% endblock %}
|
17
|
+
|
18
|
+
.container
|
19
|
+
{% block main, short_name: true %}
|
20
|
+
.row
|
21
|
+
.col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1
|
22
|
+
{% editable_text body %}
|
23
|
+
%p
|
24
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe nostrum ullam eveniet pariatur voluptates odit, fuga atque ea nobis sit soluta odio, adipisci quas excepturi maxime quae totam ducimus consectetur?
|
25
|
+
%p
|
26
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius praesentium recusandae illo eaque architecto error, repellendus iusto reprehenderit, doloribus, minus sunt. Numquam at quae voluptatum in officia voluptas voluptatibus, minus!
|
27
|
+
{% endeditable_text %}
|
28
|
+
{% endblock %}
|
29
|
+
{% endblock %}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<nav class="navbar navbar-default navbar-fixed-top">
|
2
|
+
<div class="container">
|
3
|
+
<div class="navbar-header">
|
4
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
5
|
+
<span class="sr-only">Toggle navigation</span>
|
6
|
+
<span class="icon-bar"></span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
<span class="icon-bar"></span>
|
9
|
+
</button>
|
10
|
+
<a class="navbar-brand" href="{% path_to home %}">{{ site.name }}</a>
|
11
|
+
</div>
|
12
|
+
<div id="navbar" class="navbar-collapse collapse">
|
13
|
+
<ul class="nav navbar-nav navbar-right">
|
14
|
+
<li class="{% if page.handle == 'home' %}active{% endif %}">
|
15
|
+
<a href="{% path_to home %}">Home</a>
|
16
|
+
</li>
|
17
|
+
{% for page_in_nav in site.pages %}
|
18
|
+
{% if page_in_nav.depth == 1 %}
|
19
|
+
<li class="{% if page.fullpath == page_in_nav.fullpath %}active{% endif %}">
|
20
|
+
{% link_to page_in_nav %}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</nav>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
%nav.navbar.navbar-default.navbar-fixed-top
|
2
|
+
.container
|
3
|
+
.navbar-header
|
4
|
+
%button.navbar-toggle.collapsed{"aria-controls" => "navbar", "aria-expanded" => "false", "data-target" => "#navbar", "data-toggle" => "collapse", type: "button"}
|
5
|
+
%span.sr-only Toggle navigation
|
6
|
+
%span.icon-bar
|
7
|
+
%span.icon-bar
|
8
|
+
%span.icon-bar
|
9
|
+
%a.navbar-brand{href: "{% path_to home %}"} {{ site.name }}
|
10
|
+
#navbar.navbar-collapse.collapse
|
11
|
+
%ul.nav.navbar-nav.navbar-right
|
12
|
+
%li{class: "{% if page.handle == 'home' %}active{% endif %}" }
|
13
|
+
%a{ href: "{% path_to home %}"} Home
|
14
|
+
{% for page_in_nav in site.pages %}
|
15
|
+
{% if page_in_nav.depth == 1 %}
|
16
|
+
%li{class: "{% if page.fullpath == page_in_nav.fullpath %}active{% endif %}" }
|
17
|
+
{% link_to page_in_nav %}
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
File without changes
|
@@ -3,11 +3,6 @@
|
|
3
3
|
# can be used in templates through the site.name global variable
|
4
4
|
name: "<%= config[:name] %>"
|
5
5
|
|
6
|
-
# The site's subdomain
|
7
|
-
# This option is for sites on multi-site engines
|
8
|
-
# The value determines where the site can be accessed under the engine's primary domain
|
9
|
-
subdomain: <%= config[:name].parameterize %>
|
10
|
-
|
11
6
|
# An array of domain aliases for the site
|
12
7
|
# This option is for sites on multi-site engines
|
13
8
|
# domains: [www.example.com, example.com]
|
@@ -30,4 +25,4 @@ locales: [en]
|
|
30
25
|
# They can be accessed in templates through the site.seo_title, site.meta_keywords, and site.meta_description variables
|
31
26
|
seo_title: <%= @name %>
|
32
27
|
meta_keywords: "some meta keywords"
|
33
|
-
meta_description: "some meta description"
|
28
|
+
meta_description: "some meta description"
|
File without changes
|
File without changes
|
File without changes
|