Skip to content

Commit

Permalink
UPDATE: rss auto-discovery header links
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Feb 2, 2024
1 parent 1054f52 commit 714af61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion partials/above.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/js/popper.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
{{#if rootMeta}}<script type="application/ld+json">
{{#if rootMeta}}<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
Expand All @@ -18,6 +18,8 @@
</script>
<meta name="description" content="DNS and networking testing and troubleshooting tools, including IP geolocation and a list of open DNS resolvers." />{{/if}}
<meta name="referrer" content="unsafe-url" />
{{#if rssUrl}}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{rssUrl}}" />{{/if}}
</head>
<body>
<nav class="navbar navbar-light bg-light">
Expand Down
1 change: 1 addition & 0 deletions src/routers/changelogRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class ChangeLogUI {
aplink: this.aplink,
count: this.changeLog.getKeys().length,
data: this.changeLog.getAll(),
rssUrl: `https://resolve.rs${this.mount}/rss.xml`,
title: `${this.title} Change Log`,
});
});
Expand Down

0 comments on commit 714af61

Please sign in to comment.