Can Jekyll act over css or js files?

前端 未结 2 1803
梦谈多话
梦谈多话 2021-02-06 23:56

I\'m using Jekyll for one of my projects and it really seems a very good alternative for developing simple websites but maintaining some processes automated.

It\'s nice

2条回答
  •  臣服心动
    2021-02-07 00:41

    Yep. You just have to add a YAML block to the file, and Jekyll will process it. The YAML block can be empty:

    ---
    ---
    @import url("/stylesheets/reset.css?{{site.time | date: '%Y%m%d%H%M%S'}}");
    @import url("/stylesheets/config.css?{{site.time | date: '%Y%m%d%H%M%S'}}");
    

提交回复
热议问题