diff options
author | Aiden X <caichao.xu@gmail.com> | 2020-12-28 12:09:34 +0300 |
---|---|---|
committer | Aiden X <caichao.xu@gmail.com> | 2020-12-28 12:09:34 +0300 |
commit | 105d2c8c6b531b28c2355af0fe114150226f2fce (patch) | |
tree | 4bd84cc91c31acfe2c7dcdebea92fed70f78a4f3 /layouts | |
parent | 2126e6ecc20274d41cf0c4a8b1e29705b87c69df (diff) |
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 70a8a61..e113fd9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{ define "main" }} <div class="container"> <div class="main"> - {{ range (.Site.RegularPages.GroupByDate "2006") }} + {{ range (where .Site.RegularPages "Type" "in" .Site.Params.mainSections).GroupByDate "2006" }} <div class="posts"> <div class="year">{{ .Key }}</div> {{ range .Pages }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5f7fe30..505e6e3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,7 +11,6 @@ {{ end }} © {{ $year }} </span> - <a href="">粤ICP备120011798号</a> </footer> </div> <script src="https://cdn.staticfile.org/tocbot/4.11.2/tocbot.min.js"></script> |