mirror of
https://github.com/getpelican/pelican.git
synced 2026-06-05 16:56:56 +02:00
Merge 4449b17a89 into fe33d3eed5
This commit is contained in:
commit
7053a30dbe
2 changed files with 76 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