Template Data – Part 4: The Issue Drop

Issues represent the printed editions of your newspaper. You aren’t obligated to use issues to organize your content, but it does help readers navigate your site, especially those who are looking for an article that appeared in a certain issue of your newspaper. Issues are special; they can have an attached PDF.

Issue are generally accessed through the newspaper.latest_issues array, newspaper.latest_issue or through the “issues” array on an issues index page template.

For each issue, the following is available:

issue.date - this is the date of the issue and can be parsed with the Liquid “date” filter.
issue.name - this is the special name given to this issue, if any
issue.description - this is the special description given to this issue, if any
issue.volume - the publication volume this issue belongs to
issue.number - the number of this issue within the current volume
issue.press_pdf_url - a link to the press-quality PDF of this issue (try not to use this, use the screen quality version instead), relative to “http://hotink.theorem.ca”
issue.screen_pdf_url -  a link to the screen-quality PDF of this
issue, preferred over the press-quality PDF, relative to “http://hotink.theorem.ca”
issue.large_cover_image - Url of a 400px wide issue cover image, relative to “http://hotink.theorem.ca”
issue.small_cover_image - Url of a 175px wide issue cover image, relative to “http://hotink.theorem.ca”
issue.id - the issue’s unique Hot Ink id number
issue.account_id - your account’s unique Hot Ink id number
issue.articles - an array of all the articles in this issue.

Leave a Reply