Page templates

Consistency is a key part of any style guide. These templates will help guarantee consistency in content and design of our various content pages.

Homepage

Featured story

Criteria

  • The main/feature story should be the most recent article written. If there is no recent content, then any appropriate original content can be used.
  • List content should never be used as the featured story.
  • The headline and dek for the featured story should match the article (see article section).

Photo requirements

The image should measure XXXX x XXX pixels.

Level one (L1) stories

  • Level one stories can be either article or list content.
  • Image, headline, and dek should match the article/list.

Level two (L2) stories

  • Level two stories can be either article or list content.
  • Image, headline, and dek should match the article/list.

Quote box

When possible, use a quote from original Northwest Passage content.

<div class="quote">
	<img src="images/face/atkins.png" alt="Owen Atkins" />
	<p>Quote goes here</p>
	<div class="cite">Owen Atkins<br />
	<span><a href="articles/15/visualize-tacoma-the-story-of-seaweed.php">on the chances of a Seaweed reunion</a></span>
	</div>
</div>

Birthday list

Birthday list should only display birthdays of the current month.

Articles

Long-form articles are the primary format for Northwest Passage content. They can be original content or previously-published content from other outlets if posted with permission.

Content Elements

The following elements are required for all articles:

Headline

The headline should be the title of the article and should include keywords included in the article. This should be featured at the top of the page, and also be used in the title tag.

<h1>Deep Sixed: The Making of the First Grunge Compilation</h1>

This should be the only <h1>on any given page. The headline should be no longer than X characters. Ensure that keywords are used in the headline.

Dek

The dek should summarize the article in a single paragraph. This will appear below the headline.

<p class=”dek”>Lorem ipsum</p>

The dek should be no longer than X characters.

Byline

Credit for the article’s authorship should be listed here. Use Northwest Passage as default byline.

<p class=”byline”>Author Name</p>

Optional elements

These elements can be used for article content, but are not required. However, all articles should feature some of this optional content.

Subheadings

When necessary, the subheader can be used to describe a subsection of an article. It is not required to use a subheader in an article; you may also break up long chunks of text with a horizontal rule or a photo.

<h2>Subheading</h2>

Side image

This image only displays on medium and large screens, so do not put anything that is critical to the article. A caption can also be added, if necessary.

<div class=”pull”>
	<img src=”imgsrc.jpg” alt=”description” />
	<p>caption goes here</p>
</div>

Full-width image

Full-width images are a visual way to break up text. A caption should be added when the subject of the image is not obvious.

<div class="photo">
		<img src="seaweed-band.jpg" alt="Seaweed" />
		<p>The final lineup.</p> 
</div>

Pull quote

<blockquote class="pull hide-for-small">Quote goes here.<span>Person</span> </blockquote>

Full-width quote

<blockquote class=”full”>Blockquote <span>Person, description</span> </blockquote> 

Info box

An info box can be used to present additional information that does not fit well within the body of the text.

<div class="pull panel">
			<h3>Title of Info box</h3>
			<h4>Subtitle</h4>  <ul class="no-bullet">
			<li>List content</li> </ul> <p>Content</p>
</div>

Video embed

This code will allow an embedded YouTube video to be added to a content page

<div class="video-wrapper">
<iframe width="560" height="315" src="https://www.youtube.com/embed/xRH6I8baK7o" frameborder="0" allowfullscreen></iframe>
</div>

Lists

Lists are the secondary format for Northwest Passage content.

There are three layouts available. Based on the type of content, one of these three should be used for the list:

  • Single column
  • Double column
  • 3x Grid

Web Elements

Slug

The URL slug is an important URL for SEO, and a good slug can positively affect our appearance in search engine results pages.

  • Use the title of the article as the basis for the URL slug, removing stop words such as “the”, “a” or “and.” Any other words that are unnecessary can be removed as well.
  • Use lower case letters only.
  • Try to keep the length between three and five words.

Title Tag

The title tag of each content item should be in this format:

[Title of content item] | Northwest Passage

Alt text

Always use alt text to label images for accessibility and SEO purposes. Alt text should describe the image in the context of the page in a sentence.

Headings and subheadings

Headings (H1) should be used as page titles and are required on all pages. Only one H1 heading should be used per page. Subheadings (H2, H3, etc) are used to break articles into smaller sections. Always used them in a hierarchical manner (H2 follows H1, H3 follows H2, and so forth).

Horizontal Rule

Use a horizontal rule to break up long chunks of text. Always select an appropriate place to use them; they are best used to convey a stop to a particular section when subheaders are not used.

Links

Whenever a specific reference is made to another page on the Northwest Passage site or an external site, hyperlink a small portion of the text. Include only relevant words in the hyperlink; leave off leading articles and do not include punctuation marks at the end of the sentence.

Lists

Unordered or ordered lists can be a useful way to present a set of information and can break up paragraphs when used correctly. Use ordered lists only when the order of the list items is relevant.