Skip to content

Commit 84f4842

Browse files
committed
1 parent 698dcf5 commit 84f4842

18 files changed

Lines changed: 42 additions & 48 deletions

File tree

dist/four-point-seven/forms/article/article_listing.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<txp:text item="author" />
2323
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
2424
<span itemprop="name">
25-
<txp:author link="1" this_section="1" />
25+
<txp:author link this_section />
2626
</span>
2727
</span>
2828
</p>

dist/four-point-seven/forms/article/default.txp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</strong>
6060
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
6161
<span itemprop="name">
62-
<txp:author link="1" this_section="1" />
62+
<txp:author link this_section />
6363
</span>
6464
</span>
6565

@@ -72,13 +72,13 @@
7272
<span itemprop="keywords">
7373
<txp:if_article_category number="1">
7474
<txp:if_article_category number="2">
75-
<txp:category1 title="1" link="1" />,
76-
<txp:category2 title="1" link="1" />
75+
<txp:category1 title link />,
76+
<txp:category2 title link />
7777
<txp:else />
78-
<txp:category1 title="1" link="1" />
78+
<txp:category1 title link />
7979
</txp:if_article_category>
8080
<txp:else />
81-
<txp:category2 title="1" link="1" />
81+
<txp:category2 title link />
8282
</txp:if_article_category>
8383
</span>
8484
</txp:if_article_category>

dist/four-point-seven/forms/article/search_results.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<txp:text item="author" />
5454
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
5555
<span itemprop="name">
56-
<txp:author link="1" this_section="1" />
56+
<txp:author link this_section />
5757
</span>
5858
</span>
5959
</p>

dist/four-point-seven/forms/comment/comments_display.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<!-- comment invite text is taken for the article's comment invitation field on the 'write' screen -->
7070
<h3>
71-
<txp:comments_invite showcount="0" textonly="1" showalways="1" />
71+
<txp:comments_invite showcount="0" textonly showalways />
7272
</h3>
7373

7474
<!-- links by default to form: 'comment_form.comment.txp' unless you specify a different form -->

dist/four-point-seven/forms/file/files.txp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="<txp:file_download_link />" itemprop="url">
55
<strong itemprop="name">
66
<txp:evaluate>
7-
<txp:file_download_name title="1" />
7+
<txp:file_download_name title />
88
<txp:else />
99
<txp:file_download_name />
1010
</txp:evaluate>
@@ -26,7 +26,7 @@
2626
<txp:text item="category" />
2727
</strong>
2828
<span itemprop="keywords">
29-
<txp:file_download_category title="1" />
29+
<txp:file_download_category title />
3030
</span>
3131
&#183;
3232
</txp:evaluate>
@@ -36,7 +36,7 @@
3636
</strong>
3737
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
3838
<span itemprop="name">
39-
<txp:file_download_author link="1" />
39+
<txp:file_download_author link />
4040
</span>
4141
</span>
4242
&#183;

dist/four-point-seven/forms/misc/body_header.txp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
<nav class="site-navigation" aria-label="<txp:text item="navigation" />" itemscope itemtype="https://schema.org/SiteNavigationElement">
99
<div>
10-
<txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="">
10+
<txp:section_list default_title='<txp:text item="home" />' include_default wraptag="ul" break="">
1111
<li<txp:if_section name='<txp:section />'> class="active"</txp:if_section>>
12-
<a itemprop="url" href="<txp:section url="1" />">
13-
<txp:section title="1" />
12+
<a itemprop="url" href="<txp:section url />">
13+
<txp:section title />
1414
</a>
1515
</li>
1616
</txp:section_list>

dist/four-point-seven/forms/misc/images.txp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<!-- ...now use that image caption and wrap img inside a figure with figcaption tags, otherwise just use a plain img tag -->
55
<txp:if_variable name="caption" value="">
66

7-
<!-- image - overriding the width and height to let the image scale to fit parent container -->
87
<p itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
98
<img itemprop="url" src="<txp:image_url link='0' />" alt="<txp:image_info type='alt' />">
109
<meta itemprop="width" content="<txp:image_info type="w" />">

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,26 @@
2020
<txp:else />
2121
<txp:meta_description />
2222
<txp:if_article_list>
23-
<txp:article pgonly="1" limit="10" />
2423
<txp:variable name="page" value='<txp:page_url type="pg" />' />
2524
<txp:if_variable name="page" value="1">
2625
<meta name="robots" content="index, follow">
27-
<link rel="canonical" href="<txp:section url="1" />">
26+
<link rel="canonical" href="<txp:section url />">
2827
<script type="application/ld+json">
2928
{
3029
"@context": "https://schema.org",
3130
"@type": "Blog",
32-
"headline": "<txp:section title="1" escape="json" />",
31+
"headline": "<txp:section title escape="json" />",
3332
<txp:if_description>"description": "<txp:meta_description format="" escape="json" />",</txp:if_description>
34-
"url": "<txp:section url="1" />"
33+
"url": "<txp:section url />"
3534
}
3635
</script>
3736
<txp:else />
3837
<meta name="robots" content="noindex, follow">
3938
</txp:if_variable>
4039
<txp:else />
4140
<txp:meta_keywords separator="," />
42-
<txp:meta_author title="1" />
43-
<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>">
41+
<txp:meta_author title />
42+
<meta name="robots" content="<txp:if_expires>unavailable_after: <txp:expires gmt format="%d-%b-%y %T" /> GMT<txp:else />index, follow</txp:if_expires>">
4443
<link rel="canonical" href="<txp:permlink />">
4544
<meta property="og:site_name" content="<txp:site_name />">
4645
<meta property="og:type" content="article">
@@ -91,7 +90,7 @@
9190

9291
<txp:if_article_list>
9392

94-
<h1 itemprop="name"><txp:section title="1" /></h1>
93+
<h1 itemprop="name"><txp:section title /></h1>
9594
<txp:article class="article-list" form="article_listing" limit="10" wraptag="ul" />
9695
<!-- ...or if you want to list all articles from all sections instead, then replace txp:article with txp:article_custom -->
9796

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<txp:if_category>
2626
<meta name="robots" content="noindex, follow">
2727
<txp:else />
28-
<txp:article pgonly="1" limit="5" />
2928
<txp:variable name="page" value='<txp:page_url type="pg" />' />
3029
<txp:if_variable name="page" value="1">
3130
<meta name="robots" content="index, follow">
@@ -89,7 +88,7 @@
8988
<txp:else />
9089
<!-- else is this an article category list? -->
9190
<txp:if_category>
92-
<h1 itemprop="name"><txp:text item="category" /> <txp:category title="1" /></h1>
91+
<h1 itemprop="name"><txp:text item="category" /> <txp:category title /></h1>
9392
</txp:if_category>
9493
</txp:if_author>
9594
<txp:article form="article_listing" limit="10" wraptag="ul" class="article-list" />

src/templates/forms/article/article_listing.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<txp:text item="author" />
2323
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
2424
<span itemprop="name">
25-
<txp:author link="1" this_section="1" />
25+
<txp:author link this_section />
2626
</span>
2727
</span>
2828
</p>

0 commit comments

Comments
 (0)