Small tweak to fresh theme

April 5th, 2007

Just a few minor tweaks:

  • The theme won’t crash when no sidenotes section exists.
  • the main page now displays comments from all section, not just the home section
  • Added a warning about MySQL only. It currently uses RAND which is very MySQL specific. A more generic solution is coming up within a few days.

2 Responses to “Small tweak to fresh theme”

  1. failinstall Says:

    I try install fresh theme, but failure.

    the message is here:

    HAML Error: HAML Error: You have a nil object when you didn’t expect it! The error occurred while evaluating nil.latest_articles

  2. Pascal Says:

    You need to be using the trunk of Mephisto (not 0.7.3), you need the haml template renderer, and you need the haml plugin (the gem may work).

    There is also a known issue with databases other than MySQL (because of the use of the Rand() function).

    And if you don’t have a Sidenotes section, this will fail with this error (you can either create a section or edit _sidebar.haml).

Sorry, comments are closed for this article.