SEO & SMO

Metadata

Written by oxypteros

Metadata are pieces of structured information in the <head> that describe the page content and settings to search engines, browsers, and social platforms.

Although they are not visible in the page body, their role is critical on how the page will be indexed, displayed in search results, and rendered across devices.

Technical Metadata

The technical metadata for character encoding, alternate language, responsive design, and color scheme preferences are fully automated by Alpha, so you don’t need to configure them manually..

SEO Metadata

The SEO focused metadata are set through the page’s frontmatter. The most important fields that MUST ALWAYS be filled are title and description.

Title

The <title> (primary search snippet headline) is set by the title = "" key in the frontmatter. Hugo automatically includes it when generating the page.

Description

The <meta name="description" content="..."> (snippet description for SERPs) is set by the description = "" key.

Best Practice

The title and description metadata can improve your search engine ranking and attract more clicks on your page. There’s no universal formula, since titles and descriptions depend heavily on your content. Still, the following tips work in most cases:

  • Keep it Concise:
    • Title: Aim for 50-60 characters. Search engines cut off longer titles.
    • Description: Keep it under 160 characters to ensure the full text is visible in search results.
  • Be Descriptive:
    • Title: Your title is a promise. It should accurately summarize the page’s content.
    • Description: The description is an advertisement for your page. It should be compelling, relevant and of course descriptive. It should expand on the title, and encourage users to click.
  • Make it Unique:
    • Avoid using the same title and description for multiple pages. Every page should have unique metadata that is specific to its content.
Edit this page on Github