18F / handbook

The home of policies and guidelines that make up TTS.
https://handbook.tts.gsa.gov/
Other
115 stars 120 forks source link

07-23-2024: Add SEO keywords (and descriptions) to site #3924

Open AnitaYCheng opened 2 months ago

AnitaYCheng commented 2 months ago

Expected Behavior

Multiple pages in the TTS Handbook contain content in the front matter for keywords for search result. This content should be displayed with <meta name="keywords" content="[keyword content]"> in the <head> area of each page.

Current Behavior

The meta keyword and description content is empty on every page. It's just not called at all.

image

Possible Solution

The content is not called in the main layout template, and should be added.

Context

PeopleOps staff added keywords to the "Leave" page so search.gov could parse it for alternate terms for parental leave, but noticed that the page was not appearing in those search results. Employees could be missing information that's already been added to the site.