# HG changeset patch # User Steve Losh # Date 1248644649 14400 # Node ID 67bcfb62a139e56f33d81a8eabe36eeddc8623b7 # Parent cd1557458a643ed05c9b9267c753c2724607cacb Add the TOC extension to project and entry bodies. diff -r cd1557458a64 -r 67bcfb62a139 site-media/style/stevelosh.css --- a/site-media/style/stevelosh.css Thu Jul 16 19:08:55 2009 -0400 +++ b/site-media/style/stevelosh.css Sun Jul 26 17:44:09 2009 -0400 @@ -83,6 +83,14 @@ color: #F00; } +div.toc ul { + list-style-type: none; + padding-left: 0; +} +div.toc > ul > li { + margin-left: 0; +} + /* Typogrify Styles */ .amp { diff -r cd1557458a64 -r 67bcfb62a139 templates/blog/entry.html --- a/templates/blog/entry.html Thu Jul 16 19:08:55 2009 -0400 +++ b/templates/blog/entry.html Sun Jul 26 17:44:09 2009 -0400 @@ -28,7 +28,7 @@

- {{ entry.body|markdown:"codehilite"|typogrify }} + {{ entry.body|markdown:"codehilite,toc"|typogrify }}

diff -r cd1557458a64 -r 67bcfb62a139 templates/projects/project.html --- a/templates/projects/project.html Thu Jul 16 19:08:55 2009 -0400 +++ b/templates/projects/project.html Sun Jul 26 17:44:09 2009 -0400 @@ -31,7 +31,7 @@

- {{ project.body|markdown:"codehilite"|typogrify }} + {{ project.body|markdown:"codehilite,toc"|typogrify }}