I'm trying to build some sort of custom CMS for a small project I'm
doing. I'm not really fond of all those menus so I'm trying to use
Liquid to do all the design and templating.
I want to be able to assign a specific article based on the ID, some
like:
{{ assign main_article = articles.find[123] }}
where 123 is the ID of an article.
How should I do this?
Thanks,
Andrei
I'm trying to use Liquid templates to show a certain article. I know
how to fetch the article from the database because it's how I normally
do things now. I'd like to insert a specific article in a predefined
template using Liquid drops/filters, but I don't really understand how
I should do that.
> You should also check out Mephisto Blog. It's a simple CMS that is easy to
> extend.
I use Mephisto for my blog. It's a great tool, although I feel that
some features (like revisions) are a bit too much and that the
database is a bit too complicated (when I'll have the time and the
experience with RoR I'll either submit some patches or fork it), but
it's not _that_ easy to learn from it because of the tight coding.