rss feeds
This commit is contained in:
parent
8f5abfdbe3
commit
46bb218788
2 changed files with 3 additions and 1 deletions
|
@ -102,7 +102,7 @@ svg = ""
|
|||
# providers have to make their 'Access-Control-Allow-Origin' contain
|
||||
# your domain, otherwise the feeds cannot be fetched.
|
||||
[params.friends]
|
||||
feeds = ["https://is.boxmoe.cn/atom.xml", "https://xiabor.com/atom.xml"]
|
||||
feeds = ["https://xjj.pub/index.xml"]
|
||||
topk = 3
|
||||
title = "Friends' Posts"
|
||||
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
{{ end }}
|
||||
{{ partial "paginator.html" . }}
|
||||
</div>
|
||||
{{ if .Site.Params.friends.feeds }}
|
||||
<h3 class="my-6">{{ .Site.Params.friends.title }}</h3>
|
||||
<div id="friends"></div>
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ end }}
|
Loading…
Reference in a new issue