导入文章 2024.7.23
This commit is contained in:
1 parent
ccc398bf36
commit
6eff722775
315 files changed
+62489
-330
No files matched your search
@@ -18,14 +18,14 @@
|
||||
<ul class="pagination">
|
||||
<li class="page-item page-previous">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<a class="next" title="上一页" href="{{ .Paginator.PrevURL }}">上一页</a>
|
||||
<a class="next" title="上一页" href="{{ .Paginator.Prev.URL }}">上一页</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
<li class="page-item page-next">
|
||||
{{ if .Paginator.HasNext }}
|
||||
<a class="next" title="下一页" href="{{ .Paginator.NextURL }}">下一页</a>
|
||||
<a class="next" title="下一页" href="{{ .Paginator.Next.URL }}">下一页</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -3,8 +3,10 @@
|
||||
<article style="margin-bottom: 3.5em;">
|
||||
<h1 class="post-title" itemprop="name headline">{{ .Title }}</h1>
|
||||
<div class="meta">
|
||||
作者: 小赵同学 浏览: {{ .Params.views }} 字数: {{ .WordCount }} 分类: {{ range .Params.categories }}<a
|
||||
href="{{ .Permalink }}">{{ . }}</a>{{ end }}
|
||||
作者: 小赵同学 浏览: {{ .Params.views }} 字数: {{ .WordCount }} 分类:
|
||||
{{ range .Params.categories }}
|
||||
<a href="{{ . }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
{{ .Content }}
|
||||
@@ -12,7 +14,7 @@
|
||||
<div class="post-tags" style="margin-top: -30px;">
|
||||
<nav class="nav tags">
|
||||
<ul class="flat">
|
||||
|
||||
<!-- 标签内容 -->
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -30,10 +32,7 @@
|
||||
$(document).ready(function () {
|
||||
// 获取当前页面的路径
|
||||
var currentPath = "{{ .RelPermalink }}";
|
||||
|
||||
console.log(currentPath)
|
||||
|
||||
|
||||
console.log(currentPath);
|
||||
// 调用封装的函数
|
||||
fetchCommentsAndCreateBarrager(currentPath, {
|
||||
looper_time: 3000, // 每条弹幕的发送间隔,单位毫秒
|
||||
@@ -47,6 +46,5 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user