Run the following command in the root directory of hexo:
1
npm install hexo-tag-owl --save
Introduction
Component Concept
All components are wrapped by a <div> tag with several classes. All components have at least one class .owl-media:
1
<div class="owl-media">[component]</div>
Auto Stylesheet Embedding
Because the components are lack of CSS, everyone can add some CSS for one’s preference. Here provide a default CSS written in stylus at lib/asset/css.styl.
1 2 3
owl: css: default file: owl.css
css: whether insert default stylesheet or not, with following values
default: use default stylesheet at lib/asset/css.styl
custom: use custom stylesheet with path at file
none: unable this feature
default values: none
file: assign the path of stylesheet when css is not none, and default value is owl.css
Videos
Every components of this category have additional class .owl-video.