I was re-reading my last two posts and decided that I might be straying from my original idea of stating my intent before doing any new development. So, I hereby state that the next piece of development is to add “static” pages to Luna.
I already have a site controller that is the default controller for the app. The index action grabs all my posts and the index view displays them. Adding a new “page” is as easy as adding a new view for the site controller and making sure it is recognized in our routes. The only extra bit is that I want some organization. I want /projects/luna as opposed to /luna. So we’ll need to add a route for this.
Now we create the view and we are good to go. You can see my first static page at http://bradpauly.com/projects/luna
Formatting. How could I have a blog without being able to add links? All html is escaped right now. I want to add support for textile or markdown. I’ll have to do a little research first. If anyone has any suggestions, please share!
Email me if you want to discuss this further.