Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Commit 3954c60

Browse files
author
Florens Verschelde
committed
Documentation tweaks
1 parent ab48306 commit 3954c60

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Twig Plugin for Kirby CMS
22
=========================
33

44
<figure>
5-
<img src="doc/kirby-plus-twig.png" width="200" alt="">
5+
<img src="doc/img/kirby-plus-twig.png" width="200" alt="">
66
</figure>
77

88
- Adds support for [Twig templates](http://twig.sensiolabs.org/) to [Kirby CMS](https://getkirby.com/) (2.3+).

doc/errors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[kirby-twig] How errors are displayed (or not)
2-
==============================================
1+
How errors are displayed (or not)
2+
=================================
33

44
With PHP templates, most errors are shown directly in the page. Things are a bit different with Twig: if an error is not suppressed, the template will *not* be rendered at all, and you end up with an error page.
55

@@ -13,7 +13,7 @@ If `c::get('debug')` is true:
1313
- A nice error page is shown, with an excerpt of the faulty template code.
1414

1515
<figure>
16-
<img src="errorpage.png" width="770" alt="">
16+
<img src="img/errorpage.png" width="770" alt="">
1717
</figure>
1818

1919
## In production

doc/functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[kirby-twig] Using your own functions in templates
2-
==================================================
1+
Using your own functions in templates
2+
=====================================
33

44

55
If you need to expose PHP functions or classes to your Twig templates, you can list them with those two options:
File renamed without changes.
File renamed without changes.

doc/options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[kirby-twig] Options documentation
2-
==================================
1+
Options documentation
2+
=====================
33

44
## Basic options
55

doc/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[kirby-twig] Twig support in Kirby plugins
2-
==========================================
1+
Twig support in Kirby plugins
2+
=============================
33

44
If you’re developing a Kirby plugin to share it with the Kirby community, it’s probably not a great idea to make it rely on kirby-twig. You should probably provide PHP templates or snippets.
55

doc/templating.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
kirby-twig: Twig templating guide
2-
=================================
1+
Twig templating guide
2+
=====================
33

44
This is a short guide of how to use Twig templates with Kirby CMS. It supposes that you have installed and enabled the Twig Plugin already.
55

0 commit comments

Comments
 (0)