bebraw/codegrove-site — Issue #6: Make motto appear on other pages than index
Author: bebraw
Created: 2012-02-19 07:14:12+00:00
State: open

Currently motto is generated for the site index only. Cache this (see how current widgets cache) and render it on other pages too. Note that it would be good to have this logic centralized so that the script is attached to the base template of the site. Figure out how to do this. Apparently RequireJS may have only one main. Perhaps something like this would work:

* Implement general main.js. This will perform ops common to all pages. Motto generation/caching fits here.
* Implement site specific modules as needed (ie. members.js) and hook them up with main per each page somehow. This probably requires some templating logic.