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

Added hostname to og:url to include top level domain #7563

Merged
merged 12 commits into from
May 29, 2024
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: "Digital.gov"
baseURL: "/"
baseURL: "https://digital.gov"
languageCode: "en-us"
theme: "digital.gov"
themesDir: "./themes"
Expand Down Expand Up @@ -157,5 +157,5 @@ menu:
Weight: 2
- Name: "Contact Us"
Identifier: "contact"
URL: "/about/contact/"
URL: "/about/contact/"
Weight: 3
2 changes: 1 addition & 1 deletion themes/digital.gov/layouts/partials/core/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
content="{{- $.Params.summary | default $.Site.Params.description | markdownify -}}"
/>
<meta property="og:type" content="{{- $.Scratch.Get "pagetype" -}}" />
<meta property="og:url" content="{{- .Permalink -}}" />
<meta property="og:url" content="{{- .Permalink | absURL -}}" />
RileySeaburg marked this conversation as resolved.
Show resolved Hide resolved
<meta property="og:site_name" content="Digital.gov" />
<meta name="robots" content="index, follow" />
<meta property="og:locale" content="en_US" />
Expand Down