Commit 898efd94 authored by Marcus M. Scheunemann's avatar Marcus M. Scheunemann

make youtube embeds responsive

parent 48c003c4
Pipeline #41708657 passed with stage
in 1 minute and 43 seconds
...@@ -5,5 +5,6 @@ BLE4HRI ...@@ -5,5 +5,6 @@ BLE4HRI
:modified: 2016-12-06 10:37 :modified: 2016-12-06 10:37
.. youtube:: n1WmNfRdajo .. youtube:: n1WmNfRdajo
:class: embed-responsive embed-responsive-16by9
More information in the corresponding `publication <{static}/publications/2016-Utilizing-Bluetooth-Low-Energy-to-recognize-proximity-touch-and-humans.pdf>`_. More information in the corresponding `publication <{static}/publications/2016-Utilizing-Bluetooth-Low-Energy-to-recognize-proximity-touch-and-humans.pdf>`_.
\ No newline at end of file
...@@ -108,6 +108,10 @@ PYGMENTS_RST_OPTIONS = {'linenos': 'table', 'anchorlinenos' : 'true'} ...@@ -108,6 +108,10 @@ PYGMENTS_RST_OPTIONS = {'linenos': 'table', 'anchorlinenos' : 'true'}
## ##
# installed via pip # installed via pip
PLUGINS.append('pelican_youtube') PLUGINS.append('pelican_youtube')
# adding to video directive
## :class: embed-responsive embed-responsive-16by9
# adding to bootstrapify
## 'iframe': ['embed-responsive-item'],
## ##
...@@ -139,6 +143,7 @@ BOOTSTRAPIFY = { ...@@ -139,6 +143,7 @@ BOOTSTRAPIFY = {
'img': ['img-fluid', 'border', 'border-primary'], 'img': ['img-fluid', 'border', 'border-primary'],
'blockquote': ['blockquote'], 'blockquote': ['blockquote'],
#'code': ['badge badge-light'] #'code': ['badge badge-light']
'iframe': ['embed-responsive-item'],
} }
## ##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment