移除google CDN,以免被GFW挡住

This commit is contained in:
Zhicheng Wang 2016-04-09 22:20:10 +08:00
parent 068cf97d9b
commit eb7439e17f
2 changed files with 8 additions and 36 deletions

View File

@ -34,9 +34,9 @@ meta(itemprop="description" content="#{description}")
meta(itemprop="image" content="https://angular.io/resources/images/logos/standard/shield-large.png") meta(itemprop="image" content="https://angular.io/resources/images/logos/standard/shield-large.png")
link(rel="icon" type="image/x-icon" href="/resources/images/icons/favicon.ico") link(rel="icon" type="image/x-icon" href="/resources/images/icons/favicon.ico")
link(rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.0.0/angular-material.min.css") link(rel="stylesheet" href="/resources/css/vendor/angular-material.min.css")
link(href="https://fonts.googleapis.com/css?family=Roboto:400,300,500,400italic,700" rel='stylesheet' type='text/css') link(href="/resources/fonts/vendor/roboto.css" rel='stylesheet' type='text/css')
link(href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet") link(href="/resources/fonts/vendor/material-icons.css" rel="stylesheet")
link(rel="stylesheet" href="/resources/css/vendor/icomoon/style.css") link(rel="stylesheet" href="/resources/css/vendor/icomoon/style.css")
link(rel="stylesheet" href="/resources/css/vendor/animate.css") link(rel="stylesheet" href="/resources/css/vendor/animate.css")
link(rel="stylesheet" href="/resources/css/main.css") link(rel="stylesheet" href="/resources/css/main.css")

View File

@ -7,10 +7,10 @@ script(src="/resources/js/vendor/clipboard.min.js")
<!-- Angular Material Dependencies --> <!-- Angular Material Dependencies -->
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js") script(src="/resources/js/vendor/angular.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-animate.min.js") script(src="/resources/js/vendor/angular-animate.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-aria.min.js") script(src="/resources/js/vendor/angular-aria.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angular_material/1.0.0/angular-material.min.js") script(src="/resources/js/vendor/angular-material.min.js")
@ -27,31 +27,3 @@ script(src="/resources/js/directives/code-tabs.js")
script(src="/resources/js/directives/code-pane.js") script(src="/resources/js/directives/code-pane.js")
script(src="/resources/js/directives/code-example.js") script(src="/resources/js/directives/code-example.js")
script(src="/resources/js/directives/scroll-y-offset-element.js") script(src="/resources/js/directives/scroll-y-offset-element.js")
<!-- GA -->
script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-8594346-15', 'auto');
ga('send', 'pageview')
if current.path[0] == "docs"
<!-- SWIFTYPE -->
script.
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v1/st.js','_st');
_st('install','VsuU7kH5Hnnj9tfyNvfK');
<!-- Google Feedback -->
script(src="//www.gstatic.com/feedback/api.js" type="text/javascript")
<!-- Twitter Widget -->
script.
(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}})(document,"script","twitter-wjs");