Spaces:
Sleeping
Sleeping
Download app/themes/hugo-theme-stack/layouts/_default/rss.xml from AstraOS/dailydev.com: direct link, hf CLI and curl.
- Browser
- Download file 2.63 kB
-
https://huggingface.co/spaces/AstraOS/dailydev.com/resolve/main/app/themes/hugo-theme-stack/layouts/_default/rss.xml
- Command line
-
hf download hf://spaces/AstraOS/dailydev.com/app/themes/hugo-theme-stack/layouts/_default/rss.xml
-
curl -L -o rss.xml https://huggingface.co/spaces/AstraOS/dailydev.com/resolve/main/app/themes/hugo-theme-stack/layouts/_default/rss.xml
2.63 kB
| {{- $pctx := . -}} | |
| {{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} | |
| {{- $pages := slice -}} | |
| {{- if or $.IsHome $.IsSection -}} | |
| {{- $pages = $pctx.RegularPages -}} | |
| {{- else -}} | |
| {{- $pages = $pctx.Pages -}} | |
| {{- end -}} | |
| {{- $pages := where $pages "Params.hidden" "!=" true -}} | |
| {{- $limit := .Site.Config.Services.RSS.Limit -}} | |
| {{- if ge $limit 1 -}} | |
| {{- $pages = $pages | first $limit -}} | |
| {{- end -}} | |
| {{- printf " | |