Skittlish Tips'n'Tricks
- Change the classes for the body tag to set your default site style. also change these in the app.js file (line 66).
- Remove the scripts and the #options div if you don't want the option switcher.
- The top menu shows the home section and the sections that are not blogs.
- Email me at evil@che.lu if you have any questions.
- Happy hacking!
Small tweak to fresh theme
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.
Comments
-
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
-
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).