diff options
| author | tekkub <tekkub@gmail.com> | 2010-07-12 19:05:59 -0600 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2010-07-12 19:05:59 -0600 |
| commit | c2ee51c311467177997cfd595f23ec656f1286f7 (patch) | |
| tree | 02d781853b8692f376c1be4ce4b70738fb77faf7 /_layouts/default.html | |
| parent | f985030efd5c7c4b8445265613a6274c182aff3e (diff) | |
Handle spacey category names differently
Diffstat (limited to '_layouts/default.html')
| -rw-r--r-- | _layouts/default.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 714d5f8..9955835 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,15 +3,15 @@ sidebar_cats: - setup - troubleshooting - repos -- "Everyday git" -- "Git ninjutsu" +- everyday_git +- git_ninjutsu - collaborating - deploying - mac - windows - linux - other -- "Site Policy" +- site_policy --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> @@ -65,7 +65,7 @@ sidebar_cats: <div class="sidebar"> {% for cat in (page.sidebar_cats) %} - <h3>{{ cat | capitalize }}</h3> + <h3>{{ cat | replace:'_',' ' | capitalize }}</h3> <ul id="categories"> {% for post in site.posts reversed %}{% if post.categories contains cat %} {% if page.title == post.title %} |
