mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
fix: correct the generation of relative resource paths (#1553)
This commit is contained in:
parent
5de0153df4
commit
89b962557a
@ -29,9 +29,9 @@
|
|||||||
%}
|
%}
|
||||||
|
|
||||||
{% if include.absolute %}
|
{% if include.absolute %}
|
||||||
{% assign url = url | absolute_url %}
|
{% assign url = site.url | append: site.base_url | append: url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign url = url | relative_url %}
|
{% assign url = site.base_url | append: url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user