How to detemine if jekyll running locally or in production site?

前端 未结 4 1748
谎友^
谎友^ 2021-02-13 03:25

There is a config param in jekyll called production_url. I can\'t find any information on how to use it.

Ideally i would like to be able to generate permalinks with loc

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-13 04:09

    This also worked for me:

    $ JEKYLL_ENV=production jekyll serve
    

提交回复
热议问题