私が知る限り、セクション/データ ソースを正しく設定しました。system:pagination を含むように設定されており、3 エントリごとにページネーションも行われます。
ページネーションを取得するために、人気のあるxslt ユーティリティを使用しています
これはアーカイブ/カテゴリ ページです。
<xsl:import href="../utilities/master.xsl"/>
<xsl:import href="../utilities/pagination.xsl"/>
<xsl:import href="../utilities/get-article.xsl"/>
<xsl:template match="data">
<div class="col span-9">
<div class="span-9">
<h4 class="nudge-3"><xsl:value-of select="categories/entry/title[@handle = $category]"/></h4>
</div>
<xsl:apply-templates select="archive-listing/entry" mode="short"/>
<xsl:call-template name="pagination">
<xsl:with-param name="pagination" select="archive-listing/pagination"/>
<xsl:with-param name="pagination-url" select="{$current-url}/archive/category/{title/@handle}?page=$"/>
</div>
</xsl:call-template>
<div id="sidebar" class="col last span-3">
<xsl:call-template name="social"/>
<xsl:call-template name="category"/>
<xsl:call-template name="tag"/>
<xsl:call-template name="external-links"/>
</div>
</xsl:template>
</xsl:stylesheet>
ページネーションの唯一の発生を示す私の ?debug は次のとおりです。
<archive-listing>
<pagination total-entries="11" total-pages="4" entries-per-page="3" current-page="1" />
とにかく、ここに解決策があります。callovarne のアドバイスに従い、彼が私に言った手順を実行することで、私はこれにたどり着くことができました。そのため、その問題が発生している場合は、必ずチェックしてください。
<xsl:apply-templates select="archive-listing/entry" mode="short"/>
<xsl:call-template name="pagination">
<xsl:with-param name="pagination" select="archive-listing/pagination"/>
<xsl:with-param name="pagination-url" select="concat($root, '/archive/category/', $category, '/$')"/>