Skip to content

Commit c8a5aa8

Browse files
committed
Add more tags
1 parent fc41ce1 commit c8a5aa8

File tree

29 files changed

+128
-26
lines changed

29 files changed

+128
-26
lines changed

content/docs/2_cookbook/2_content/0_dynamic-og-images/cookbook-recipe.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ For example, a colored rectangle:
136136

137137
```php "/site/templates/article.png.php"
138138
$brandColor = imagecolorallocate($canvas, 246, 211, 85);
139-
139+
140140
imagefilledrectangle($canvas, 100, 100, 115, 525, $brandColor);
141141
```
142142

@@ -205,3 +205,6 @@ imagedestroy($canvas);
205205
<warning>
206206
Make sure that all paths to fonts and files as well as fieldnames used actually exist in your installation, otherwise this will not work as expected.
207207
</warning>
208+
209+
----
210+
Tags: media, content representations

content/docs/2_cookbook/2_content/0_filter-via-route/cookbook-recipe.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Here we use the `urldecode()`d page slug as our filter value.
176176
</ul>
177177
</article>
178178
<?php endforeach ?>
179-
<?php else : ?>
179+
<?php else : ?>
180180
<div>No results for tag <?= $tag ?></div>
181181
<?php endif ?>
182182
<?php snippet('footer') ?>
@@ -193,3 +193,8 @@ Published: 2019-04-23
193193
----
194194

195195
Authors: - authors/sonja-broda
196+
197+
----
198+
----
199+
Tags: filtering
200+
Tags: filtering

content/docs/2_cookbook/2_content/0_filtering-with-tags/cookbook-recipe.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ return function($page) {
151151

152152
// fetch the basic set of pages
153153
$articles = $page->children()->listed()->flip();
154-
154+
155155
// fetch all tags
156156
$tags = $articles->pluck('tags', ',', true);
157157

@@ -218,4 +218,7 @@ Description: Classify content and make it easy for visitors to find related cont
218218

219219
----
220220

221-
Authors: - authors/sonja-broda
221+
Authors: - authors/sonja-broda
222+
223+
----
224+
Tags: collections, filtering

content/docs/2_cookbook/2_content/0_filtering/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -302,3 +302,6 @@ Description: Filter pages, files and users with Kirby's extensive filtering meth
302302
----
303303

304304
Authors: - authors/sonja-broda
305+
306+
----
307+
Tags: collections, filtering

content/docs/2_cookbook/2_content/0_grouping-collections/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,7 @@ Description: Group collections like articles, events or files by various criteri
159159
----
160160

161161
Authors: - authors/sonja-broda
162+
163+
----
164+
165+
Tags: collections

content/docs/2_cookbook/2_content/0_related-articles/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ Thumbnail: related.png
7979
----
8080

8181
Authors: - authors/bastian-allgeier
82+
83+
----
84+
Tags: collections, relations

content/docs/2_cookbook/2_content/0_search/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,7 @@ Description: Learn how to build a simple search for your site or sections of you
149149
----
150150

151151
Authors: - authors/bastian-allgeier
152+
153+
----
154+
155+
Tags: collections, search

content/docs/2_cookbook/2_content/0_sorting/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,6 @@ Description: Use Kirby's API to sort your content by all sorts of criteria.
252252
----
253253

254254
Authors: - authors/sonja-broda
255+
256+
----
257+
Tags: collections, sorting

content/docs/2_cookbook/3_templating/0_ajax-load-more/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -337,3 +337,7 @@ Description: Add a load more button to your listings and append items via Ajax.
337337
----
338338

339339
Authors: - authors/sonja-broda
340+
341+
----
342+
343+
Tags: ajax

content/docs/2_cookbook/3_templating/0_art-directed-blog-posts/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ Description: Add custom CSS and JavaScript to style individual pages without the
6565
Authors:
6666

6767
- authors/bastian-allgeier
68+
69+
----
70+
71+
Tags: styling

content/docs/2_cookbook/3_templating/0_authors/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,7 @@ Description: Tie pages to a person. Create an author system for your blog posts.
181181
----
182182

183183
Authors: - authors/sonja-broda
184+
185+
----
186+
187+
Tags: blogging

content/docs/2_cookbook/3_templating/0_create-a-blog/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,7 @@ Description: Set up a blog system with an overview, articles, tags, feeds and mo
296296
----
297297

298298
Authors: - authors/bastian-allgeier
299+
300+
----
301+
302+
Tags: blogging

content/docs/2_cookbook/3_templating/0_custom-post-types/cookbook-recipe.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,8 @@ Description: Create different templates for different kinds of content.
143143

144144
----
145145

146-
Authors: - authors/sonja-broda
146+
Authors: - authors/sonja-broda
147+
148+
----
149+
150+
Tags: blogging

content/docs/2_cookbook/3_templating/0_fetching-field-options/cookbook-recipe.txt

+8-4
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ fields:
5757
label: Category
5858
type: select
5959
options:
60-
"Design":
60+
"Design":
6161
en: Design
6262
de: Design
6363
"Architecture":
6464
en: Architecture
6565
de: Architektur
66-
"Photography":
66+
"Photography":
6767
en: Photography
6868
de: Fotografie
69-
"3D":
69+
"3D":
7070
en: 3D
7171
de: 3D
7272
"Web design":
@@ -117,7 +117,7 @@ return [
117117
'en_US'
118118
],
119119
'name' => 'English',
120-
'translations' => [
120+
'translations' => [
121121
'design' => 'Design',
122122
'architecture' => 'Architecture',
123123
'photography' => 'Photography',
@@ -196,3 +196,7 @@ Description: Get text labels for your option values from fields
196196
----
197197

198198
Authors: - authors/sonja-broda
199+
200+
----
201+
202+
Tags: i18n

content/docs/2_cookbook/3_templating/0_fine-tuning-the-cache/cookbook-recipe.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Title: Quicktip: Fine-tuning cache settings
44

55
Text:
66

7-
(link: docs/guide/cache text: Cache options) are set via the `config.php` file. To prevent caching for certain pages, we can use the `ignore` option and either provide a list of page IDs to be ignored, or a callback function that returns a boolean for more control.
7+
(link: docs/guide/cache text: Cache options) are set via the `config.php` file. To prevent caching for certain pages, we can use the `ignore` option and either provide a list of page IDs to be ignored, or a callback function that returns a boolean for more control.
88

99
However, we can use this callback to make excluding pages from the cache much more dynamic without having to return to the `config` file every time we made some changes that require the cache settings to be adapted.
1010

@@ -100,4 +100,8 @@ Description: Control caching from a blueprint option or a field
100100

101101
----
102102

103-
Authors: - authors/sonja-broda
103+
Authors: - authors/sonja-broda
104+
105+
----
106+
107+
Tags: caching

content/docs/2_cookbook/3_templating/0_frontend-libraries/cookbook-recipe.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ Frontend libraries often contain links to CDNs from which you can load the requi
187187
- (link: docs/cookbook/extensions/kirby-loves-cdn text: Kirby loves CDN)
188188

189189

190+
----
190191

191-
192+
Tags: assets
192193

193194

194195

content/docs/2_cookbook/3_templating/0_generating-json/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,7 @@ Description: Create a JSON representation of your blog content in Kirby.
253253
----
254254

255255
Authors: - authors/bastian-allgeier
256+
257+
----
258+
259+
Tags: content representations

content/docs/2_cookbook/3_templating/0_keep_your_code_dry/cookbook-recipe.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Title: Quicktip: Don't repeat the same query multiple times
44

55
Text:
66

7-
Modularizing your code into resusable chunks to keep things organized and not repeat yourself is an important coding paradigm.
7+
Modularizing your code into reusable chunks to keep things organized and not repeat yourself is an important coding paradigm.
88

99
However, what is true for the big picture, is also true for the smaller chunks of code we produce daily in our templates.
1010

@@ -134,3 +134,6 @@ Description: "Don't repeat yourself" (DRY) is a coding paradigm that when not he
134134
----
135135

136136
Authors: - authors/sonja-broda
137+
138+
----
139+
Tags: templates

content/docs/2_cookbook/3_templating/0_loops/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,6 @@ Description: Foreach loops are control structures useful in many contexts.
215215
----
216216

217217
Authors: - authors/sonja-broda
218+
219+
----
220+
Tags: php, collections

content/docs/2_cookbook/3_templating/0_menu-builder/cookbook-recipe.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,8 @@ Description: Create custom menus from the Panel leveraging the power of the page
269269

270270
----
271271

272-
Authors: - authors/sonja-broda
272+
Authors: - authors/sonja-broda
273+
274+
----
275+
276+
Tags: navigation, menu

content/docs/2_cookbook/3_templating/0_menus/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,7 @@ Description: Create any kind of menu you need for your project.
298298
----
299299

300300
Authors: - authors/bastian-allgeier
301+
302+
----
303+
304+
Tags: navigation, menu

content/docs/2_cookbook/3_templating/0_paginating-posts/cookbook-recipe.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,8 @@ Description: Split long post into separate pages with pagination
148148

149149
----
150150

151-
Authors: - authors/sonja-broda
151+
Authors: - authors/sonja-broda
152+
153+
----
154+
155+
Tags: pagination, blogging

content/docs/2_cookbook/3_templating/0_pagination/cookbook-recipe.txt

+4
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,7 @@ Description: Use pagination to divide content into a list of digestible chunks.
131131
----
132132

133133
Authors: - authors/bastian-allgeier
134+
135+
----
136+
137+
Tags: pagination, collections

content/docs/2_cookbook/3_templating/0_php-templates/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -353,3 +353,6 @@ Description: Learn some PHP basics that make creating templates a breeze.
353353
----
354354

355355
Authors: - authors/sonja-broda
356+
357+
----
358+
Tags: php

content/docs/2_cookbook/3_templating/0_previous-next/cookbook-recipe.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ Description: Create a previous/next navigation for your site.
5252

5353
----
5454

55-
Authors: - authors/sonja-broda
55+
Authors: - authors/sonja-broda
56+
57+
----
58+
Tags: navigation

content/docs/2_cookbook/3_templating/0_shared-controllers/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,6 @@ return function ($page, $pages, $site, $kirby) {
208208

209209
};
210210
```
211+
212+
----
213+
Tags: controllers, templates

content/docs/2_cookbook/3_templating/0_translate-exception-messages/cookbook-recipe.txt

+3
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ Then use this option in your code:
8888
Kirby\Toolkit\I18n::$locale = option('locale');
8989
```
9090

91+
----
92+
93+
Tags: i18n

0 commit comments

Comments
 (0)