|
72 | 72 | <p class="copyright text-muted"> |
73 | 73 | Copyright © {{ site.title }} {{ site.time | date: '%Y' }} |
74 | 74 | <br> |
75 | | - Theme © <a href="http://huangxuan.me">Hux</a> | |
| 75 | + Theme by <a href="http://huangxuan.me">Hux</a> | |
76 | 76 | <iframe |
77 | 77 | style="margin-left: 2px; margin-bottom:-5px;" |
78 | 78 | frameborder="0" scrolling="0" width="91px" height="20px" |
|
106 | 106 | } |
107 | 107 | </script> |
108 | 108 |
|
109 | | -<!-- Highlight.js --> |
| 109 | +<!-- |
| 110 | + Because of the native support for backtick-style fenced code blocks |
| 111 | + right within the Markdown is landed in Github Pages, |
| 112 | + From V1.6, There is no need for Highlight.js, |
| 113 | + so Huxblog drops it officially. |
| 114 | +
|
| 115 | + - https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0 |
| 116 | + - https://help.github.com/articles/creating-and-highlighting-code-blocks/ |
| 117 | +--> |
| 118 | +<!-- |
| 119 | + <script> |
| 120 | + async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){ |
| 121 | + hljs.initHighlightingOnLoad(); |
| 122 | + }) |
| 123 | + </script> |
| 124 | + <link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet"> |
| 125 | +--> |
| 126 | + |
| 127 | + |
| 128 | +<!-- jquery.tagcloud.js --> |
110 | 129 | <script> |
111 | | - async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){ |
112 | | - hljs.initHighlightingOnLoad(); |
113 | | - }) |
114 | 130 | // only load tagcloud.js in tag.html |
115 | 131 | if($('#tag_cloud').length !== 0){ |
116 | 132 | async("/js/jquery.tagcloud.js",function(){ |
|
122 | 138 | }) |
123 | 139 | } |
124 | 140 | </script> |
125 | | -<link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet"> |
126 | 141 |
|
127 | 142 | <!--fastClick.js --> |
128 | 143 | <script> |
129 | 144 | async("http://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js", function(){ |
130 | | - // var $nav = document.querySelector("nav"); |
131 | | - // if($nav) FastClick.attach($nav); |
132 | | - |
133 | | - // global FastClick!! |
134 | | - FastClick.attach(document.body); |
| 145 | + var $nav = document.querySelector("nav"); |
| 146 | + if($nav) FastClick.attach($nav); |
135 | 147 | }) |
136 | 148 | </script> |
137 | 149 |
|
| 150 | + |
138 | 151 | <!-- Google Analytics --> |
139 | 152 | {% if site.ga_track_id %} |
140 | 153 | <script> |
|
172 | 185 | {% endif %} |
173 | 186 |
|
174 | 187 |
|
| 188 | + |
175 | 189 | <!-- Side Catalog --> |
176 | 190 | {% if page.catalog %} |
177 | 191 | <script type="text/javascript"> |
|
0 commit comments