浏览代码

Fix typo/formatting

Daniel Rudolf 9 年之前
父节点
当前提交
15515ff3fd
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 4 4
      content-sample/index.md
  2. 2 2
      plugins/DummyPlugin.php

+ 4 - 4
content-sample/index.md

@@ -83,15 +83,15 @@ There are also certain variables that you can use in your text files:
 * <code>&#37;base_url&#37;</code> - The URL to your Pico site; internal links
   can be specified using <code>&#37;base_url&#37;?sub/page</code>
 * <code>&#37;theme_url&#37;</code> - The URL to the currently used theme
-* <code>&#37;meta.* &#37;</code> - Access any meta variable of the current page,
+* <code>&#37;meta.*&#37;</code> - Access any meta variable of the current page,
   e.g. <code>&#37;meta.author&#37;</code> is replaced with `Joe Bloggs`
 
 ### Blogging
 
 Pico is not blogging software - but makes it very easy for you to use it as a
-blog. You can find many plugins out there implementing typical
-blogging features like authentication, tagging, pagination and social plugins.
-See the below Plugins section for details.
+blog. You can find many plugins out there implementing typical blogging
+features like authentication, tagging, pagination and social plugins. See the
+below Plugins section for details.
 
 If you want to use Pico as a blogging software, you probably want to do
 something like the following:

+ 2 - 2
plugins/DummyPlugin.php

@@ -28,7 +28,7 @@ class DummyPlugin extends AbstractPicoPlugin
     protected $dependsOn = array();
 
     /**
-     * Triggered after has Pico loaded all available plugins
+     * Triggered after Pico has loaded all available plugins
      *
      * This event is triggered nevertheless the plugin is enabled or not.
      * It is NOT guaranteed that plugin dependencies are fulfilled!
@@ -129,7 +129,7 @@ class DummyPlugin extends AbstractPicoPlugin
     }
 
     /**
-     * Triggered when Pico reads its known meta/header fields
+     * Triggered when Pico reads its known meta header fields
      *
      * @see    Pico::getMetaHeaders()
      * @param  array<string> &$headers list of known meta header fields