我可以从 github 页面上的 Jekyll 站点的第三方 GitHub 存储库访问元数据吗?

Can I access metadata from a third-party GitHub repo from a Jekyll site on github-pages?

It is possible to access repository metadata from a Jekyll site hosted in a gh-pages branch on GitHub

我现在正在构建一个站点,如果我可以访问另一个(我的)存储库(这里称为 第三方 存储库的元数据,它将有很大帮助,因为技术上就是这样。

有什么方法可以设置 Jekyll 以便我可以使用来自该第三方存储库的元数据?即,让 Jekyll 能够使用来自两个存储库的元数据,而不仅仅是本地 {{ site.github }} 一个?

没有 liquid 标签允许您从其他存储库获取 site 元数据。

唯一的方法是使用 GitHub API on the client side with the help of javascript libraries like github.js.