Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve page metadata for sharing #274

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 31, 2023

  1. Improve page metadata for sharing

    - In _config.yml file:
      - Enable page excerpts
      - Set excerpt separator
    - In base layout:
      - Calculate title, description, URL in one place for meta tags
      - Always use page values for meta tags when present, fallback to site values
      - Replace conditional tags with single tag that uses calculated value
      - Move robots meta tag out from the middle of Open Graph tags
      - Reduce excessive whitespace from generated newlines
    - Add explicit excerpts to front matter of pages where automatic
      excerpt was not suitable / sufficient
    - Small adjustments to page first paragraphs to generate better description
      meta tags
    - Resolves apple#203
    dempseyatgithub committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    8c5f190 View commit details
    Browse the repository at this point in the history