mirror of
https://github.com/getpelican/pelican.git
synced 2026-05-28 15:16:13 +02:00
Added documentation about Vimeo and YouTube directives
This commit is contained in:
parent
5a00166a33
commit
4449b17a89
1 changed files with 17 additions and 0 deletions
|
|
@ -390,6 +390,23 @@ following to ``pelicanconf.py``::
|
|||
|
||||
And then the ``pdfs`` directory would also be copied to ``output/static/``.
|
||||
|
||||
Adding videos from YouTube or Vimeo to your content
|
||||
---------------------------------------------------
|
||||
|
||||
You can easily embed videos from YouTube or Vimeo using the relevant directives,
|
||||
each directive requires a video ID and you can optionally specify a width, height
|
||||
and alignment::
|
||||
|
||||
.. youtube:: VIDEO_ID
|
||||
:width: 640
|
||||
:height: 480
|
||||
:align: center
|
||||
|
||||
.. vimeo:: VIDEO_ID
|
||||
:width: 640
|
||||
:height: 480
|
||||
:align: center
|
||||
|
||||
Importing an existing blog
|
||||
--------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue