Skip to content

Commit

Permalink
Merge pull request #464 from HistoryAtState/misc-fixes
Browse files Browse the repository at this point in the history
Misc fixes
  • Loading branch information
joewiz authored Nov 22, 2024
2 parents ad7c7b0 + f76a643 commit e327abd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions app/templates/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta data-template="config:app-meta"/>
<link rel="shortcut icon" href="$app/resources/images/favicon.ico"/>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WBD65RCC');</script>
<!-- End Google Tag Manager -->
<!-- @if PRODUCTION=true -->
<link rel="stylesheet" type="text/css" href="$app/resources/css/all.css"/>
<!-- @endif -->
Expand All @@ -26,6 +33,10 @@
<!-- @endif -->
</head>
<body id="body">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WBD65RCC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<header class="hsg-header" data-template="app:fix-links">
<section class="hsg-grid hsg-header-inner">
<div class="container hsg-header-content">
Expand Down
2 changes: 1 addition & 1 deletion modules/link.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ declare function link:generate-from-state($url-state as map(*)) as element(a)* {
then (attribute aria-current { "page" })
else ()
}
<span>{link:generate-label-from-state($url-state)}</span>
<span property="name">{link:generate-label-from-state($url-state)}</span>
</a>
};

Expand Down
4 changes: 2 additions & 2 deletions pages/about/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div data-template="app:fix-links" id="content-inner">
<h1>About Us</h1>
<p>Download our brochure (<a
href="$s3static/about/office-of-the-historian-brochure-2019.pdf"
>PDF, 1.6mb</a>).</p>
href="$s3static/about/office-of-the-historian-brochure.pdf">PDF,
2.4mb</a>).</p>
<div>
<h2>Who We Are</h2>
<p>The Office of the Historian is staffed by professional historians who
Expand Down

0 comments on commit e327abd

Please sign in to comment.