summaryrefslogtreecommitdiff
path: root/layouts/stats.html
blob: ea0f3e2a625b40d5742a87b120558ea9766c4e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{ define "main" }}
    <article>
        <section>
            {{ partial "stats/stats-table" . }}
        </section>

        <section>
            <h2>每月文章字数</h2>
            {{ partial "stats/word-count-chart" . }}
        </section>

        <section>
            <h2>文章发布时间段分布</h2>
            <div class="outbox">
                {{ partial "stats/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://www.geedea.pro/graph.html"
                    style="width:100%;height: 30rem;border-radius:5px;border:none"></iframe>
            </div>
        </section>
        <hr>
    </article>
{{ end }}