summaryrefslogtreecommitdiff
path: root/layouts/stats.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:05:44 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:05:44 +0800
commit3cb68b6d5231ac9932b521dee767aae19ae1ca60 (patch)
treed19a8819ab59b68498c049b270582c5a30371e9d /layouts/stats.html
parent54b306460dd67be4c0f41dee3d8ec5d6014178a7 (diff)
refactor: keep layouts folder structure up to standards
Former-commit-id: 44c7def3f6958550ccf965971f1819c1d6c514f1
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 }}