add initial layouts
This commit is contained in:
parent
7e56cc3eb0
commit
3ebf1be95c
5 changed files with 25 additions and 3 deletions
1
Gemfile
1
Gemfile
|
@ -11,6 +11,7 @@ gem 'nanoc'
|
|||
gem 'pdfkit'
|
||||
gem 'sassc'
|
||||
gem 'slim'
|
||||
gem 'sass'
|
||||
|
||||
group :nanoc do
|
||||
gem 'guard-nanoc'
|
||||
|
|
|
@ -101,6 +101,11 @@ GEM
|
|||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
ref (2.0.0)
|
||||
sass (3.7.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
sassc (2.2.1)
|
||||
ffi (~> 1.9)
|
||||
shellany (0.0.1)
|
||||
|
@ -133,6 +138,7 @@ DEPENDENCIES
|
|||
mini_racer
|
||||
nanoc
|
||||
pdfkit
|
||||
sass
|
||||
sassc
|
||||
slim
|
||||
|
||||
|
|
14
Rules
14
Rules
|
@ -7,6 +7,13 @@ compile '/verenigingen/*.md' do
|
|||
write ext: 'html'
|
||||
end
|
||||
|
||||
compile '/quiz/*.md' do
|
||||
filter :kramdown
|
||||
layout '/partials/question.*'
|
||||
layout '/default.*'
|
||||
write ext: 'html'
|
||||
end
|
||||
|
||||
compile '/homepage.md' do
|
||||
filter :kramdown
|
||||
layout '/homepage.*'
|
||||
|
@ -21,6 +28,13 @@ compile '/verenigingen.md' do
|
|||
write ext: 'html'
|
||||
end
|
||||
|
||||
compile '/quiz.md' do
|
||||
filter :kramdown
|
||||
layout '/quiz.*'
|
||||
layout '/default.*'
|
||||
write ext: 'html'
|
||||
end
|
||||
|
||||
compile '/*.md' do
|
||||
filter :kramdown
|
||||
layout '/default.*'
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<h1><%item[:vraag]%></h1>
|
||||
<h1><%= item[:vraag] %></h1>
|
||||
<h3> Hallo </h3>
|
|
@ -5,5 +5,5 @@
|
|||
<%= render '/partials/question.*', item: x %>
|
||||
</div>
|
||||
<% end %>
|
||||
<ul>
|
||||
</ul>
|
||||
<%= yield %>
|
Loading…
Reference in a new issue