diff --git a/source/_posts/hexo-topic-feeds.md b/source/_posts/hexo-topic-feeds.md index cf64825..7aeb951 100644 --- a/source/_posts/hexo-topic-feeds.md +++ b/source/_posts/hexo-topic-feeds.md @@ -4,7 +4,7 @@ date: 2021-10-13 18:36:53 tags: - Hexo - RSS -categories: 博客功能更新 + - 博客功能更新 --- > RSS(英文全称:RDF Site Summary 或 Really Simple Syndication[2]),中文译作簡易資訊聚合[3],也称聚合内容[4],是一種消息來源格式規範,用以聚合多個網站更新的內容並自動通知網站訂閱者。使用 RSS 後,網站訂閱者便無需再手動查看網站是否有新的內容,同時 RSS 可將多個網站更新的內容進行整合,以摘要的形式呈現,有助於訂閱者快速獲取重要信息,並選擇性地點閱查看。 ———— [RSS - Wikipedia](https://zh.wikipedia.org/wiki/RSS) diff --git a/themes/cmd/layout/includes/paginator.njk b/themes/cmd/layout/includes/paginator.njk index a16cb56..10c39e2 100644 --- a/themes/cmd/layout/includes/paginator.njk +++ b/themes/cmd/layout/includes/paginator.njk @@ -7,7 +7,7 @@ {% endif %} - {% for n in range(1, page.total, 1) %} + {% for n in range(1, page.total+1, 1) %}
  • {{ n }}
  • diff --git a/themes/cmd/layout/index.njk b/themes/cmd/layout/index.njk index 8cbc3f3..2c12853 100644 --- a/themes/cmd/layout/index.njk +++ b/themes/cmd/layout/index.njk @@ -1,8 +1,17 @@ {% extends 'includes/layout.njk' %} -{% from "includes/paginator.njk" import Paginiation with context %} {% from "includes/postlist.njk" import PostList with context %} {% import "includes/cards.njk" as cards with context %} +{% macro HomePaginiation() %} + +{% endmacro %} + {% macro TagPanel(tags) %}
    Tags @@ -28,7 +37,7 @@ No Posts Here... {% endif %}
    - {{ Paginiation() }} + {{ HomePaginiation() }}