Add the feeds for my blog

This commit is contained in:
foo-dogsquared 2019-09-03 15:42:40 +08:00
parent 0ff818022a
commit 2a956690de
2 changed files with 63 additions and 4 deletions

View File

@ -1,4 +1,4 @@
baseURL = "https://foo-dogsquared.github.io/blog" baseURL = "https://foo-dogsquared.github.io/blog/"
languageCode = "en-us" languageCode = "en-us"
title = "A Hack's Code" title = "A Hack's Code"
description = "A blog of a hack." description = "A blog of a hack."
@ -15,6 +15,28 @@ canonifyURLs = true
alias = "foo-dogsquared" alias = "foo-dogsquared"
email = "foo.dogsquared@gmail.com" email = "foo.dogsquared@gmail.com"
[mediaTypes]
[mediaTypes."application/atom+xml"]
suffixes = ["atom"]
[mediaTypes."application/rss+xml"]
suffixes = ["rss"]
[outputFormats]
[outputFormats.RSS]
mediaType = "application/rss+xml"
baseName = "index"
isPlainText = false
[outputFormats.Atom]
mediaType = "application/atom+xml"
baseName = "index"
isPlainText = false
[outputs]
home = ["HTML", "ATOM", "RSS", "JSON"]
section = ["HTML", "ATOM", "RSS", "JSON"]
[menu] [menu]
[[menu.main]] [[menu.main]]
identifier = "articles" identifier = "articles"
@ -32,9 +54,10 @@ canonifyURLs = true
url = "archives/" url = "archives/"
[[menu.main]] [[menu.main]]
identifier = "rss" identifier = "feeds"
name = "RSS" name = "Feeds"
url = "index.xml/" url = "feeds/"
[params] [params]
subtitle = "Computer Engineering Student" subtitle = "Computer Engineering Student"

36
content/feeds.adoc Normal file
View File

@ -0,0 +1,36 @@
---
title: "Feeds"
date: 2019-09-03T15:05:29+08:00
type: "feed"
---
= Feeds
Gabriel Arazas <foo.dogsquared@gmail.com>
2019-09-03
Here's some of my feeds you can subscribe from:
* **RSS**: https://foo-dogsquared.github.io/blog/index.rss
* **Atom**: https://foo-dogsquared.github.io/blog/index.atom
* **JSON**: https://foo-dogsquared.github.io/blog/index.json
You can also be subscribed for specific sections with the
following URL:
----
https://foo-dogsquared.github.io/blog/$SECTION/index.$FEED
----
For example, this is the feed URL for my posts (pretty much this
is the only section available in my blog, for now):
* **RSS**: https://foo-dogsquared.github.io/blog/posts/index.rss
* **Atom**: https://foo-dogsquared.github.io/blog/posts/index.atom
* **JSON**: https://foo-dogsquared.github.io/blog/posts/index.json
// Or even in my projects, letting you know if there's any new
// project detailing comes up.
// * **RSS**: https://foo-dogsquared.github.io/blog/projects/index.rss
// * **Atom**: https://foo-dogsquared.github.io/blog/projects/index.atom
// * **JSON**: https://foo-dogsquared.github.io/blog/projects/index.json