Skip to main content
Prime Direction

Navigation

Morrow builds all of its navigation from the two menus Ghost already gives you. The first characters of a label decide what an item becomes: a plain link, a row in a dropdown, a caption, a break, a block of content or a language link.

Nothing here needs a theme setting. You type labels and URLs in Ghost, and the theme reads them.

Managing Navigation Items#

  1. Go to ⛭ Settings → Navigation
  2. Click Customize
  3. Add, remove or reorder items on the Primary and Secondary tabs
  4. Click Save

Where Each Menu Appears#

PlacePrimary navigationSecondary navigation
Top bar (desktop)Every item, with dropdowns and boardsNot shown
Menu panel (the menu button, or the m key)Every item as a large row. Dropdowns open in placeEvery item except = items, as smaller rows
Footer, the column under your site titleThe top-level items onlyNot shown
Footer, the last lineNot shownThe items without a prefix, such as legal pages
Utility line and footer, languagesNot shownThe = items only

On screens narrower than 992 pixels the top bar hides the navigation, and readers open the menu panel instead. See Header.

Label Prefixes#

The prefix is an instruction. The theme removes it before readers see the label.

Label starts withWhat it becomes
nothingA top-level item
- (dash and a space)A row in the dropdown of the top-level item above it
# (hash and a space)A caption in that dropdown, and the start of a group
--- (three dashes alone)A break in that dropdown
@ (at sign and a space)A block of content in that dropdown. Its URL picks the block
= (equals sign and a space)A language link. Use it in the secondary navigation

The space matters. -About is a top-level item with an odd name. - About is a dropdown row.

A top-level item opens a dropdown as soon as the item below it has a prefix. Every prefixed item after it joins the dropdown, until the next item without a prefix starts a new top-level item.

Newsroom                →  /authors/
- About                 →  /about/
- Contact               →  /contact/

In the top bar the dropdown opens when the pointer rests on the item, and the item itself stays a link. With plain rows only, the dropdown is a small panel under the bar.

In the menu panel a tap on the item opens and closes its list. The item's own page is the first row of the list, unless a row of the menu already links it.

Boards#

A dropdown that holds a caption or a block opens as a board, a panel the width of the top bar. The board sets its content in two parts:

  • The first group is set large across three columns.
  • Every other group stands in the fourth column as small rows, each under its caption.

A group starts at each # caption and at each @ block, and the - rows after a caption belong to it.

Captions#

A # row is the caption of a group. With the URL # it is plain text. With a real URL it is a link with an arrow.

Sections                →  /blog/
# Desks                 →  /tags/
- Climate               →  /tag/climate/
- Technology            →  /tag/technology/
- Cities                →  /tag/cities/
# Formats               →  #
- Live                  →  /live/
- Archive               →  /archive/

Here the three desks are set large, and Live and Archive stand in the fourth column.

  • A row that links a tag shows the tag's number of posts. When every row of a group has the same number, the numbers are left out.
  • A row that repeats the link of its own caption is folded into the caption.
  • A first group without a caption takes the top-level item as its caption.

Blocks#

An @ row does not draw a link. It fills a group with content, and its URL decides which content.

URL of the @ rowWhat fills the group
/tag/<slug>/The titles of the three newest posts with that tag
/tags/Your six most-used public tags with their number of posts
/authors/The six authors with the most posts, with their number of posts
/projects/The titles of the three newest posts tagged #project. See Projects
/recommendations/Up to six sites from ⛭ Settings → Growth → Recommendations, with their address
/subscribe/ or /membership/Up to six public plans with their monthly price. A plan opens your membership page, or Ghost's sign-up without one
anything elseA plain row, linking to the URL

The row's label, without the @ , becomes the caption of the group and links to the row's URL.

/tags/ leaves out tags whose slug starts with issue-. With members turned off, the plans block is a plain row.

Blocks read the URL as a path on your site. On a Ghost installed in a subfolder, such as example.com/news/, the paths do not match and every @ row falls back to a plain link.

In the menu panel there is no room for blocks, so an @ row shows as a plain link with its label.

The More Item#

When the top-level items do not fit the top bar, the ones at the end move into a more item, a button with three dots. Its dropdown lists them as plain links, without their own dropdowns. A wider window brings them back into the bar.

Keep the labels short and the most important sections first. They are the ones that stay in the bar.

Worked Example#

This is a primary navigation for a news site, entered in ⛭ Settings → Navigation one item per line, label on the left and URL on the right:

Sections                →  /blog/
# Desks                 →  /tags/
- Climate               →  /tag/climate/
- Technology            →  /tag/technology/
- Cities                →  /tag/cities/
- Science               →  /tag/science/
@ Topics                →  /tags/
Markets                 →  /markets/
@ Latest                →  /tag/markets/
# Quotes                →  #
- Bitcoin               →  /tag/market-btc/
- EUR/USD               →  /tag/market-eur-usd/
Newsroom                →  /authors/
@ Writers               →  /authors/
@ Projects              →  /projects/
Members                 →  /membership/
@ Plans                 →  /membership/
# Account               →  #
- Sign in               →  /signin/

What readers get:

  • Sections opens a board with four desks set large and your most-used tags in the fourth column.
  • Markets opens a board with the titles of three market stories set large and two quotes beside them.
  • Newsroom opens a board with six writers set large and three projects beside them.
  • Members opens a board with your plans set large and the sign-in link beside them.
  • The footer lists Sections, Markets, Newsroom and Members.

Language Switcher#

Items in the secondary navigation whose label starts with = become a language switcher. Each one links to your site in that language.

= EN                    →  https://example.com/
= DE                    →  https://de.example.com/
= FR                    →  https://fr.example.com/

The switcher appears at the right end of the utility line, the top row of every page, and in the Languages column of the footer. The item that points at the site being read is marked as the current language. The = items never appear in the menus themselves.

The switcher only links between addresses you enter. Add the same = items to every language version of the site so readers can switch back. For the language of the theme's own texts, see Translations.

The Donate url setting adds a Support us row to the menu panel, under the secondary navigation. It opens in a new tab.

  1. Go to ⛭ Settings → Design
  2. Click Customize
  3. Open the Theme tab
  4. Paste a link into Donate url, for example your Ko-fi or PayPal page
  5. Click Save

Leave the field empty to hide the row. To use Ghost's own tips instead, turn on tips and donations in ⛭ Settings → Growth and paste #/portal/support.

Notes#

  • A prefixed item needs a top-level item above it. A menu that starts with - , # , @ or --- skips that first item.
  • Only one level of nesting exists. -- Label is not a deeper level. It is a top-level item whose name starts with a dash.
  • Every block loads its content when a page is built, on every page, even if no one opens the menu. Keep them to the menus that need them.