Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qaqland/hugo-rss-only
(*/ω\*)
https://github.com/qaqland/hugo-rss-only
hugo hugo-site
Last synced: about 1 month ago
JSON representation
(*/ω\*)
- Host: GitHub
- URL: https://github.com/qaqland/hugo-rss-only
- Owner: qaqland
- Created: 2022-12-16T12:34:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-19T15:20:40.000Z (about 2 years ago)
- Last Synced: 2024-11-15T07:20:35.934Z (3 months ago)
- Topics: hugo, hugo-site
- Language: HTML
- Homepage: https://hugo-rss-only.pages.dev/
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hugo-RSS-Only
This project uses Hugo only to generate [RSS](https://en.wikipedia.org/wiki/RSS).
英语不好憋不住了,来点中文:
本项目是对 Hugo 的大材小用,这里特别关闭了一些 RSS 用不到的特性,仅仅为生成 RSS 服务。
配置文件特别简单,除了 RSS 要用到的 `网站标题`、`作者` 外,其他的东西直接写到 `index.html` 里面就行。
如果要加 JS 或者 CSS,建议都写到该文件、或者使用外部 CDN,要不然还要按照 Hugo 文档匹配路径。# Get-Start
To keep simple, Hugo-RSS-Only lacks some specific files for becoming a normal hugo-theme.
However, we can directly run it like this:
```bash
git clone https://github.com/qaqland/hugo-rss-only.gitcd hugo-rss-only
hugo # or hugo server
```Then we look into detail:
```yaml
# config.yamlbaseurl: "/" # Keep default `/`, or change it to your domain.
title: "Welcome to qaqLand!" # HTML and RSS title
author:
name: qaqland # RSS will show author's name
email: [email protected] # HTML and RSS will show author's email
```It's also easy for you to modify home page `index.html`.
```html
For online documentation and support please refer to
github.com/qaqland.
```Here is my GitHub name and address, just try to change it!
# Thanks to:
- `layout/index.html` edited from nginx's default html
- `layout/_default/rss.xml` copyed from [GithubGist/jdheyburn/hugo_rss.xml](https://gist.github.com/jdheyburn/a0a2c678f8f9795088b2779ec6af9920)