The Wire
The wire is a track of cards with everything published in the last 24 hours. It is built from your latest posts, so there is nothing to set up.
What It Shows#
- The heading counts the stories and gives the time of the first one, for example 13 stories since 06:00.
- Up to 15 cards, newest first. Each card shows the picture with the first public tag on its corner, the author, the reading time and the title.
- A link reading All 13 today that leads to
/blog/, and a link to the RSS feed. - A counter such as
01 / 13with arrows that move the track one card at a time. The track can also be swiped.
When nothing was published in the last 24 hours, the wire shows your 15 latest posts under The latest stories. and the link reads All stories.
A post tagged #breaking has a dot and the word Live on its card. See Live Updates.
New Since the Last Visit#
The dark line at the top of every page shows how many stories were published since the reader was last on the site, for example 4 new since 08:57. When the last visit was on another day, the count names the date instead of the time.
The time of the last visit is kept in the reader's own browser. On a first visit, and when nothing is new, there is no count. A visit ends when the reader closes the tab or the window, so the count stays the same while they keep reading. The count is hidden on phones.
Notes#
- The wire does not refresh by itself. The live page does.
/blog/needs theroutes.yamlfile that ships with the theme. See Getting Started.- The wire includes posts tagged
#newsletter./blog/leaves them out. - The 24 hours run back from the moment the page is built, not from midnight.