diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b3d1634..85b3215 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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" diff --git a/layouts/index.html b/layouts/index.html index 84b96ad..79b9d7a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -15,7 +15,9 @@ {{ end }} {{ partial "paginator.html" . }} + {{ if .Site.Params.friends.feeds }}

{{ .Site.Params.friends.title }}

+ {{ end }} {{ end }} \ No newline at end of file