Skip to content

Commit

Permalink
feat(theme): change to jsdelivr (hexojs#1032)
Browse files Browse the repository at this point in the history
* feat(theme): change to jsdelivr
  • Loading branch information
SukkaW authored and curbengh committed Aug 14, 2019
1 parent 4bbf6c4 commit 95dfbe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions themes/navy/layout/partial/after_footer.swig
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- Scripts -->
<!-- Cookie -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<!-- build:js build/js/main.js -->
{{ js('js/lang_select') }}
{{ js('js/toc') }}
{{ js('js/mobile_nav') }}
<!-- endbuild -->
{% if page.layout === 'plugins' %}
<!-- Plugin search -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.6/lunr.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lunr@2.3.6/lunr.min.js"></script>
<!-- Lazy load -->
<script async src="https://cdn.jsdelivr.net/lazysizes/3.0.0/lazysizes.min.js"></script>
<!-- build:js build/js/plugins.js -->
Expand Down
2 changes: 1 addition & 1 deletion themes/navy/layout/partial/head.swig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{{ css('css/navy') }}
<!-- endbuild -->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css">
<!-- RSS -->
{{ feed_tag('atom.xml') }}
Expand Down

0 comments on commit 95dfbe4

Please sign in to comment.