Skip to content

Commit e42101a

Browse files
Refactor base URL assignment logic in variables.liquid
Signed-off-by: GitHub <noreply@github.com>
1 parent 57a7142 commit e42101a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

_includes/common/rest/variables.liquid

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,4 @@
2323
{%- assign schema_date = page.date | default: rest_created_at | date_to_xmlschema -%}
2424
{%- assign schema_modi = site.time | date_to_xmlschema -%}
2525
{%- assign schema_surl = page.url | absolute_url | xml_escape -%}
26-
27-
{% comment %} debug {% endcomment %}
28-
{%- if site.debug -%}
29-
{%- assign base = site.baseurl -%}
30-
{%- else -%}
31-
{%- assign base = "https://cdn.jsdelivr.net/gh/" | append: theme_alias -%}
32-
{%- endif -%}
26+
{%- assign base = site.baseurl -%}

0 commit comments

Comments
 (0)