Skip to content
Discussion options

You must be logged in to vote


源码site.js是这么拼接,因此必须有repo才会渲染

{%  sites repo:autogen.json  api:https://raw.githubusercontent.com/seepine/blog-friends/output %}

且因其中v1是写死的变量,因此提供的数据接口路径必须有包含v1,拼接完是
https://raw.githubusercontent.com/seepine/blog-friends/output/v1/autogen.json

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by seepine
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants