-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.ftl
132 lines (130 loc) · 6.34 KB
/
archives.ftl
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<#include "module/macro.ftl">
<@layout title="${blog_title!}">
<#include "module/common-search.ftl">
<div class="content" >
<div class="siteforceSldsOneColLayout siteforceContentArea">
<div class="slds-col--padded comm-content-header comm-layout-column" >
</div>
<div class="slds-col--padded contentRegion comm-layout-column" >
<div data-region-name="content" >
<div data-priority="" class="ui-widget">
<article class="slds-card CoveoV2CommunitySearch cCommunitySearchExternal">
<div class="slds-card" >
<div class="CoveoV2SearchUI" data-aura-class="CoveoV2SearchUI">
</div>
<div class="CoveoV2SearchUI" data-aura-class="CoveoV2SearchUI">
<div id="search" class="CoveoSearchInterface CoveoUserProfileModel Coveostate CoveoComponentState CoveoComponentOptions CoveoQueryController CoveoHistoryController coveo-after-initialization CoveoDebug"
data-enable-history="true" data-design="new" style="display: block;">
<div class="flex CoveoBackgroundManager white">
<#include "module/category-left.ftl">
<div class="coveo-results-column" id="div1">
<#if posts.content?size gt 0>
<#include "module/articles-list.ftl">
<div class="pagination-section">
<div class="CoveoResultsPerPage">
<#-- <span class="coveo-results-per-page-text">
Results per page
</span>
<ul class="coveo-results-per-page-list">
<li class="coveo-results-per-page-list-item coveo-active coveo-accessible-button"
tabindex="0" role="button" aria-label="Display 10 results per page">
<a class="coveo-results-per-page-list-item-text">
10
</a>
</li>
<li class="coveo-results-per-page-list-item coveo-accessible-button" tabindex="0"
role="button" aria-label="Display 25 results per page">
<a class="coveo-results-per-page-list-item-text">
25
</a>
</li>
<li class="coveo-results-per-page-list-item coveo-accessible-button" tabindex="0"
role="button" aria-label="Display 50 results per page">
<a class="coveo-results-per-page-list-item-text" name="&lpos=content : 31"
onclick="s_objectID='content : 50 : 31'">
50
</a>
</li>
<li class="coveo-results-per-page-list-item coveo-accessible-button" tabindex="0"
role="button" aria-label="Display 100 results per page">
<a class="coveo-results-per-page-list-item-text" name="&lpos=content : 32"
onclick="s_objectID='content : 100 : 32'">
100
</a>
</li>
</ul>
-->
</div>
<div class="CoveoPager">
<@paginationTag method="archives" page="${posts.number}" total="${posts.totalPages}" display="3">
<#if (posts.totalPages==0 )>
<#elseif (posts.totalPages==1 )>
<#else>
<ul class="coveo-pager-list">
<#if pagination.hasPrev>
<li class="coveo-pager-previous coveo-pager-anchor coveo-pager-list-item coveo-accessible-button"
role="button" aria-label="Previous" tabindex="0">
<a title="Previous" href="${pagination.prevPageFullPath!}">
<span class="coveo-pager-previous-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 20" alt="Left Arrow"
class="coveo-pager-previous-icon-svg">
<g fill="currentColor">
<path d="m10.692 1.811c.412-.413.411-1.086 0-1.5-.2-.201-.465-.311-.746-.311-.283 0-.548.11-.747.31l-8.892 8.939c-.198.2-.307.466-.307.75 0 .286.109.551.305.748l8.893 8.941c.2.201.466.312.748.312h.001c.281 0 .546-.11.745-.309.199-.201.308-.468.308-.753 0-.284-.109-.548-.306-.745l-8.146-8.194z">
</path>
</g>
</svg>
</span>
</a>
</li>
</#if>
<#list pagination.rainbowPages as number>
<#if number.isCurrent>
<li class="coveo-pager-list-item coveo-active coveo-accessible-button">
<a class="coveo-pager-list-item-text coveo-pager-anchor" >
${number.page!}
</a>
</li>
<#else>
<li class="coveo-pager-list-item coveo-accessible-button">
<a class="coveo-pager-list-item-text coveo-pager-anchor" href="${number.fullPath!}">
${number.page!}
</a>
</li>
</#if>
</#list>
<#if pagination.hasNext && (pagination.rainbowPages?size gt 0)>
<li class="coveo-pager-next coveo-pager-anchor coveo-pager-list-item coveo-accessible-button"
role="button" aria-label="Next" tabindex="0">
<a title="Next" href="${pagination.nextPageFullPath!}">
<span class="coveo-pager-next-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 20" alt="Right Arrow"
class="coveo-pager-next-icon-svg">
<g fill="currentColor">
<path d="m .308 18.189c-.412.413-.411 1.086 0 1.5.2.201.465.311.746.311.282 0 .547-.11.747-.31l8.891-8.939c.199-.2.307-.466.307-.75 0-.286-.109-.551-.305-.748l-8.893-8.942c-.199-.2-.465-.311-.747-.311-.001 0-.001 0-.001 0-.281 0-.546.11-.745.309-.198.201-.308.468-.308.753 0 .284.11.548.306.745l8.145 8.193z">
</path>
</g>
</svg>
</span>
</a>
</li>
</#if>
</ul>
</#if>
</@paginationTag>
</div>
</div>
<#else>
<#include "module/no-find.ftl">
</#if>
</div>
</div>
</div>
</div>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
</@layout>