|
@@ -14,8 +14,8 @@ First, in your pelicanconf.py file, add the plugins you want to use:
|
|
|
|
|
|
PLUGIN_PATH = '/path/to/pelican-plugins'
|
|
PLUGIN_PATH = '/path/to/pelican-plugins'
|
|
PLUGINS = ['liquid_tags.img', 'liquid_tags.video',
|
|
PLUGINS = ['liquid_tags.img', 'liquid_tags.video',
|
|
- 'liquid_tags.youtube', 'liquid_tags.include_code',
|
|
|
|
- 'liquid_tags.notebook']
|
|
|
|
|
|
+ 'liquid_tags.youtube', 'liquid_tags.vimeo',
|
|
|
|
+ 'liquid_tags.include_code', 'liquid_tags.notebook']
|
|
|
|
|
|
There are several options available
|
|
There are several options available
|
|
|
|
|
|
@@ -34,6 +34,15 @@ To insert youtube video into a post, enable the
|
|
The width and height are in pixels, and can be optionally specified. If they
|
|
The width and height are in pixels, and can be optionally specified. If they
|
|
are not, then the dimensions will be 640 (wide) by 390 (tall).
|
|
are not, then the dimensions will be 640 (wide) by 390 (tall).
|
|
|
|
|
|
|
|
+## Vimeo Tag
|
|
|
|
+To insert a Vimeo video into a post, enable the
|
|
|
|
+``liquid_tags.vimeo`` plugin, and add to your document:
|
|
|
|
+
|
|
|
|
+ {% vimeo vimeo_id [width] [height] %}
|
|
|
|
+
|
|
|
|
+The width and height are in pixels, and can be optionally specified. If they
|
|
|
|
+are not, then the dimensions will be 640 (wide) by 390 (tall).
|
|
|
|
+
|
|
## Video Tag
|
|
## Video Tag
|
|
To insert flash/HTML5-friendly video into a post, enable the
|
|
To insert flash/HTML5-friendly video into a post, enable the
|
|
``liquid_tags.video`` plugin, and add to your document:
|
|
``liquid_tags.video`` plugin, and add to your document:
|