use local static resources instaded of cdn

feature/cover-image
nodejh 8 years ago
parent 01ded5bca7
commit fe7cf1d508

@ -27,10 +27,12 @@
</span> </span>
</h2> </h2>
</header> </header>
{{ if .TableOfContents }} {{ if .Site.Params.enableToc }}
<div id="toc"> {{ if .TableOfContents }}
{{ .TableOfContents }} <div id="toc">
</div> {{ .TableOfContents }}
</div>
{{ end }}
{{ end }} {{ end }}
<section id="post-body"> <section id="post-body">
{{ .Content }} {{ .Content }}

@ -10,13 +10,13 @@
<title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title> <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico"> <link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/atom-one-light.min.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.css">
{{ range .Site.Params.customCSS }} {{ range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}"> <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }} {{ end }}
{{ if eq .Site.Params.iconFont "font-awesome" }} {{ if eq .Site.Params.iconFont "font-awesome" }}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/font-awesome.min.css">
{{ else }} {{ else }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/monosocialiconsfont.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/monosocialiconsfont.css">
{{ end }} {{ end }}

@ -1,6 +1,6 @@
<script src="https://code.jquery.com/jquery-2.2.4.js"></script> <script src="{{ .Site.BaseURL }}js/jquery-2.2.4.min.js"></script>
<script src="{{ .Site.BaseURL }}js/main.js"></script> <script src="{{ .Site.BaseURL }}js/main.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script> <script src="{{ .Site.BaseURL }}js/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script> <script>hljs.initHighlightingOnLoad();</script>
{{ range .Site.Params.customJS }} {{ range .Site.Params.customJS }}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save