renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

More sophisticated category index #30

Closed ghost closed 12 years ago

ghost commented 12 years ago

I managed to get what I wanted regarding the category index template. My code is here https://gist.github.com/2997690. This shows shows a tag then all posts that are in both that tag and the current category. It is very useful for a journal. If you like, I can update it a bit and send you a pull request.

renard commented 12 years ago

Can you please post a link to a live example?

Thanks.

ghost commented 12 years ago

The live example, generated using o-blog is at http://mimes.is/volume-1-no-1-2012-may/index.html and the .org source for that page is here https://github.com/fravashi/Luvah/blob/master/luvah.org.

renard commented 12 years ago

I modified a little bit your code to be more HTML5 compliant.

You can find an output here: http://renard.github.com/o-blog/tags.html

ghost commented 12 years ago

Update:

Thank you. I incorporated your changes (not in the live site yet). I really should have proof-read and validated before publishing! BTW, I noticed that in your code there is no closing /li tag. I added it on my end. I think there is no need for a pull request for a simple typo. You just need to add the /li tag to close each list item.

update 2:

Nevermind. I see you just made the change. I had the br and span tags there for author names.