Regenerated site; updated rules for Nanoc 3.1.
jump to
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: april-2006 :title: "Archive: April 2006" -:filters_pre: -- erb ----- <p>14 items were written in <em>April 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: april-2008 :title: "Archive: April 2008" -:filters_pre: -- erb ----- <p>2 items were written in <em>April 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: april-2009 :title: "Archive: April 2009" -:filters_pre: -- erb ----- <p>3 items were written in <em>April 2009</em>:</p>
@@ -0,0 +1,15 @@
+----- +:filters_pre: +- erb +:type: page +:permalink: april-2010 +:title: "Archive: April 2010" +----- + +<p>1 item was written in <em>April 2010</em>:</p> +<ul> + <% articles_by_month.select{|i| i[0] == "April 2010"}[0][1].each do |a|%> + <%= render 'dated_article', :article => a %> + <% end %> +</ul> +
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: august-2006 :title: "Archive: August 2006" -:filters_pre: -- erb ----- <p>3 items were written in <em>August 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: august-2007 :title: "Archive: August 2007" -:filters_pre: -- erb ----- <p>1 item was written in <em>August 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: august-2008 :title: "Archive: August 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>August 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: december-2005 :title: "Archive: December 2005" -:filters_pre: -- erb ----- <p>9 items were written in <em>December 2005</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: december-2007 :title: "Archive: December 2007" -:filters_pre: -- erb ----- <p>5 items were written in <em>December 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: december-2008 :title: "Archive: December 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>December 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: february-2006 :title: "Archive: February 2006" -:filters_pre: -- erb ----- <p>2 items were written in <em>February 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: february-2009 :title: "Archive: February 2009" -:filters_pre: -- erb ----- <p>1 item was written in <em>February 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: january-2006 :title: "Archive: January 2006" -:filters_pre: -- erb ----- <p>2 items were written in <em>January 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: january-2007 :title: "Archive: January 2007" -:filters_pre: -- erb ----- <p>1 item was written in <em>January 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: january-2008 :title: "Archive: January 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>January 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: january-2009 :title: "Archive: January 2009" -:filters_pre: -- erb ----- <p>2 items were written in <em>January 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: january-2010 :title: "Archive: January 2010" -:filters_pre: -- erb ----- <p>1 item was written in <em>January 2010</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: july-2006 :title: "Archive: July 2006" -:filters_pre: -- erb ----- <p>4 items were written in <em>July 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: july-2007 :title: "Archive: July 2007" -:filters_pre: -- erb ----- <p>5 items were written in <em>July 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: july-2008 :title: "Archive: July 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>July 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: july-2009 :title: "Archive: July 2009" -:filters_pre: -- erb ----- <p>1 item was written in <em>July 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: june-2005 :title: "Archive: June 2005" -:filters_pre: -- erb ----- <p>1 item was written in <em>June 2005</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: june-2006 :title: "Archive: June 2006" -:filters_pre: -- erb ----- <p>2 items were written in <em>June 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: june-2007 :title: "Archive: June 2007" -:filters_pre: -- erb ----- <p>3 items were written in <em>June 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: june-2008 :title: "Archive: June 2008" -:filters_pre: -- erb ----- <p>4 items were written in <em>June 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: june-2009 :title: "Archive: June 2009" -:filters_pre: -- erb ----- <p>2 items were written in <em>June 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: march-2006 :title: "Archive: March 2006" -:filters_pre: -- erb ----- <p>1 item was written in <em>March 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: march-2007 :title: "Archive: March 2007" -:filters_pre: -- erb ----- <p>2 items were written in <em>March 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: march-2008 :title: "Archive: March 2008" -:filters_pre: -- erb ----- <p>2 items were written in <em>March 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: march-2009 :title: "Archive: March 2009" -:filters_pre: -- erb ----- <p>4 items were written in <em>March 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: may-2006 :title: "Archive: May 2006" -:filters_pre: -- erb ----- <p>12 items were written in <em>May 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: may-2008 :title: "Archive: May 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>May 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: may-2009 :title: "Archive: May 2009" -:filters_pre: -- erb ----- <p>1 item was written in <em>May 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: november-2005 :title: "Archive: November 2005" -:filters_pre: -- erb ----- <p>4 items were written in <em>November 2005</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: november-2006 :title: "Archive: November 2006" -:filters_pre: -- erb ----- <p>1 item was written in <em>November 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: november-2007 :title: "Archive: November 2007" -:filters_pre: -- erb ----- <p>3 items were written in <em>November 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: november-2008 :title: "Archive: November 2008" -:filters_pre: -- erb ----- <p>3 items were written in <em>November 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: november-2009 :title: "Archive: November 2009" -:filters_pre: -- erb ----- <p>3 items were written in <em>November 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: october-2007 :title: "Archive: October 2007" -:filters_pre: -- erb ----- <p>3 items were written in <em>October 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: october-2008 :title: "Archive: October 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>October 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: october-2009 :title: "Archive: October 2009" -:filters_pre: -- erb ----- <p>2 items were written in <em>October 2009</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: september-2006 :title: "Archive: September 2006" -:filters_pre: -- erb ----- <p>1 item was written in <em>September 2006</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: september-2007 :title: "Archive: September 2007" -:filters_pre: -- erb ----- <p>6 items were written in <em>September 2007</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: september-2008 :title: "Archive: September 2008" -:filters_pre: -- erb ----- <p>1 item was written in <em>September 2008</em>:</p>
@@ -1,9 +1,9 @@
----- +:filters_pre: +- erb :type: page :permalink: september-2009 :title: "Archive: September 2009" -:filters_pre: -- erb ----- <p>1 item was written in <em>September 2009</em>:</p>
@@ -0,0 +1,385 @@
+" Vim color file +" Name: herald.vim +" Author: Fabio Cevasco <h3rald@h3rald.com> +" Version: 0.2.0 +" Notes: Supports 8, 16, 256 and 16,777,216 (RGB) color modes + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "herald" + +set background=dark + +" Set some syntax-related variables +let ruby_operators = 1 + +if has("gui_running") + + " -> Text; Miscellaneous + hi Normal guibg=#1F1F1F guifg=#D0D0D0 gui=none + hi SpecialKey guibg=#1F1F1F guifg=#E783E9 gui=none + hi VertSplit guibg=#1F1F1F guifg=#FFEE68 gui=none + hi SignColumn guibg=#1F1F1F guifg=#BF81FA gui=none + hi NonText guibg=#1F1F1F guifg=#FC6984 gui=none + hi Directory guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Title guibg=#1F1F1F guifg=#6DF584 gui=bold + + " -> Cursor + hi Cursor guibg=#FFEE68 guifg=#1F1F1F gui=none + hi CursorIM guibg=#FFEE68 guifg=#1F1F1F gui=none + hi CursorColumn guibg=#000000 gui=none + hi CursorLine guibg=#000000 gui=none + + " -> Folding + hi FoldColumn guibg=#001336 guifg=#003DAD gui=none + hi Folded guibg=#001336 guifg=#003DAD gui=none + + " -> Line info + hi LineNr guibg=#000000 guifg=#696567 gui=none + hi StatusLine guibg=#000000 guifg=#696567 gui=none + hi StatusLineNC guibg=#25365a guifg=#696567 gui=none + + " -> Messages + hi ErrorMsg guibg=#A32024 guifg=#D0D0D0 gui=none + hi Question guibg=#1F1F1F guifg=#FFA500 gui=none + hi WarningMsg guibg=#FFA500 guifg=#000000 gui=none + hi MoreMsg guibg=#1F1F1F guifg=#FFA500 gui=none + hi ModeMsg guibg=#1F1F1F guifg=#FFA500 gui=none + + " -> Search + hi Search guibg=#696567 guifg=#FFEE68 gui=none + hi IncSearch guibg=#696567 guifg=#FFEE68 gui=none + + " -> Diff + hi DiffAdd guibg=#006124 guifg=#ED9000 gui=none + hi DiffChange guibg=#0B294A guifg=#A36000 gui=none + hi DiffDelete guibg=#081F38 guifg=#ED9000 gui=none + hi DiffText guibg=#12457D guifg=#ED9000 gui=underline + + " -> Menu + hi Pmenu guibg=#140100 guifg=#660300 gui=none + hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none + hi PmenuSbar guibg=#430300 gui=none + hi PmenuThumb guibg=#720300 gui=none + hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none + + " -> Tabs + hi TabLine guibg=#141414 guifg=#1F1F1F gui=none + hi TabLineFill guibg=#000000 gui=none + hi TabLineSel guibg=#1F1F1F guifg=#D0D0D0 gui=bold + " + " -> Visual Mode + hi Visual guibg=#000000 guifg=#FFB539 gui=none + hi VisualNOS guibg=#000000 guifg=#696567 gui=none + + " -> Code + hi Comment guibg=#1F1F1F guifg=#696567 gui=none + hi Constant guibg=#1F1F1F guifg=#6DF584 gui=none + hi String guibg=#1F1F1F guifg=#FFB539 gui=none + hi Error guibg=#1F1F1F guifg=#FC4234 gui=none + hi Identifier guibg=#1F1F1F guifg=#70BDF1 gui=none + hi Function guibg=#1F1F1F guifg=#90CBF1 gui=none + hi Ignore guibg=#1F1F1F guifg=#1F1F1F gui=none + hi MatchParen guibg=#FFA500 guifg=#1F1F1F gui=none + hi PreProc guibg=#1F1F1F guifg=#BF81FA gui=none + hi Special guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Todo guibg=#1F1F1F guifg=#FC4234 gui=bold + hi Underlined guibg=#1F1F1F guifg=#FC4234 gui=underline + hi Statement guibg=#1F1F1F guifg=#E783E9 gui=none + hi Operator guibg=#1F1F1F guifg=#FC6984 gui=none + hi Delimiter guibg=#1F1F1F guifg=#FC6984 gui=none + hi Type guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Exception guibg=#1F1F1F guifg=#FC4234 gui=none + + " -> HTML-specific + hi htmlBold guibg=#1F1F1F guifg=#D0D0D0 gui=bold + hi htmlBoldItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,italic + hi htmlBoldUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline + hi htmlBoldUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline,italic + hi htmlItalic guibg=#1F1F1F guifg=#D0D0D0 gui=italic + hi htmlUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=underline + hi htmlUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=underline,italic + +elseif &t_Co == 256 + + " -> Text; Miscellaneous + hi Normal ctermbg=234 ctermfg=252 cterm=none + hi SpecialKey ctermbg=234 ctermfg=176 cterm=none + hi VertSplit ctermbg=234 ctermfg=227 cterm=none + hi SignColumn ctermbg=234 ctermfg=141 cterm=none + hi NonText ctermbg=234 ctermfg=204 cterm=none + hi Directory ctermbg=234 ctermfg=227 cterm=none + hi Title ctermbg=234 ctermfg=84 cterm=bold + + " -> Cursor + hi Cursor ctermbg=227 ctermfg=234 cterm=none + hi CursorIM ctermbg=227 ctermfg=234 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=234 ctermfg=25 cterm=none + hi Folded ctermbg=234 ctermfg=25 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=241 cterm=none + hi StatusLine ctermbg=0 ctermfg=241 cterm=none + hi StatusLineNC ctermbg=237 ctermfg=241 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=124 ctermfg=252 cterm=none + hi Question ctermbg=234 ctermfg=214 cterm=none + hi WarningMsg ctermbg=214 ctermfg=0 cterm=none + hi MoreMsg ctermbg=234 ctermfg=214 cterm=none + hi ModeMsg ctermbg=234 ctermfg=214 cterm=none + + " -> Search + hi Search ctermbg=241 ctermfg=227 cterm=none + hi IncSearch ctermbg=241 ctermfg=227 cterm=none + + " -> Diff + hi DiffAdd ctermbg=22 ctermfg=208 cterm=none + hi DiffChange ctermbg=235 ctermfg=130 cterm=none + hi DiffDelete ctermbg=234 ctermfg=208 cterm=none + hi DiffText ctermbg=24 ctermfg=208 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=52 cterm=none + hi PmenuSel ctermbg=208 ctermfg=52 cterm=none + hi PmenuSbar ctermbg=52 cterm=none + hi PmenuThumb ctermbg=52 cterm=none + hi PmenuSel ctermbg=208 ctermfg=52 cterm=none + + " -> Tabs + hi TabLine ctermbg=233 ctermfg=234 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=234 ctermfg=252 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=215 cterm=none + hi VisualNOS ctermbg=0 ctermfg=241 cterm=none + + " -> Code + hi Comment ctermbg=234 ctermfg=241 cterm=none + hi Constant ctermbg=234 ctermfg=84 cterm=none + hi String ctermbg=234 ctermfg=215 cterm=none + hi Error ctermbg=234 ctermfg=203 cterm=none + hi Identifier ctermbg=234 ctermfg=75 cterm=none + hi Function ctermbg=234 ctermfg=117 cterm=none + hi Ignore ctermbg=234 ctermfg=234 cterm=none + hi MatchParen ctermbg=214 ctermfg=234 cterm=none + hi PreProc ctermbg=234 ctermfg=141 cterm=none + hi Special ctermbg=234 ctermfg=227 cterm=none + hi Todo ctermbg=234 ctermfg=203 cterm=bold + hi Underlined ctermbg=234 ctermfg=203 cterm=underline + hi Statement ctermbg=234 ctermfg=176 cterm=none + hi Operator ctermbg=234 ctermfg=204 cterm=none + hi Delimiter ctermbg=234 ctermfg=204 cterm=none + hi Type ctermbg=234 ctermfg=227 cterm=none + hi Exception ctermbg=234 ctermfg=203 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=234 ctermfg=252 cterm=bold + hi htmlBoldItalic ctermbg=234 ctermfg=252 cterm=bold,italic + hi htmlBoldUnderline ctermbg=234 ctermfg=252 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=234 ctermfg=252 cterm=bold,underline,italic + hi htmlItalic ctermbg=234 ctermfg=252 cterm=italic + hi htmlUnderline ctermbg=234 ctermfg=252 cterm=underline + hi htmlUnderlineItalic ctermbg=234 ctermfg=252 cterm=underline,italic + +elseif &t_Co == 16 + + " -> Text; Miscellaneous + hi Normal ctermbg=8 ctermfg=15 cterm=none + hi SpecialKey ctermbg=8 ctermfg=5 cterm=none + hi VertSplit ctermbg=8 ctermfg=14 cterm=none + hi SignColumn ctermbg=8 ctermfg=5 cterm=none + hi NonText ctermbg=8 ctermfg=4 cterm=none + hi Directory ctermbg=8 ctermfg=14 cterm=none + hi Title ctermbg=8 ctermfg=10 cterm=bold + + " -> Cursor + hi Cursor ctermbg=14 ctermfg=8 cterm=none + hi CursorIM ctermbg=14 ctermfg=8 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=0 ctermfg=1 cterm=none + hi Folded ctermbg=0 ctermfg=1 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=7 cterm=none + hi StatusLine ctermbg=0 ctermfg=7 cterm=none + hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none + hi Question ctermbg=8 ctermfg=14 cterm=none + hi WarningMsg ctermbg=14 ctermfg=0 cterm=none + hi MoreMsg ctermbg=8 ctermfg=14 cterm=none + hi ModeMsg ctermbg=8 ctermfg=14 cterm=none + + " -> Search + hi Search ctermbg=7 ctermfg=14 cterm=none + hi IncSearch ctermbg=7 ctermfg=14 cterm=none + + " -> Diff + hi DiffAdd ctermbg=0 ctermfg=10 cterm=none + hi DiffChange ctermbg=0 ctermfg=14 cterm=none + hi DiffDelete ctermbg=0 ctermfg=12 cterm=none + hi DiffText ctermbg=1 ctermfg=14 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=4 cterm=none + hi PmenuSel ctermbg=14 ctermfg=4 cterm=none + hi PmenuSbar ctermbg=0 cterm=none + hi PmenuThumb ctermbg=4 cterm=none + hi PmenuSel ctermbg=14 ctermfg=4 cterm=none + + " -> Tabs + hi TabLine ctermbg=7 ctermfg=8 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=14 cterm=none + hi VisualNOS ctermbg=0 ctermfg=7 cterm=none + + " -> Code + hi Comment ctermbg=8 ctermfg=7 cterm=none + hi Constant ctermbg=8 ctermfg=10 cterm=none + hi String ctermbg=8 ctermfg=6 cterm=none + hi Error ctermbg=8 ctermfg=4 cterm=none + hi Identifier ctermbg=8 ctermfg=11 cterm=none + hi Function ctermbg=8 ctermfg=11 cterm=none + hi Ignore ctermbg=8 ctermfg=8 cterm=none + hi MatchParen ctermbg=14 ctermfg=8 cterm=none + hi PreProc ctermbg=8 ctermfg=5 cterm=none + hi Special ctermbg=8 ctermfg=14 cterm=none + hi Todo ctermbg=8 ctermfg=12 cterm=bold + hi Underlined ctermbg=8 ctermfg=12 cterm=underline + hi Statement ctermbg=8 ctermfg=13 cterm=none + hi Operator ctermbg=8 ctermfg=4 cterm=none + hi Delimiter ctermbg=8 ctermfg=4 cterm=none + hi Type ctermbg=8 ctermfg=14 cterm=none + hi Exception ctermbg=8 ctermfg=12 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=8 ctermfg=7 cterm=bold + hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic + hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic + hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic + hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline + hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic + + +elseif &t_Co == 8 + + " -> Text; Miscellaneous + hi Normal ctermbg=8 ctermfg=7 cterm=none + hi SpecialKey ctermbg=8 ctermfg=5 cterm=none + hi VertSplit ctermbg=8 ctermfg=6 cterm=none + hi SignColumn ctermbg=8 ctermfg=5 cterm=none + hi NonText ctermbg=8 ctermfg=4 cterm=none + hi Directory ctermbg=8 ctermfg=6 cterm=none + hi Title ctermbg=8 ctermfg=2 cterm=bold + + " -> Cursor + hi Cursor ctermbg=6 ctermfg=8 cterm=none + hi CursorIM ctermbg=6 ctermfg=8 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=0 ctermfg=1 cterm=none + hi Folded ctermbg=0 ctermfg=1 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=7 cterm=none + hi StatusLine ctermbg=0 ctermfg=7 cterm=none + hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none + hi Question ctermbg=8 ctermfg=6 cterm=none + hi WarningMsg ctermbg=6 ctermfg=0 cterm=none + hi MoreMsg ctermbg=8 ctermfg=6 cterm=none + hi ModeMsg ctermbg=8 ctermfg=6 cterm=none + + " -> Search + hi Search ctermbg=7 ctermfg=6 cterm=none + hi IncSearch ctermbg=7 ctermfg=6 cterm=none + + " -> Diff + hi DiffAdd ctermbg=0 ctermfg=2 cterm=none + hi DiffChange ctermbg=0 ctermfg=6 cterm=none + hi DiffDelete ctermbg=0 ctermfg=4 cterm=none + hi DiffText ctermbg=1 ctermfg=6 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=4 cterm=none + hi PmenuSel ctermbg=6 ctermfg=4 cterm=none + hi PmenuSbar ctermbg=0 cterm=none + hi PmenuThumb ctermbg=4 cterm=none + hi PmenuSel ctermbg=6 ctermfg=4 cterm=none + + " -> Tabs + hi TabLine ctermbg=7 ctermfg=8 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=6 cterm=none + hi VisualNOS ctermbg=0 ctermfg=7 cterm=none + + " -> Code + hi Comment ctermbg=8 ctermfg=7 cterm=none + hi Constant ctermbg=8 ctermfg=2 cterm=none + hi String ctermbg=8 ctermfg=6 cterm=none + hi Error ctermbg=8 ctermfg=4 cterm=none + hi Identifier ctermbg=8 ctermfg=3 cterm=none + hi Function ctermbg=8 ctermfg=3 cterm=none + hi Ignore ctermbg=8 ctermfg=8 cterm=none + hi MatchParen ctermbg=6 ctermfg=8 cterm=none + hi PreProc ctermbg=8 ctermfg=5 cterm=none + hi Special ctermbg=8 ctermfg=6 cterm=none + hi Todo ctermbg=8 ctermfg=4 cterm=bold + hi Underlined ctermbg=8 ctermfg=4 cterm=underline + hi Statement ctermbg=8 ctermfg=5 cterm=none + hi Operator ctermbg=8 ctermfg=4 cterm=none + hi Delimiter ctermbg=8 ctermfg=4 cterm=none + hi Type ctermbg=8 ctermfg=6 cterm=none + hi Exception ctermbg=8 ctermfg=4 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=8 ctermfg=7 cterm=bold + hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic + hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic + hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic + hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline + hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic + +endif + +hi! default link bbcodeBold htmlBold +hi! default link bbcodeBoldItalic htmlBoldItalic +hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic +hi! default link bbcodeBoldUnderline htmlBoldUnderline +hi! default link bbcodeItalic htmlItalic +hi! default link bbcodeItalicUnderline htmlUnderlineItalic +hi! default link bbcodeUnderline htmlUnderline + +" Spellcheck formatting +if has("spell") + hi SpellBad guisp=#FC4234 gui=undercurl + hi SpellCap guisp=#70BDF1 gui=undercurl + hi SpellLocal guisp=#FFEE68 gui=undercurl + hi SpellRare guisp=#6DF584 gui=undercurl +endif
@@ -0,0 +1,69 @@
+# Don't show directory listings for URLs which map to a directory. +Options -Indexes + +# Follow symbolic links in this directory. +Options +FollowSymLinks + +# Unset ETags +Header unset ETag +FileETag None + +# Compress text files. +<IfModule mod_deflate.c> +SetOutputFilter DEFLATE +# compress content with type html, text, js, and css +AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript application/javascript application/x-javascript +<IfModule mod_headers.c> +# properly handle requests coming from behind proxies +Header append Vary User-Agent +</IfModule> +# Properly handle old browsers that do not support compression +BrowserMatch ^Mozilla/4 gzip-only-text/html +BrowserMatch ^Mozilla/4\.0[678] no-gzip +BrowserMatch \bMSIE !no-gzip !gzip-only-text/html +# Explicitly exclude binary files from compression just in case +SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|pdf|swf|ico|zip)$ no-gzip +</IfModule> + +# Custom errors +ErrorDocument 404 /404/index.html +ErrorDocument 403 /403/index.html +ErrorDocument 500 /500/index.html + +# Set the default handler. +DirectoryIndex index.html + +# Requires mod_expires to be enabled. +<IfModule mod_expires.c> +# Enable expirations. +ExpiresActive On + +#ExpiresDefault A14400 +#ExpiresByType application/javascript A2592000 +#ExpiresByType application/x-javascript A2592000 +#ExpiresByType text/javascript A2592000 +#ExpiresByType text/html A3600 +#ExpiresByType text/xml A3600 +#ExpiresByType text/css A2592000 +#ExpiresByType text/plain A2592000 +ExpiresByType image/gif A2592000 +ExpiresByType image/jpg A2592000 +ExpiresByType image/jpeg A2592000 +ExpiresByType image/png A2592000 +ExpiresByType image/bmp A2592000 +ExpiresByType application/x-shockwave-flash A2592000 +</IfModule> + +# Rewrite rules. +<IfModule mod_rewrite.c> +RewriteEngine on +RewriteRule ^$ /home/index.html [L] +RewriteRule ^(rss|atom)/?$ /$1.xml [L] +RewriteRule ^tags/([^/\.]+)/(rss|atom)/?$ /tags/$1/$2.xml [L] +RewriteRule ^(articles|blog|entries|tags)/?$ /archives/ [L,R=301] +RewriteRule ^articles/view/([^/\.]+)/?$ /articles/$1/ [L,R=301] +RewriteRule ^(blog|entries)/([^/\.]+)/?$ /articles/$2/ [L,R=301] +</IfModule> + + +
@@ -0,0 +1,4 @@
+User-agent: * +Disallow: /data +Disallow: /images +Disallow: /img