Adding RSS Entry
This commit is contained in:
parent
7ca94f6a55
commit
61780e0960
@ -17,6 +17,7 @@ SectionPagesMenu = "main"
|
||||
github = "https://github.com/scubbo"
|
||||
linkedin = "https://www.linkedin.com/in/jack-jackson-14a47441/"
|
||||
mastodon = "https://fosstodon.org/@scubbo"
|
||||
rss = "https://blog.scubbo.org/index.xml"
|
||||
custom_css = ['inlinespoiler.css']
|
||||
show_reading_time = true
|
||||
page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/"
|
||||
|
7
blog/content/posts/adding-rss.md
Normal file
7
blog/content/posts/adding-rss.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Adding RSS"
|
||||
date: 2024-01-15T13:31:03-08:00
|
||||
tags:
|
||||
- meta
|
||||
---
|
||||
Inspired by [this article](https://rknight.me/blog/the-web-is-fantastic/), I've added (or attempted to?) an RSS feed to this blog. From [Hugo's docs](https://gohugo.io/templates/rss/) it _seems_ pretty simple, but please let me know if you run into any issues!
|
@ -11,3 +11,10 @@
|
||||
{{ if .Params.math }}{{ partial "helpers/katex.html" . }}{{ end }}
|
||||
<script defer data-domain="blog.scubbo.org" src="https://tracking.scubbo.org/js/plausible.js"></script>
|
||||
|
||||
<!--
|
||||
https://gohugo.io/templates/rss/
|
||||
-->
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user