diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/write/tutorial.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/write/tutorial.mdwn b/doc/plugins/write/tutorial.mdwn index bc1533f00..5be29b07c 100644 --- a/doc/plugins/write/tutorial.mdwn +++ b/doc/plugins/write/tutorial.mdwn @@ -2,7 +2,7 @@ This tutorial will walk you through [[writing|write]] your first ikiwiki plugin. What should the plugin do? Let's make it calculate and output the Fibonachi -sequense. To output the next number in the sequence, all a user has to do +sequence. To output the next number in the sequence, all a user has to do is write this on a wiki page: [[fib ]] @@ -119,7 +119,7 @@ the sequence in some cases. Obviously, using a global `$last` veriable was a bad idea. It would work ok in a more regular cgi-based wiki, which only outputs one page per run. But since ikiwiki is a wiki *compiler*, things are a bit more -complicated. It't not very hard to fix, though, if we do want the seqense +complicated. It's not very hard to fix, though, if we do want the sequence to start from 1 in every page that uses it. my %last; |