Teddy's Knowledge .NET, Open Source, Cassandra, RabbitMQ, ELK, Docker, etc

Installed jekyll-picture-tag plugin

Installed jekyll-picture-tag plugin to display pictures responsively in posts.

Steps to install:

Step 1: install gem;

gem install jekyll-picture-tag

Step 2: edit _config.yml according to: jekyll-picture-tag _config.yml example;

Step 3: add liquid tag to post;

{% picture 2015-1-20-1.jpg alt="picture 1" group="1" %}
{% picture 2015-1-20-2.jpg alt="picture 2" group="1" %}
picture 1 picture 2
沪ICP备19038610号