Clean out old nanoc

This commit is contained in:
Ariejan de Vroom 2015-03-26 12:27:13 +01:00
parent ce517eb932
commit bd343ab96e
586 changed files with 0 additions and 33003 deletions

5
.gitignore vendored
View File

@ -1,5 +0,0 @@
/.sass-cache
*.log
/output
/tmp
.DS_Store

42
Gemfile
View File

@ -1,42 +0,0 @@
source 'https://rubygems.org'
gem 'nanoc'
gem 'guard-nanoc'
gem 'haml'
gem 'rdiscount'
gem 'pygments.rb'
gem 'builder'
gem 'sass'
gem 'compass'
gem 'typogruby'
gem 'nanoc-cachebuster'
gem 'nanoc-javascript-concatenator'
gem 'coffee-script'
gem 'uglifier'
gem 'multi_json', '~> 1.3' # needed by uglifier
# needed for tasks
gem 'stringex'
gem 'rake'
# needed to run nanoc autocompile
gem 'rack'
gem 'mime-types'
gem 'i18n'
# needed to run nanoc view
gem 'adsf'
# needed to run nanoc deploy
gem 'systemu'
# needed to run validations
gem 'w3c_validators'
gem 'nokogiri'

View File

@ -1,123 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
adsf (1.2.0)
rack (>= 1.0.0)
builder (3.2.2)
celluloid (0.16.0)
timers (~> 4.0.0)
chunky_png (1.3.3)
coderay (1.1.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
colored (1.2)
compass (1.0.1)
chunky_png (~> 1.2)
compass-core (~> 1.0.1)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.1)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
cri (2.6.1)
colored (~> 1.2)
execjs (2.2.2)
ffi (1.9.6)
formatador (0.2.5)
guard (2.7.1)
formatador (>= 0.2.4)
listen (~> 2.7)
lumberjack (~> 1.0)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-nanoc (1.0.2)
guard (>= 1.8.0)
nanoc (>= 3.6.3)
haml (4.0.5)
tilt
hitimes (1.2.2)
i18n (0.6.11)
json (1.8.1)
listen (2.7.11)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.9)
method_source (0.8.2)
mime-types (2.4.3)
mini_portile (0.6.0)
multi_json (1.10.1)
nanoc (3.7.3)
cri (~> 2.3)
nanoc-cachebuster (0.3.1)
nanoc (>= 3.3.0)
nanoc-javascript-concatenator (0.0.2)
nanoc (>= 3.3.0)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
posix-spawn (0.3.9)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pygments.rb (0.6.0)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rack (1.5.2)
rake (10.3.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdiscount (2.1.7.1)
rubypants (0.2.0)
sass (3.4.7)
slop (3.6.0)
stringex (2.5.2)
systemu (2.6.4)
thor (0.19.1)
tilt (2.0.1)
timers (4.0.1)
hitimes
typogruby (1.0.17)
rubypants
uglifier (2.5.3)
execjs (>= 0.3.0)
json (>= 1.8.0)
w3c_validators (1.2)
json
nokogiri
yajl-ruby (1.1.0)
PLATFORMS
ruby
DEPENDENCIES
adsf
builder
coffee-script
compass
guard-nanoc
haml
i18n
mime-types
multi_json (~> 1.3)
nanoc
nanoc-cachebuster
nanoc-javascript-concatenator
nokogiri
pygments.rb
rack
rake
rdiscount
sass
stringex
systemu
typogruby
uglifier
w3c_validators

View File

@ -1,8 +0,0 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'nanoc' do
watch('nanoc.yaml') # Change this to config.yaml if you use the old config file name
watch('Rules')
watch(%r{^(content|layouts|lib)/.*$})
end

View File

@ -1,11 +0,0 @@
# Ariejan.net
[ ![Codeship Status for ariejan/ariejan.net](https://codeship.com/projects/26000280-52e0-0132-4176-6a64ab7ee5db/status)](https://codeship.com/projects/48777)
This repository contains all the files and data necessary to generate ariejan.net.
## Prerequisites
* `sudo easy_install Pygments`
* `bundle install`
* `nanoc compile`

View File

@ -1,32 +0,0 @@
require 'stringex'
desc "compile and launch"
task :launch do
sh "nanoc compile && nanoc deploy -t public"
end
desc "Create a new post"
task :new_post, :title do |t, args|
mkdir_p './content/posts'
args.with_defaults(:title => 'New Post')
title = args.title
filename = "./content/posts/#{Time.now.strftime('%Y-%m-%d')}-#{title.to_url}.md"
if File.exist?(filename)
abort('rake aborted!') if ask("#{filename} already exists. Want to overwrite?", ['y','n']) == 'n'
end
puts "Creating new post: #{filename}"
open(filename, 'w') do |post|
post.puts '---'
post.puts "title: \"#{title}\""
post.puts "created_at: #{Time.now}"
post.puts 'kind: article'
post.puts 'published: false'
post.puts 'tags:'
post.puts ' - tag1'
post.puts 'summary: |'
post.puts " Summary for #{title}"
post.puts "---\n\n"
end
end

192
Rules
View File

@ -1,192 +0,0 @@
#!/usr/bin/env ruby
SASS_LOAD_PATHS = ['content/css']
if ENV['NANOC_ENV'] == "production"
puts " > Running in PRODUCTION mode"
else
puts " > Running in DEVELOPMENT mode"
end
preprocess do
if ENV['NANOC_ENV'] == "production"
create_robots_txt
create_webmaster_tools_authentications
create_sitemap
end
end
compile %r{^/(google|robots|assets)} do
end
compile %r{/_.+/$} do
# don't filter partials
end
# Sitemap and htaccess do get filtered with erb, but get no layout.
compile %r{^/(sitemap|htaccess)/$} do
filter :erb
end
compile '/sitemap/', :rep => 'gzip' do
filter :erb
if ENV['NANOC_ENV'] == "production"
filter :shellcmd, :cmd => 'gzip'
end
end
# Use screen.scss as the single entry point for styles, ignore everything else in /assets/css
compile '/css/screen/' do
filter :sass, load_paths: SASS_LOAD_PATHS
end
compile '/css/*' do
end
route '/css/screen/' do
if ENV['NANOC_ENV'] == "production"
fp = fingerprint(item[:filename])
else
fp = ''
end
item.identifier.chop + fp + '.css'
end
compile '/js/*/' do
filter :coffeescript if @item[:extension] == 'coffee'
filter :concat_js
if ENV['NANOC_ENV'] == "production"
filter :uglify_js
end
end
route '/js/*/' do
if ENV['NANOC_ENV'] == "production"
fp = fingerprint(item[:filename])
else
fp = ''
end
item.identifier.chop + fp + '.js'
end
compile '/rss/' do
filter :erb
end
compile '/posts/*' do
filter :rdiscount
filter :pygmentizer
if ENV['NANOC_ENV'] == "production"
filter :typogruby
end
layout 'post'
layout 'default'
if ENV['NANOC_ENV'] == "production"
filter :cache_buster
end
end
compile %r{^/(404)/$} do
filter :haml, format: :html5, ugly: true
layout 'default'
if ENV['NANOC_ENV'] == "production"
filter :cache_buster
end
end
compile '/' do
filter :haml, format: :html5, ugly: true
layout 'default'
if ENV['NANOC_ENV'] == "production"
filter :cache_buster
end
end
compile '*' do
unless item.binary?
case item[:extension]
when 'md'
filter :erb
filter :kramdown
when 'haml'
filter :haml, format: :html5, ugly: true
else
filter :erb
end
if %w(html haml md).include?(item[:extension])
layout 'page'
layout 'default'
if ENV['NANOC_ENV'] == "production"
filter :cache_buster
end
end
end
end
route %r{/_.+/$} do
nil # don't route partials
end
route %r{^/(assets/.*|sitemap|robots|atom)/$} do
ext = item[:extension]
ext = 'js' if ext == 'coffee'
ext = 'css' if ext =~ /s[ca]ss/i
if ENV['NANOC_ENV'] == "production"
fp = cachebust?(item) ? fingerprint(item[:filename]) : ''
else
fp = ''
end
item.identifier.chop + fp + '.' + ext
end
route '/rss/' do
'/rss.xml'
end
route '/htaccess/' do
'/.htaccess'
end
route '/sitemap/', :rep => 'gzip' do
'/sitemap.xml.gz'
end
route '/sitemap/' do
'/sitemap.xml'
end
route %r{^/(404)/$} do
item.identifier.chop + '.html'
end
route '/posts/*' do
y, m, d, slug = /([0-9]+)\-([0-9]+)\-([0-9]+)\-([^\/]+)/.match(item.identifier).captures
"/#{y}/#{m}/#{d}/#{slug}/index.html"
end
route '*' do
if item.binary?
# Write item with identifier /foo/ to /foo.ext
item.identifier.chop + '.' + item[:extension]
else
# Write item with identifier /foo/ to /foo/index.html
item.identifier + 'index.html'
end
end
layout '*', :haml, :format => :html5, ugly: true

View File

@ -1,10 +0,0 @@
project_path = File.dirname(File.dirname(__FILE__))
http_path = '/'
output_style = :compressed
# output_style = :expanded
sass_dir = 'content/css'
css_dir = 'output/css'
sass_options = {
:syntax => :scss
}

View File

@ -1,12 +0,0 @@
---
title: Page not found
---
.content_wrap.nobg
%section#middle_content
.entry
.error
%h1 404
%h3 We're sorry, but the page you were looking for doesn't exist.
%a(href="/" class="button")
%span Visit ariejan.net
.cl

View File

@ -1,29 +0,0 @@
---
title: About Ariejan
---
:markdown
<img class="right round bordered" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=192" />
Hi! I'm Ariejan de Vroom, a thirty-three year old Ruby on Rails developer and Software
Craftsman. I live in [Breugel, the Netherlands][1] with my wife [Laura][2]
and work full-time at [Kabisa][3].
I am available for consulting, talks and training.
### Find out more about me
Check me out on [Twitter][4], [Github][6] or [LinkedIn][5] to get to know me a bit better.
### Get in touch
If you want to contact me, [tweet something][4] or [send me an email][8] you
can find my [GPG key here][9].
[1]: http://maps.google.nl/maps?f=q&source=s_q&hl=nl&geocode=&q=eindhoven&sll=52.469397,5.509644&sspn=4.692139,10.942383&ie=UTF8&hq=&hnear=Breugel,+Noord-Brabant&ll=51.440313,5.482178&spn=4.800964,10.942383&t=h&z=7
[2]: http://laura-oerlemans.net/
[3]: http://kabisa.nl/
[4]: http://twitter.com/ariejan
[5]: http://www.linkedin.com/in/ariejan
[6]: https://github.com/ariejan
[8]: mailto:ariejan@ariejan.net
[9]: http://ariejan.net/gpg/

View File

@ -1,17 +0,0 @@
---
title: Thanks for your Bitcoin donation
---
:markdown
**You, sir, are awesome!**
Let me tell you that I greatly appreciate you taking the time and effort
to donate me some Bitcoin for an article I have written. It's a huge
morale boost to keep writing down the result of my own technical
struggle and help others learn and discover just a bit easier.
Also, thank you for believing in Bitcoin and _actually using_ it for
something else than hoarding or buying a Lamborghini.
What am I going to do with the Bitcoin you just donated? I haven't decided
yet, but probably save up and buy a nice pint of Guinness.

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
$turquoise: #1ABC9C
$greensea: #16A085
$emerland: #2ECC71
$nephritis: #27AE60
$peterriver: #3498DB
$belizehole: #2980B9
$amethyst: #9B59B6
$wisteria: #8E44AD
$wetasphalt: #34495E
$midnightblue: #2C3E50
$sunflower: #F1C40F
$orange: #F39C12
$carrot: #E67E22
$pumpkin: #D35400
$alizarin: #E74C3C
$pomegranate: #C0392B
$clouds: #ECF0F1
$silver: #BDC3C7
$concrete: #95A5A6
$asbestos: #7F8C8D

View File

@ -1,113 +0,0 @@
pre, .plaincode{
background: none;
border: none;
border-radius: none;
font-size: 12px;
overflow: auto;
padding: 6px 6px;
margin: 0 0 10px 0;
word-break: normal;
word-wrap: normal;
white-space: pre;
display: block;
}
.plaincode {
background-color: #f9f9f9;
}
.code {
overflow: auto;
margin: 0 0 11px 0;
table {
width: 100%;
background: inherit;
td, th {
padding: 0;
}
.linenodiv {
background-color: #f4f4f4;
color: #AAA;
padding: 0 0.5em;
border-right: 1px solid #DDD;
text-align: right;
}
td.code {
width: 100%;
}
.highlight {
background-color: #f9f9f9;
}
}
}
.hll { background-color: #ffffcc }
.c { color: #999988; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { color: #000000; font-weight: bold } /* Keyword */
.o { color: #000000; font-weight: bold } /* Operator */
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
.c1 { color: #999988; font-style: italic } /* Comment.Single */
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.ge { color: #000000; font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #999999 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #aaaaaa } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
.m { color: #009999 } /* Literal.Number */
.s { color: #d01040 } /* Literal.String */
.na { color: #008080 } /* Name.Attribute */
.nb { color: #0086B3 } /* Name.Builtin */
.nc { color: #445588; font-weight: bold } /* Name.Class */
.no { color: #008080 } /* Name.Constant */
.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
.ni { color: #800080 } /* Name.Entity */
.ne { color: #990000; font-weight: bold } /* Name.Exception */
.nf { color: #990000; font-weight: bold } /* Name.Function */
.nl { color: #990000; font-weight: bold } /* Name.Label */
.nn { color: #555555 } /* Name.Namespace */
.nt { color: #000080 } /* Name.Tag */
.nv { color: #008080 } /* Name.Variable */
.ow { color: #000000; font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #009999 } /* Literal.Number.Float */
.mh { color: #009999 } /* Literal.Number.Hex */
.mi { color: #009999 } /* Literal.Number.Integer */
.mo { color: #009999 } /* Literal.Number.Oct */
.sb { color: #d01040 } /* Literal.String.Backtick */
.sc { color: #d01040 } /* Literal.String.Char */
.sd { color: #d01040 } /* Literal.String.Doc */
.s2 { color: #d01040 } /* Literal.String.Double */
.se { color: #d01040 } /* Literal.String.Escape */
.sh { color: #d01040 } /* Literal.String.Heredoc */
.si { color: #d01040 } /* Literal.String.Interpol */
.sx { color: #d01040 } /* Literal.String.Other */
.sr { color: #009926 } /* Literal.String.Regex */
.s1 { color: #d01040 } /* Literal.String.Single */
.ss { color: #990073 } /* Literal.String.Symbol */
.bp { color: #999999 } /* Name.Builtin.Pseudo */
.vc { color: #008080 } /* Name.Variable.Class */
.vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */

View File

@ -1,244 +0,0 @@
@import "flat-ui-colors"
@import "bootstrap"
@import "pygments"
@font-face
font-family: 'Titillium'
src: url('/fonts/titillium-regular-eot.eot')
src: url('/fonts/titillium-regular-eot.eot?#iefix') format('embedded-opentype'), url('/fonts/titillium-regular-woff.woff') format('woff'), url('/fonts/titillium-regular-ttf.ttf') format('truetype'), url('/fonts/titillium-regular-svg.svg#webfont') format('svg')
font-weight: 400
font-style: normal
@font-face
font-family: 'Titillium'
src: url('/fonts/titillium-regularitalic-eot.eot')
src: url('/fonts/titillium-regularitalic-eot.eot?#iefix') format('embedded-opentype'), url('/fonts/titillium-regularitalic-woff.woff') format('woff'), url('/fonts/titillium-regularitalic-ttf.ttf') format('truetype'), url('/fonts/titillium-regularitalic-svg.svg#webfont') format('svg')
font-weight: 400
font-style: italic
@font-face
font-family: 'Titillium'
src: url('/fonts/titillium-bold-eot.eot')
src: url('/fonts/titillium-bold-eot.eot?#iefix') format('embedded-opentype'), url('/fonts/titillium-bold-woff.woff') format('woff'), url('/fonts/titillium-bold-ttf.ttf') format('truetype'), url('/fonts/titillium-bold-svg.svg#webfont') format('svg')
font-weight: 700
font-style: normal
@font-face
font-family: 'Titillium'
src: url('/fonts/titillium-bolditalic-eot.eot')
src: url('/fonts/titillium-bolditalic-eot.eot?#iefix') format('embedded-opentype'), url('/fonts/titillium-bolditalic-woff.woff') format('woff'), url('/fonts/titillium-bolditalic-ttf.ttf') format('truetype'), url('/fonts/titillium-bolditalic-svg.svg#webfont') format('svg')
font-weight: 700
font-style: italic
$text-color: #191919
$code-color: #690000
$footer-color: #999999
$focus-color: $peterriver
body
color: $text-color
font-family: "Titillium", "Helvetica Neue", Helvetica, Arial, sans-serif
font-weight: 400
font-size: 1.7em
line-height: 1.7em
-webkit-font-smoothing: antialiased
a, a:hover, a:active, a:visited
color: $focus-color
text-decoration: none
h1, h2, h3, h4, h5, h6
font-family: "Titillium", "Helvetica Neue", Helvetica, Arial, sans-serif
font-weight: 400
-webkit-font-smoothing: antialiased
code
font-size: 0.8em
color: $code-color
background: none
padding: 0
border-radius: 0
pre
font-size: 0.8em !important
color: $code-color
#header
border-top: 3px solid $focus-color
a, a:hover
color: $text-color
h1, ol
font-size: 1em
display: inline-block
h1
padding-right: 0.8em
a
color: darken($text-color, 15%)
span
color: darken($text-color, 30%)
font-weight: 700
ol
padding-left: 0
li
display: inline-block
padding-right: 0.8em
.align-right
text-align: right
ol.social
font-size: 1.2em
margin-top: 16px
li
padding-right: 0
padding-left: 0.4em
a
font-size: 1.2em
color: $focus-color
#main
#welcome,
#note
font-weight: normal
background-color: #F7F7F7
border-radius: 4px
border: 1px solid #d9d9d9
padding: 10px 20px
#posts
.post
margin-bottom: 20px
h2.title
margin-bottom: 0
p
text-align: justify
p.meta
font-style: italic
color: lighten($text-color, 10%)
margin-bottom: 0
#older-posts
h2.title
margin-top: 0
margin-bottom: 10px
margin-left: 122px
font-size: 1.2em
span.meta
color: lighten($text-color, 10%)
margin-left: -122px
color: $text-color
font-size: 0.82em
padding-top: 0.1em
display: inline-block
float: left
.post,
.page
#note
margin-bottom: 1.6em
h1.title
font-size: 3em
margin-bottom: 0
padding-bottom: 0
a
text-decoration: none
&:hover
text-decoration: none
p
text-align: justify
margin-bottom: 1.6em
p.meta
margin-top: 0
padding-top: 0
font-style: italic
color: lighten($text-color, 30%)
img
border: 0
margin: 8px
max-width: 80%
&.right
float: right
&.left
float: left
&.center
display: block
margin: 8px auto
&.round
border-radius: 50%
&.bordered
border: 1px solid #696969
padding: 2px
#recent-posts
h4.title
clear: left
margin-top: 0
margin-bottom: 10px
margin-left: 92px
font-size: 1em
span.meta
margin-left: -92px
color: $text-color
font-size: 0.8em
padding-top: 0.2em
display: inline-block
float: left
#comments
margin-top: 20px
.page
h1.title
margin-top: 20px
#about
img
width: 96px
border-radius: 12px
margin-left: 6px
margin-bottom: 6px
float: right
#footer
margin-top: 20px
margin-bottom: 60px
.copyright
font-size: 0.8em
line-height: 1.4em
color: $footer-color
text-align: center
.share-buttons
list-style: none
font-size: 130%
text-align: right
margin-top: -2px
.share-buttons li
display: inline

Binary file not shown.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 174 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 157 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 186 KiB

View File

@ -1,53 +0,0 @@
---
title: GPG Public Key
---
:markdown
Yes, I use GPG.
More info about my public key: <a href="http://keys.gnupg.net/pks/lookup?search=0xF713697B&op=vindex">0xF713697B</a>
## Want to know more about GPG?
Check out the slides of my talk [Gnu Privacy Guard and You](https://speakerdeck.com/ariejan/gnu-privacy-guard-and-you-math-version)
## Proof of identity
As far as you can trust this website, this is a proof of my identity.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
My name is Ariejan de Vroom and I use GPG.
My public key information is:
ID: 0xF713697B
Fingerprint: 8450 D928 4373 164E 25CC 7E0D AD73 9154 F713 697B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
iQQcBAEBCgAGBQJTTjpmAAoJEK1zkVT3E2l7Wg4f/AxfJhiEYE1ZrgSPWCdoruio
jpGBiBhFIZXt4IJySrSU/BzfeErrHsUrZMea502ifIz5cLQrCR9qPuAvC+MwDxDh
hagcGtp68JEo8vT4oeov4glVCifP2pQSddshFOtw8UMJwfyhpOqQvjIOQGPObDMD
G6Dnbba6TAHtBrzAtD+lA6IQ41H4uTugp5cmf6zxVoP/UhGls+Ci7k2YINo2lst7
hKei/Hc+L0/6oauKMQc+CT66YHu+WYtf0N6WU/r2OosTbdoS7dsPg8sR94zKGivQ
siMYMF5WEgjlCwPjqRbnig46upjhxBRsdT+A64FOhRyxIlZjjVcC+N2BQc8S28hZ
aqvX7sh6ls3GmnTeAlGuaxSbdm7hEKwy4U8PXKS6wuZMmQ2c0jOHBvj0zHuNwoi6
RryxA1yxJh0g1T6HqEokP9nRdDmelgUDPYciplmWYdhKyUwtDZAUVsSoXc1jDao+
ZQ/MPx3liBy93sIXg+ckqCsD1SrddAOyTShA06KtgiXn93rbnJOZ26qqFL07yclA
GSx8TDkNnPLWyxoPT5LK05P54SAm6PSYqV1a3zws0jqlgJbmrOkcMX5mAeceQDhw
eulgHpo0wobqFbd/hjbBB60xdX7NQqDwBfV6UgYKEqv+dq0P1L2XkwJCksAmxvEs
2Irg6+TI/GF8b5p2Z59L+MBnKVWTsiMwKFnyaPSGjm3YttUr+TrYdyMK5mkrnpR3
h6RX07YQqDADL8rKS/0O+uzuRkdkz+e4VEqH72bQwJu7DfCrJBlX3O4epGqCgOzK
5+Cg5I39OXYzOF08iJj6SqRqH9MsDAFRmDTSq+mQ6W+fGW+qKUvcoCFYsC3sZkYb
MO+AnjvlfZhh+KHjb30mlLDl1MCheEdT9GcfZJjZcMPjOL3yMWf+zUAi1mmdJM85
F/+RYEmQfsapTwbmnL7kUwStNXw2XLTVFK/jUJVOtdx1hcRpbBvSY1YX20FBLDDU
l6BkgKHrn/4rJ2drS6K8zQL+xq0qQUpPaK+6JQfTDXFzASSyUZz8zrs9PrUU+TT3
hvVsMJpc+0LbnftwmoMsTD2V83b4DCzIBlEqtNNoFLKyDEphxxTLUkvLU0Ptr7ti
maZLnZFUTtMTmW7BEECzOJcZodsbMJ4vU1Ys5tnPD2MIhuEIuPAxUP/SPMOtvkmZ
sgtqO2IdKEGUmg27WOqGJSftXqVTMN4MPOnE286G2gtsGJr/dQxoV24JH0F12sUc
gNErAbXeK4wTc7OhxtbN1fbRKUMcfjAqLq2MbuLE6y00fFXIJ/CQaOvDz36ub+V6
9R20HC4ZmlcA44jwX607jX65hHjBovlJHBPMsFTKrHigzkDfAxKbxcYO22Yku5c=
=Zlrk
-----END PGP SIGNATURE-----

View File

@ -1,126 +0,0 @@
# ----------------------------------------------------------------------
# Start rewrite engine
# ----------------------------------------------------------------------
# Turning on the rewrite engine is necessary for the following rules and features.
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
# ----------------------------------------------------------------------
# Suppress or force the "www." at the beginning of URLs
# ----------------------------------------------------------------------
# The same content should never be available under two different URLs - especially not with and
# without "www." at the beginning, since this can cause SEO problems (duplicate content).
# That's why you should choose one of the alternatives and redirect the other one.
# By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier.
# no-www.org/faq.php?q=class_b
# If you rather want to use option 2, just comment out all option 1 lines
# and uncomment option 2.
# IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!
# ----------------------------------------------------------------------
# <IfModule mod_rewrite.c>
# RewriteCond %{HTTPS} !=on
# RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# </IfModule>
# ----------------------------------------------------------------------
# Add/remove trailing slash to (non-file) URLs
# ----------------------------------------------------------------------
# Google treats URLs with and without trailing slashes separately.
# Forcing a trailing slash is usually preferred, but all that's really
# important is that one correctly redirects to the other.
# By default option 1 (force trailing slash) is activated.
# http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html
# http://www.alistapart.com/articles/slashforward/
# http://httpd.apache.org/docs/2.0/misc/rewriteguide.html#url Trailing Slash Problem
# ----------------------------------------------------------------------
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/|#(.*))$
RewriteRule ^(.*)$ /$1/ [R=301,L]
</IfModule>
# ----------------------------------------------------------------------
# Option 2:
# Rewrite "domain.com/foo/ -> domain.com/foo"
#<IfModule mod_rewrite.c>
# RewriteRule ^(.*)/$ /$1 [R=301,L]
#</IfModule>
# ----------------------------------------------------------------------
# Prevent 404 errors for non-existing redirected folders
# ----------------------------------------------------------------------
# without -MultiViews, Apache will give a 404 for a rewrite if a folder of the same name does not exist
# e.g. /blog/hello : webmasterworld.com/apache/3808792.htm
Options -MultiViews
# ----------------------------------------------------------------------
# custom 404 page
# ----------------------------------------------------------------------
# You can add custom pages to handle 500 or 403 pretty easily, if you like.
ErrorDocument 404 /404.html
# ----------------------------------------------------------------------
# UTF-8 encoding
# ----------------------------------------------------------------------
# use utf-8 encoding for anything served text/plain or text/html
AddDefaultCharset utf-8
# force utf-8 for a number of file formats
AddCharset utf-8 .html .css .js .xml .json .rss
# ----------------------------------------------------------------------
# A little more security
# ----------------------------------------------------------------------
# Do we want to advertise the exact version number of Apache we're running?
# Probably not.
## This can only be enabled if used in httpd.conf - It will not work in .htaccess
# ServerTokens Prod
# "-Indexes" will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn't allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
Options -Indexes
# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
<IfModule mod_rewrite.c>
RewriteRule "(^|/)\." - [F]
</IfModule>
<% if @site.config[:redirects] %>
# Set up URL redirects<% @site.config[:redirects].each do |h| %>
Redirect 301 <%= h[:from] %> <%= h[:to] %>
<% end %><% end %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

Some files were not shown because too many files have changed in this diff Show More