Skip to content

Commit

Permalink
fix: replace RSS feed links with feed on all browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 27, 2024
1 parent b903433 commit a2254fd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
14 changes: 0 additions & 14 deletions assets/js/rss/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions assets/main/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Scroller from "js/scroller";
import SidebarToggle from "js/sidebar-toggle";
import TableWrapper from "js/table-wrapper";
import TOC from "js/toc";
import RSS from "js/rss";
import components from "./components";
import "js/slide";
import "js/search";
Expand All @@ -28,7 +27,6 @@ new Docs().run();
new FormValidator().run();
new TOC("#post-toc-container", ".sidebar #TableOfContents").run();
new IFrame().run();
new RSS().run();

const app = new App();
app.attach(...components);
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/helpers/social-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
{{- end }}
{{- end }}
{{- with $rss }}
<a class="nav-link social-link{{ with $linkClass }} {{ . }}{{ end }}" target="_blank" href="{{ .RelPermalink }}" title="{{ "social_rss" | i18n }}" rel="me">
<a class="nav-link social-link{{ with $linkClass }} {{ . }}{{ end }}" target="_blank" href="feed:{{ .Permalink }}" title="{{ "social_rss" | i18n }}" rel="me">
<i class="fas fa-fw{{ with $size }} {{ . }}{{ end }} fa-rss"{{ if and $color }} style="color: #ea6221;"{{ end }}></i>
{{- if $iconText }}
<span{{ with $iconTextClass }} class="{{ . }}"{{ end }}>RSS</span>
Expand Down

0 comments on commit a2254fd

Please sign in to comment.