middleman-presentation 0.15.5 → 0.15.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbe3e0ab8f49e4f2c64520d6f0726c9ff11737a7
|
4
|
+
data.tar.gz: 2804f20ff4cdd7ccb99e48a2e44c27a776288dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ba9d7811db8702126371dd5e0458c5ae752179e2aab57ab9270010a1cf3b34b8b7c98f373cdc99fc0913db8d04ead686a658d749cd63006c90ae71cded08b41
|
7
|
+
data.tar.gz: a2dd3ea9ce2c54c3cfacb17d27c348fb7d5259aaf428574b46153b004fb2b14d805001e008213f39a29c132f8e5a967cb21b4fc046dbec3243f4c7138bd5f2df
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -486,7 +486,10 @@ There are four different templates available:
|
|
486
486
|
|
487
487
|
Addiontionlly users can define one `custom`-slide-template. It's file extension
|
488
488
|
is used for the resulting slide. Given a template `custom.erb.tt` it becomes
|
489
|
-
`01.html.erb` when running `middleman slide 01`.
|
489
|
+
`01.html.erb` when running `middleman slide 01`.
|
490
|
+
|
491
|
+
You may need to add the
|
492
|
+
template parser-gem to your `Gemfile` and require it in your `config.rb`.
|
490
493
|
|
491
494
|
**Example**
|
492
495
|
|
@@ -510,8 +513,9 @@ system.
|
|
510
513
|
*templates/custom.haml.tt*:
|
511
514
|
|
512
515
|
```
|
513
|
-
%
|
514
|
-
%
|
516
|
+
%section
|
517
|
+
%h1 Site Title
|
518
|
+
%h2 <%%= title %>
|
515
519
|
```
|
516
520
|
|
517
521
|
After writing the file to the filesystem you can use it with the
|
@@ -522,6 +526,9 @@ After writing the file to the filesystem you can use it with the
|
|
522
526
|
bundle exec middleman slide 01
|
523
527
|
```
|
524
528
|
|
529
|
+
If you have more than one "custom"-template the first is one used. The order is
|
530
|
+
based on file name.
|
531
|
+
|
525
532
|
### Predefined slide templates
|
526
533
|
|
527
534
|
There are four predefined slide templates available:
|
@@ -252,7 +252,7 @@ module Middleman
|
|
252
252
|
end
|
253
253
|
|
254
254
|
def create_helper_scripts
|
255
|
-
%w(start bootstrap slide presentation build).each do |s|
|
255
|
+
%w(start bootstrap slide presentation build export).each do |s|
|
256
256
|
copy_file File.join('script', s), File.join(root_directory, 'script', s)
|
257
257
|
chmod File.join(root_directory, 'script', s), 0755
|
258
258
|
end
|