1 2 3 4 5
{% if site.url %} {% assign base_path = site.url | append: site.baseurl %} {% else %} {% assign base_path = site.github.url %} {% endif %}