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

Optimize metadata and social cards (SEO) #80

Closed
wesley-dean-gsa opened this issue Jul 17, 2024 · 3 comments · Fixed by #129 or #130
Closed

Optimize metadata and social cards (SEO) #80

wesley-dean-gsa opened this issue Jul 17, 2024 · 3 comments · Fixed by #129 or #130
Assignees

Comments

@wesley-dean-gsa
Copy link
Contributor

Confirm meta data and social cards have been added and optimized for each page

@wesley-dean-gsa
Copy link
Contributor Author

From Slack

This is speaking to search engine results and social media cards. We were looking to confirm that the meta data that Google/social media platforms will be pulling for our website has been added for each page. And that the necessary code/configurations for social media cards has been added. [Kate has] been out of the social media game for a while, can't remember exactly what is needed these days off the top of my head. It used to be just dropping some a meta tag.

@wesley-dean-gsa wesley-dean-gsa changed the title Optimize metadata and social cards Optimize metadata and social cards (SEO) Jul 22, 2024
@wesley-dean-gsa
Copy link
Contributor Author

@wesley-dean-gsa
Copy link
Contributor Author

wesley-dean-gsa commented Jul 29, 2024

Found this site on SEO tags in 11ty and this checklist is from there:

HTML tags:

  • title
  • link rel="canonical"

Meta tags:

  • description
  • robots
  • og:title
  • og:url
  • og:description
  • og:image
  • og:type

The meta tags and such appear to live here: https://github.com/GSA-TTS/tts.gsa.gov/blob/main/_includes/meta.html

Eleventy Front matter

---
title: the page's title
permalink: /the/link/to/the/thing
date: date/of/update
author: Who Dunit
summary: summary of the page's content
description: not really sure how this is different from summary
tags: i, guess, some, tags, question, mark

For the og:image and og:type, we can do some thing like:

{{ "{ page.page_type or renderData.page_type or metadata.page_type }" | escape }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants