progress
i've made progress on the template. i actually got the menu styles right by a little bit of wordpress style reference and my own trial-and-error. haven't had much experience styling lists.
i really want to get more into the ruby syntax. i'll probably need to get a book that deals specifically with ruby and data manipulation.
i figured out how to put a "recent posts" part in the menu. i just copied the ...
<% for post in @posts %>
...
<% end %>
... code from the main post listings and used it in the menu. there has to be a way i can make a function for that in the controller so that i minimize the amount of code in the index.rhtml file. i'm also not sure about how to only show like 10 recent posts rather than all of them without doing pagination.
0 Comments:
Post a Comment
<< Home