Skip to content

Commit

Permalink
fix: correct description of social media avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Apr 24, 2024
1 parent 4ba1d05 commit ba5fe54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/config.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ declare variable $config:OPEN_GRAPH as map(xs:string, function(*)) := map{
<meta property="og:image" content="https://static.history.state.gov/images/avatar_big.jpg"/>,
<meta property="og:image:width" content="400"/>,
<meta property="og:image:height" content="400"/>,
<meta property="og:image:alt" content="Department of State heraldic shield"/>
<meta property="og:image:alt" content="Office of the Historian social media avatar"/>

},
"og:type" : function($node, $model) {
Expand Down
4 changes: 2 additions & 2 deletions modules/tests/test-config.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ return values like "og:type": "website" can be considered to be shorthand for:
"og:image": "https://static.history.state.gov/images/avatar_big.jpg"
"og:image:width": "400"
"og:image:height": "400"
"og:image:alt": "Department of State heraldic shield"
"og:image:alt": "Office of the Historian social media avatar"
"og:title": pages:generate-short-title()
"og:url": "test-url"
:)
Expand All @@ -47,7 +47,7 @@ function x:open-graph-defaults() {
<meta property="og:image" content="https://static.history.state.gov/images/avatar_big.jpg"/>,
<meta property="og:image:width" content="400"/>,
<meta property="og:image:height" content="400"/>,
<meta property="og:image:alt" content="Department of State heraldic shield"/>,
<meta property="og:image:alt" content="Office of the Historian social media avatar"/>,
<meta property="og:url" content="test-url"/>,
<meta name="DC.type" content="webpage"/>,
<meta name="citation_series_title" content="Office of the Historian"/>,
Expand Down

0 comments on commit ba5fe54

Please sign in to comment.