diff options
| author | 南小北 <nanxiaobei@gmail.com> | 2018-10-31 22:26:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-31 22:26:59 +0800 |
| commit | cca0bfeb0e2c17fb99b24da71133e9958875aee1 (patch) | |
| tree | 4b4b94c3698917767dcdb55f14c8435b1292f2be /layouts | |
| parent | 27edd6d94ea32e0a91651ab9f3431fc675892dc8 (diff) | |
| parent | 9db7d78fbde28918a0ea7e33df9a969f07f8f3d2 (diff) | |
Merge pull request #18 from dnlwgnr89/master
Removed laggy CDN hosts
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/footer.html | 3 | ||||
| -rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1335b5f..fc18635 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,8 +6,9 @@ <span>·</span> <span>Designed by <a href="http://21beats.com/" rel="noopener" target="_blank">️21beats️</a>️</span> </footer> -<script src="https://cdn.bootcss.com/instantclick/3.0.1/instantclick.min.js" data-no-instant></script> +<script src="{{.Site.BaseURL}}js/instantclick.min.js" data-no-instant></script> <script data-no-instant>InstantClick.init();</script> +<script src="{{.Site.BaseURL}}js/highlight.min.js" data-no-instant></script> <script data-no-instant> addMenuListener(); InstantClick.on('change', function() { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b12278b..c892f67 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -22,6 +22,8 @@ <meta name="author" content="{{ .Site.Params.author }}"> {{ end -}} <!-- Styles --> + <link href="{{.Site.BaseURL}}css/font.css" rel="stylesheet"> + <link href="{{.Site.BaseURL}}css/atom-one-dark.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i" rel="stylesheet"> <link href="{{.Site.BaseURL}}css/style.css" rel="stylesheet"> <!-- Favicons --> |
