Skip to content

Commit 872a074

Browse files
committed
Build
1 parent bb270d8 commit 872a074

1 file changed

Lines changed: 21 additions & 10 deletions

File tree

dist/four-point-seven/pages/archive.txp

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,28 @@
1414
<!-- ...or you can use (faster) external CSS files e.g. <link rel="stylesheet" href="<txp:page_url type="theme_path" />/styles/default.css"> -->
1515

1616
<meta name="generator" content="Textpattern CMS">
17-
<txp:meta_description />
18-
<txp:meta_keywords separator="," />
1917

20-
<txp:if_individual_article>
21-
<meta name="robots" content="<txp:if_expires>unavailable_after: <txp:expires gmt="1" format="%d-%b-%y %T" /> GMT<txp:else />index, follow</txp:if_expires>">
22-
<link rel="canonical" href="<txp:permlink />">
23-
<txp:meta_author title="1" />
24-
<txp:else />
18+
<txp:if_author>
2519
<meta name="robots" content="noindex, follow">
26-
<link rel="canonical" href="<txp:section url="1" />">
27-
</txp:if_individual_article>
20+
<txp:else />
21+
<txp:meta_description />
22+
<txp:if_article_list>
23+
<txp:article pgonly="1" limit="10" />
24+
<txp:variable name="page" value='<txp:page_url type="pg" />' />
25+
<txp:if_variable name="page" value="1">
26+
<meta name="robots" content="index, follow">
27+
<link rel="canonical" href="<txp:section url="1" />">
28+
<txp:else />
29+
<meta name="robots" content="noindex, follow">
30+
<link rel="canonical" href="<txp:section url="1" />?pg=<txp:page_url type="pg" />">
31+
</txp:if_variable>
32+
<txp:else />
33+
<txp:meta_keywords separator="," />
34+
<txp:meta_author title="1" />
35+
<meta name="robots" content="<txp:if_expires>unavailable_after: <txp:expires gmt="1" format="%d-%b-%y %T" /> GMT<txp:else />index, follow</txp:if_expires>">
36+
<link rel="canonical" href="<txp:permlink />">
37+
</txp:if_article_list>
38+
</txp:if_author>
2839

2940
<!-- content feeds -->
3041
<txp:feed_link flavor="atom" format="link" label="Atom" />
@@ -50,7 +61,7 @@
5061
<h1 itemprop="name">
5162
<txp:section title="1" />
5263
</h1>
53-
<txp:article class="article-list" form="article_listing" limit="5" wraptag="ul" />
64+
<txp:article class="article-list" form="article_listing" limit="10" wraptag="ul" />
5465
<!-- ...or if you want to list all articles from all sections instead, then replace txp:article with txp:article_custom -->
5566

5667
<!-- add pagination links to foot of article listings if there are more articles available -->

0 commit comments

Comments
 (0)