{% else %}
{% comment %}
Drop the last component from site.baseurl which is supposed to
be pointing to a subdirectory of the true site baseurl.
{% endcomment %}
{% assign spliturl = site.baseurl | split: "/" %}
{% assign last = spliturl.size | minus: 1 %}
{% assign baseurl = spliturl | slice: 0, last | join: "/" %}
{% endif %}