Article Liquid Drop

This drop represents an article created in SandwichBoard. Articles can be accessed from any template or page by calling the articles collection.

Articles can be tagged in SandwichBoard with keywords. To limit the collection to a specific tag, simply suffix articles with _by_keyword.

Example

{% for article in articles_by_press %}
  ...
{% endfor %}

An article drop has the following properties.

article.title

Returns the title for this article. If this article has a non-blank link property set, it returns the title wrapped in a hyperlink to the link URL. Otherwise it returns the title in plain text.

article.title_without_link

Returns the title for this article in plain text.

article.body

Returns the content of this article.

article.created_at

Returns the date this article was created in SandwichBoard.

article.link

Returns the URL for this article, if set.

 
article_drop.txt · Last modified: 2008/02/21 15:06 by ianlotinsky