diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-03 19:55:32 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-03 19:55:32 +0800 |
| commit | e83c0ee56d396d7cb3ccbef19672350082626b40 (patch) | |
| tree | 4824636997007c667bea91c1c26b1994a2048692 /layouts/section | |
| parent | 9822717294eb18dc3d61f1eb0a073901c612f9f8 (diff) | |
refactor: encapsulate heatmap component
Former-commit-id: 6267dd43a2910c8ae7257baaba5eacbf569518ab
Diffstat (limited to 'layouts/section')
| -rw-r--r-- | layouts/section/posts.html | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/section/posts.html b/layouts/section/posts.html index 8dd142f7..ebc7d0cd 100644 --- a/layouts/section/posts.html +++ b/layouts/section/posts.html @@ -3,12 +3,7 @@ {{ partial "header.html" . }} <div id="posts-archive" class="posts-list"> - <!-- Post Word-count Heatmap --> - <div id="cal-heatmap-container"> - <div id="cal-heatmap"></div> - </div> - <script>initCalHeatmap();</script> - + {{ partial "components/heatmap.html" . }} {{ partial "components/pagefind.html" . }} <!-- Post Archive List --> |
