hacks-guide-minimal-mistake.../_includes/base_path

5 lines
No EOL
142 B
Text

{% if site.url %}
{% assign base_path = site.url | append: site.baseurl %}
{% else %}
{% assign base_path = site.github.url %}
{% endif %}