Skip to content

Commit 9a9b0eb

Browse files
removed the use of an external CDN for assets (#1433)
1 parent 48be0c5 commit 9a9b0eb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/_layouts/default.liquid

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ layout: plugins/compress
4949
{% if prev %}<link rel="prev" href="{{ prev.url | absolute_url }}">{% endif %}
5050
{% if next %}<link rel="next" href="{{ next.url | absolute_url }}">{% endif %}
5151
<!-- theme -->
52-
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme.css">
53-
<link rel="stylesheet" href="{{ cdn }}/assets/css/rougify/{{ site.rougify | default: 'github' }}.css">
52+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/theme.css">
53+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/rougify/{{ site.rougify | default: 'github' }}.css">
5454
<style>{{ site_scss | scssify | strip_newlines }}</style>
5555
<!-- icon -->
5656
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicon32.png">
5757
<!-- script -->
58-
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
58+
<script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
5959
<script>
6060
const ui = {
6161
baseurl: "{{ site.baseurl }}",
@@ -114,7 +114,7 @@ layout: plugins/compress
114114
{%- if site.addons %}{% include addons.liquid %}{% endif %}
115115
{% include extra/footer.html %}
116116
<!-- script -->
117-
<script src="{{ cdn }}/assets/js/anchor.min.js"></script>
117+
<script src="{{ site.baseurl }}/assets/js/anchor.min.js"></script>
118118
<script>
119119
{% include assets/common.js %}
120120
{% include assets/custom.js %} {{ site.script }}

0 commit comments

Comments
 (0)