Skip to content

Commit

Permalink
chore: added script to header layout and updated embed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fahnestockj committed Apr 15, 2024
1 parent 74d1172 commit 27d90c4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions layouts/partials/head/metadata.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- DAP Code Script -->
<script async type="text/javascript" id="_fed_an_ua_tag"
src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=NASA&subagency=JPL-jpl-nasa-its-live"></script>

<!-- Copied from https://github.com/betolink/hugo-theme-introduction/blob/80ec94d6a8643df722473b7257dd14909413b7a2/layouts/partials/head/metadata.html -->
{{ template "_internal/google_analytics.html" . }}

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer">
{{ if .Site.Params.description }}
<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
<title>
{{ .Title | humanize | title }}{{ if ne .Title .Site.Title }} - {{ .Site.Title | markdownify }}{{ end }}
</title>
<!-- RSS -->
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }}
2 changes: 1 addition & 1 deletion mappin-itslive-embed

0 comments on commit 27d90c4

Please sign in to comment.