212
This commit is contained in:
1 parent
48fd84738e
commit
1d58cbcee8
2 files changed
+43
-37
No files matched your search
+21
-18
@@ -66,25 +66,28 @@
|
||||
|
||||
|
||||
<div id="pjax-container">
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
|
||||
<div id="hexo-circle-of-friends-root" uk-scrollspy="target: > .cf-article-item; cls: uk-animation-fade; delay: 0"></div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
let UserConfig = {
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
|
||||
private_api_url: 'https://circle.usj.cc/',
|
||||
|
||||
page_turning_number: 10,
|
||||
|
||||
error_img: 'https://cravatar.cn/avatar/e1e7ba949ade0936e071132d2edd3b3c?f=mp',
|
||||
|
||||
sort_rule: 'created'
|
||||
}
|
||||
</script>
|
||||
<script src="/js/circles/app.min.js"></script>
|
||||
<script src="/js/circles/bundle.js"></script>
|
||||
<div id="hexo-circle-of-friends-root"
|
||||
uk-scrollspy="target: > .cf-article-item; cls: uk-animation-fade; delay: 0"></div>
|
||||
</div>
|
||||
<script>
|
||||
if (typeof UserConfig === 'undefined') {
|
||||
|
||||
let UserConfig = {
|
||||
|
||||
private_api_url: 'https://circle.usj.cc/',
|
||||
|
||||
page_turning_number: 10,
|
||||
|
||||
error_img: 'https://cravatar.cn/avatar/e1e7ba949ade0936e071132d2edd3b3c?f=mp',
|
||||
|
||||
sort_rule: 'created'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="/js/circles/app.min.js"></script>
|
||||
<script src="/js/circles/bundle.js"></script>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
{{ define "main" }}
|
||||
<div id="pjax-container">
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
{{ .Content }}
|
||||
<div id="hexo-circle-of-friends-root" uk-scrollspy="target: > .cf-article-item; cls: uk-animation-fade; delay: 0"></div>
|
||||
</div>
|
||||
<script>
|
||||
// 定义几个全局变量
|
||||
let UserConfig = {
|
||||
// 填写你的api地址
|
||||
private_api_url: 'https://circle.usj.cc/',
|
||||
// 点击加载更多时,一次最多加载几篇文章,默认10
|
||||
page_turning_number: 10,
|
||||
// 头像加载失败时,默认头像地址
|
||||
error_img: 'https://cravatar.cn/avatar/e1e7ba949ade0936e071132d2edd3b3c?f=mp',
|
||||
// 进入页面时第一次的排序规则
|
||||
sort_rule: 'created'
|
||||
}
|
||||
</script>
|
||||
<script src="/js/circles/app.min.js"></script>
|
||||
<script src="/js/circles/bundle.js"></script>
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
{{ .Content }}
|
||||
<div id="hexo-circle-of-friends-root"
|
||||
uk-scrollspy="target: > .cf-article-item; cls: uk-animation-fade; delay: 0"></div>
|
||||
</div>
|
||||
<script>
|
||||
if (typeof UserConfig === 'undefined') {
|
||||
// 定义几个全局变量
|
||||
let UserConfig = {
|
||||
// 填写你的api地址
|
||||
private_api_url: 'https://circle.usj.cc/',
|
||||
// 点击加载更多时,一次最多加载几篇文章,默认10
|
||||
page_turning_number: 10,
|
||||
// 头像加载失败时,默认头像地址
|
||||
error_img: 'https://cravatar.cn/avatar/e1e7ba949ade0936e071132d2edd3b3c?f=mp',
|
||||
// 进入页面时第一次的排序规则
|
||||
sort_rule: 'created'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="/js/circles/app.min.js"></script>
|
||||
<script src="/js/circles/bundle.js"></script>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user