Skip to content

Commit f9301ff

Browse files
committed
Merge branch 'master' into self-hosted
2 parents f173e94 + add4bdd commit f9301ff

File tree

5 files changed

+41
-7
lines changed

5 files changed

+41
-7
lines changed

_includes/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
33
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
44
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-700.woff2" as="font" type="font/woff2" crossorigin>
5-
<script>document.documentElement.className='js'</script>
6-
<link rel="stylesheet" href="https://textpattern.com/assets/css/style.css">
5+
<script src="https://textpattern.com/assets/js/detect.js"></script>
6+
<link rel="stylesheet" media="screen"href="https://textpattern.com/assets/css/screen.css">
7+
<link rel="stylesheet" media="print" href="https://textpattern.com/assets/css/print.css">
78
<link rel="icon" href="/favicon.ico">
89
<link rel="icon" href="/icon.svg" type="image/svg+xml">
910
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
1011
<link rel="manifest" href="/site.webmanifest">
1112
<meta name="color-scheme" content="dark light">
1213
<meta name="theme-color" content="#ffda44">
13-
<meta name="author" content="{{ site.author }}">
1414
<meta name="application-name" content="Textpattern CMS Documentation">
1515
<script defer src="https://textpattern.com/assets/js/app.js"></script>

tags/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Tag will accept content/behaviour and presentation attributes (**case-sensitive*
9696
: **Default:** `0`.
9797

9898
`searchall="boolean"`
99-
: When outputting search results, include only those articles with 'Include in site search' set on the Sections panel. If set to `0`, only articles in the current section are displayed. See @@Fixing search results@@ for more.
99+
: When outputting search results, include only those articles with 'Include in site search' set on the Sections panel. If set to `0`, only articles in the current section are displayed.
100100
: **Values:** `0` (no) or `1` (yes).
101101
: **Default:** `1`.
102102

tags/hide.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@ tags:
1818
## Syntax
1919

2020
~~~ html
21-
<txp:hide />
21+
<txp:hide>
22+
~~~
23+
24+
The **hide** tag is a *conditional* tag and always used as an opening and closing pair, like this…
25+
26+
~~~ html
27+
<txp:hide>
28+
…conditional statement…
29+
</txp:hide>
2230
~~~
2331

24-
The **hide** tag is a *container* tag which is used to suppress or postpone the interpretation of all enclosed contents. Use it for comments, temporary concealment of article text parts or non-destructive form changes.
32+
The **hide** tag is used to suppress or postpone the interpretation of all enclosed contents. Use it for comments, temporary concealment of article text parts or non-destructive form changes.
2533

2634
## Attributes
2735

tags/shortcodes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: landing
33
category: Shortcodes
44
published: true
55
title: Shortcode examples
6-
description: A collection of useful shortcodes that are ready to use
6+
description: A collection of useful shortcodes that are ready to use.
77
---
88

99
# Shortcode examples

tags/tag-basics/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: landing
3+
category: Tag basics
4+
published: true
5+
title: Tag basics
6+
description: The fundamentals of the Textpattern tag syntax explained. How to structure your tags and how they are parsed by the CMS.
7+
---
8+
9+
# Learning Textpattern tags
10+
11+
Textpattern tags are an indispensable feature of Textpattern. They provide a markup-like approach to working with Textpattern's core functionality without having to know any PHP. The functions themselves represent content components, their sources, and a means of displaying them.
12+
13+
The tags may be added to Page templates and/or Form templates in a variety of ways depending on what you are trying to do. The tags are replaced with the content output they fetch, as users move from one page to another in your site.
14+
15+
Below are a series of tag fundamentals, which will get you up and running with Textpattern tags. To learn precise details about the tags themselves, see the [Tags Reference](/tags/).
16+
17+
## Tag basics topics
18+
19+
1. [Self-closed versus container tags](/tags/tag-basics/self-closed-versus-container-tags)
20+
2. [Conditional tags](/tags/tag-basics/conditional-tags)
21+
3. [Tag nesting](/tags/tag-basics/tag-nesting)
22+
4. [Parsing tag attributes](/tags/tag-basics/parsing-tag-attributes)
23+
5. [Parser and passes](/tags/tag-basics/parser-and-passes)
24+
6. [Incorrect tag contexts](/tags/tag-basics/incorrect-tag-contexts)
25+
7. [Integrated tag notation](/tags/tag-basics/integrated-tag-notation)
26+
8. [Core short-tags](/tags/tag-basics/core-short-tags)

0 commit comments

Comments
 (0)