summaryrefslogtreecommitdiff
path: root/layouts/stats.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/stats.html')
-rw-r--r--layouts/stats.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/layouts/stats.html b/layouts/stats.html
new file mode 100644
index 00000000..683b559d
--- /dev/null
+++ b/layouts/stats.html
@@ -0,0 +1,41 @@
+{{ define "main" }}
+ <article>
+ {{ partial "header.html" . }}
+ {{ partial "components/postnav.html" . }}
+
+ <section>
+ <h2>站点统计</h2>
+ {{ partial "components/stats-table" . }}
+ </section>
+
+ <section>
+ <h2>每月文章字数</h2>
+ {{ partial "components/word-count-chart" . }}
+ </section>
+
+ <section>
+ <h2>文章发布时间段分布</h2>
+ <div class="outbox">
+ {{ partial "components/publish-time-chart" . }}
+ </div>
+ </section>
+ <hr>
+
+ <section>
+ <h2>内部链接图谱</h2>
+ <p>站内各个页面之间通过超链接建立起来的联系,你可以通过视觉化的双向链接逛逛我的博客。图谱可以缩放和拖拽,你也可以<a href="/graph" style="text-decoration: underline;">点击这里</a>全屏浏览。</p>
+ <div class="outbox small">
+ <iframe src="https://geedea.pro/graph"
+ style="width:100%;height: 30rem;border-radius:5px;border:none"></iframe>
+ </div>
+ </section>
+ <hr>
+
+ <section>
+ <h2>外部链接排行</h2>
+ <p>我在页面中嵌入的外部链接主要来自以下域名,引用次数少于 3 的已被排除。</p>
+ {{ partial "components/external-link-rank" . }}
+ </section>
+ </article>
+ {{ partial "footer.html" . }}
+{{ end }}