Navigation

External

Create links with SVG icon and custom behavior.
Basic usage: {{< external text="After Dark" href="https://after-dark.habd.as" />}} {{< external href="https://after-dark.habd.as" />}} After Dark after-dark.habd.as {{< external "https://go.habd.as/after-dark" />}} {{< external "wss://fs1.habd.as:80" />}} go.habd.as/after-dark wss://fs1.habd.as:80 With external link styling removed: {{< external rel="noopener" href="https://keybase.io/jhabdas" />}} keybase.io/jhabdas With internal link opening in a new window: {{< external href="/404.html" text="Error Page" />}} Error Page With structured data type: {{< external itemtype="significantLink" href="https://habd.as" />}} habd.as With site-wide Referrer Policy overridden:

Fuzzy Search

Quickly locate indexed content anywhere on the site.
If a search engine can find it, so can you. Quickly locate indexable content site-wide with fuzzy search. No registration necessary. Interactive Example Adjust it from _index.md in the site content/search directory: ├── archetypes ├── content │ └── search │ └── _index.md ├── static ├── themes If the file doesn’t exist, yet create it: $ hugo new search/_index.md And specify the JSON Output Format in site config:

Link Typing

Explicitly indicate relationships between documents.
After Dark uses link typing to indicate semantic relationships between documents. By default the alternate link type is used to highlight the presence of web feeds on the homepage and in taxonomy listings: <link href="https://domain.example/index.xml" rel="alternate" type="application/rss+xml" title="After Dark"> <link href="http://domain.example/categories/privacy/index.xml" rel="alternate" type="application/rss+xml" title="After Dark"> <link href="http://domain.example/tags/color/index.xml" rel="alternate" type="application/rss+xml" title="After Dark"> In addition to defaults After Dark recognizes the prev and next link types if specified in page Front Matter:

Related Content

Promote more of your content to your site's visitors.
After Dark provides related content to help users find more information that’s relevant to them and can increase page views and time spent on your site. When two or more pages or posts contain the same taxonomy tags they will be linked in a section as shown near the bottom of the page. The section appears automatically below Post Bylines with a default maximum of 7 items shown. Tip: Create a Custom Layout to show Related Content outside posts.

Section Menu

Display a contextual site-wide navigation with links.
After Dark uses Hugo’s Section Menu for “Lazy” Bloggers to create a site-wide navigational aid. The section menu is disabled by default. Interactive Example Overview Features Modules Shortcodes Extras Search Enable it by toggling the show_menu setting in your site configuration: [params] show_menu = false # set to `true` to enable section menu With the menu enabled navigation links will begin appearing automatically on a per-section basis whenever Published Content is available within that section.

Table of Contents

Quickly locate information in longer posts.
Automatically generate a table of contents with smooth-scroll links based on the current page outline. To do so add the following to post Front Matter: toc = true Set false, or simply remove the setting, to disable. The table of contents will be collapsed under a disclosure on page load. Once the disclosure is expanded the full page outline will be revealed. Selecting an item in the outline will smooth-scroll to the corresponding section, update the browser history and highlight the section title.

Taxonomy Pages

Navigate the site using author-defined taxonomies.
After Dark generates categorical and tag taxonomy and taxonomy terms pages and links to them automatically in posts using Post Bylines. Given the following page Front Matter for a post type: categories = ["navigation"] tags = ["links", "taxonomy"] The following taxonomy links would appear in the byline: Published [by author] [publishdate or date] in navigation and tagged links and taxonomy using [wordcount] words. The following Index Blocked taxonomy pages generated:
Connecting to server…
0 hashes (0 h/s)