Skip to content

Commit

Permalink
major overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalex committed Nov 22, 2013
1 parent 712e821 commit 5964022
Show file tree
Hide file tree
Showing 356 changed files with 21,644 additions and 12,018 deletions.
15 changes: 15 additions & 0 deletions Rules
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ preprocess do
end


compile '/assets/styles/*/_*' do
end

compile '/assets/styles/_*' do
end

# The base javascript and stylesheet files
compile %r{/assets/(lib|styles|js)/} do
# Use erb to enable timestamps and author information and such.
Expand Down Expand Up @@ -80,6 +86,13 @@ end
compile '/partials/*/' do
end

route '/assets/styles/_*' do
nil
end
route '/assets/styles/*/_*' do
nil
end

compile '*' do
if item.binary?
# don’t filter binary items
Expand All @@ -105,6 +118,8 @@ compile '*' do
end


passthrough '/assets/icons/.*'

route %r{^/(assets/.*|atom|sitemap|robots|atom)/$} do
ext = item[:extension]
ext ||= ""
Expand Down
9 changes: 6 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ data_sources:
# will have the identifier “/about/” when turned off, but when turned on
# it will become “/about.html/” instead.
allow_periods_in_identifiers: true
-
type: static
items_root: /

# Configuration for the “watch” command, which watches a site for changes and
# recompiles if necessary.
Expand Down Expand Up @@ -100,11 +103,11 @@ linkedin:
profile: "alexhornung"

menu:
- text: "Home"
url: "/"

- text: "About"
url: "/about"

- text: "DragonFly"
url: "/dragonfly"

- text: "code"
url: "/code"
Loading

0 comments on commit 5964022

Please sign in to comment.