This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
forked from frontenders/valencia-middleman
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
2,176 additions
and
439 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
source 'https://rubygems.org' | ||
# frozen_string_literal: true | ||
|
||
gem 'middleman', '~> 4.4' | ||
# gem 'middleman-livereload', '~> 3.1.0', group: 'development' | ||
source "https://rubygems.org" | ||
|
||
gem "nanoc", "~> 4.12" | ||
gem "adsf", "~> 1.4" | ||
gem "haml", "~> 6.3" | ||
gem "sass", "~> 3.7" | ||
|
||
group :development do | ||
gem "webrick", "~> 1.8" | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,105 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activesupport (7.0.8) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
addressable (2.8.6) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
backports (3.24.1) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.12.2) | ||
adsf (1.5.0) | ||
rack (>= 1.0.0, < 4.0.0) | ||
rackup (~> 2.1) | ||
colored (1.2) | ||
concurrent-ruby (1.2.3) | ||
contracts (0.17) | ||
dotenv (2.8.1) | ||
erubis (2.7.0) | ||
execjs (2.9.1) | ||
fast_blank (1.0.1) | ||
fastimage (2.3.0) | ||
cri (2.15.11) | ||
ddmetrics (1.1.0) | ||
ddplugin (1.0.3) | ||
diff-lcs (1.5.1) | ||
ffi (1.16.3) | ||
haml (6.3.0) | ||
temple (>= 0.8.2) | ||
thor | ||
tilt | ||
hamster (3.0.0) | ||
concurrent-ruby (~> 1.0) | ||
hashie (3.6.0) | ||
i18n (1.6.0) | ||
concurrent-ruby (~> 1.0) | ||
kramdown (2.4.0) | ||
rexml | ||
listen (3.8.0) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
memoist (0.16.2) | ||
middleman (4.5.0) | ||
coffee-script (~> 2.2) | ||
haml (>= 4.0.5) | ||
kramdown (>= 2.3.0) | ||
middleman-cli (= 4.5.0) | ||
middleman-core (= 4.5.0) | ||
middleman-cli (4.5.0) | ||
thor (>= 0.17.0, < 2.0) | ||
middleman-core (4.5.0) | ||
activesupport (>= 6.1, < 7.1) | ||
addressable (~> 2.4) | ||
backports (~> 3.6) | ||
bundler (~> 2.0) | ||
contracts (~> 0.13) | ||
dotenv | ||
erubis | ||
execjs (~> 2.0) | ||
fast_blank | ||
fastimage (~> 2.0) | ||
hamster (~> 3.0) | ||
hashie (~> 3.4) | ||
i18n (~> 1.6.0) | ||
listen (~> 3.0) | ||
memoist (~> 0.14) | ||
padrino-helpers (~> 0.15.0) | ||
parallel | ||
rack (>= 1.4.5, < 3) | ||
sassc (~> 2.0) | ||
servolux | ||
tilt (~> 2.0.9) | ||
toml | ||
uglifier (~> 3.0) | ||
webrick | ||
minitest (5.21.2) | ||
padrino-helpers (0.15.3) | ||
i18n (>= 0.6.7, < 2) | ||
padrino-support (= 0.15.3) | ||
tilt (>= 1.4.1, < 3) | ||
padrino-support (0.15.3) | ||
immutable-ruby (0.1.0) | ||
concurrent-ruby (~> 1.1) | ||
sorted_set (~> 1.0) | ||
json_schema (0.21.0) | ||
memo_wise (1.8.0) | ||
nanoc (4.12.19) | ||
addressable (~> 2.5) | ||
colored (~> 1.2) | ||
nanoc-checking (~> 1.0, >= 1.0.2) | ||
nanoc-cli (= 4.12.19) | ||
nanoc-core (= 4.12.19) | ||
nanoc-deploying (~> 1.0) | ||
parallel (~> 1.12) | ||
tty-command (~> 0.8) | ||
tty-which (~> 0.4) | ||
nanoc-checking (1.0.2) | ||
nanoc-cli (~> 4.12, >= 4.12.4) | ||
nanoc-core (~> 4.12, >= 4.12.4) | ||
nanoc-cli (4.12.19) | ||
cri (~> 2.15) | ||
diff-lcs (~> 1.3) | ||
nanoc-core (= 4.12.19) | ||
zeitwerk (~> 2.1) | ||
nanoc-core (4.12.19) | ||
concurrent-ruby (~> 1.1) | ||
ddmetrics (~> 1.0) | ||
ddplugin (~> 1.0) | ||
immutable-ruby (~> 0.1) | ||
json_schema (~> 0.19) | ||
memo_wise (~> 1.5) | ||
psych (>= 4.0, < 6.0) | ||
slow_enumerator_tools (~> 1.0) | ||
tty-platform (~> 0.2) | ||
zeitwerk (~> 2.1) | ||
nanoc-deploying (1.0.2) | ||
nanoc-checking (~> 1.0) | ||
nanoc-cli (~> 4.11, >= 4.11.15) | ||
nanoc-core (~> 4.11, >= 4.11.15) | ||
parallel (1.24.0) | ||
parslet (2.0.0) | ||
pastel (0.8.0) | ||
tty-color (~> 0.5) | ||
psych (5.1.2) | ||
stringio | ||
public_suffix (5.0.4) | ||
rack (2.2.8) | ||
rack (3.0.9.1) | ||
rackup (2.1.0) | ||
rack (>= 3) | ||
webrick (~> 1.8) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
rexml (3.2.6) | ||
sassc (2.4.0) | ||
ffi (~> 1.9) | ||
servolux (0.13.0) | ||
rbtree (0.4.6) | ||
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) | ||
set (1.1.0) | ||
slow_enumerator_tools (1.1.0) | ||
sorted_set (1.0.3) | ||
rbtree | ||
set (~> 1.0) | ||
stringio (3.1.0) | ||
temple (0.10.3) | ||
thor (1.3.0) | ||
tilt (2.0.11) | ||
toml (0.3.0) | ||
parslet (>= 1.8.0, < 3.0.0) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
uglifier (3.2.0) | ||
execjs (>= 0.3.0, < 3) | ||
thor (1.3.1) | ||
tilt (2.3.0) | ||
tty-color (0.6.0) | ||
tty-command (0.10.1) | ||
pastel (~> 0.8) | ||
tty-platform (0.3.0) | ||
tty-which (0.5.0) | ||
webrick (1.8.1) | ||
zeitwerk (2.6.13) | ||
|
||
PLATFORMS | ||
ruby | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
middleman (~> 4.4) | ||
adsf (~> 1.4) | ||
haml (~> 6.3) | ||
nanoc (~> 4.12) | ||
sass (~> 3.7) | ||
webrick (~> 1.8) | ||
|
||
BUNDLED WITH | ||
2.3.24 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env ruby | ||
|
||
# compile '/**/*.html' do | ||
# layout '/default.*' | ||
# | ||
# if item.identifier =~ '**/index.*' | ||
# write item.identifier.to_s | ||
# else | ||
# write item.identifier.without_ext + '/index.html' | ||
# end | ||
# end | ||
|
||
# This is an example rule that matches Markdown (.md) files, and filters them | ||
# using the :kramdown filter. It is commented out by default, because kramdown | ||
# is not bundled with Nanoc or Ruby. | ||
# | ||
# compile '/**/*.md' do | ||
# filter :kramdown | ||
# layout '/default.*' | ||
# | ||
# if item.identifier =~ '**/index.*' | ||
# write item.identifier.without_ext + '.html' | ||
# else | ||
# write item.identifier.without_ext + '/index.html' | ||
# end | ||
# end | ||
|
||
compile '/**/*.haml' do | ||
filter :haml | ||
layout '/default.*' | ||
write item.identifier.without_ext + '.html' | ||
end | ||
|
||
compile '/**/stylesheets/*.scss' do | ||
next if item.identifier.to_s.split("/").last =~ /^_/ # pass partials nested in folders | ||
|
||
filter :sass, syntax: :scss | ||
write item.identifier.without_ext | ||
end | ||
|
||
passthrough '/**/*' | ||
|
||
layout '/**/*', :haml, format: :html5 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.