diff --git a/_includes/base_path b/_includes/base_path index 8c7dc62b..36826c4f 100644 --- a/_includes/base_path +++ b/_includes/base_path @@ -1 +1,5 @@ -{% capture base_path %}{{ site.url }}{{ site.baseurl }}{% endcapture %} \ No newline at end of file +{% if site.url %} + {% assign base_path = site.url | append: site.baseurl %} +{% else %} + {% assign base_path = site.github.url %} +{% endif %} \ No newline at end of file