mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Optimize stylesheets a bit
This commit is contained in:
parent
9c8591d2e1
commit
eedba392d1
1 changed files with 24 additions and 15 deletions
|
|
@ -22,19 +22,13 @@
|
||||||
<meta name="msapplication-config" content="/images/browserconfig.xml">
|
<meta name="msapplication-config" content="/images/browserconfig.xml">
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
{% for style in styles %}
|
|
||||||
<link rel="stylesheet" href="{{ style }}">
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<link rel="author" type="text/plain" href="/humans.txt">
|
<link rel="author" type="text/plain" href="/humans.txt">
|
||||||
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" title="{{ site.title }}">
|
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" title="{{ site.title }}">
|
||||||
<link rel="alternate" type="application/json" href="{{ site.url }}/feed.json" title="{{ site.title }}">
|
<link rel="alternate" type="application/json" href="{{ site.url }}/feed.json" title="{{ site.title }}">
|
||||||
|
|
||||||
<link rel="dns-prefetch" href="https://gist.github.com">
|
|
||||||
|
|
||||||
<link rel="dns-prefetch" href="https://use.typekit.net">
|
<link rel="dns-prefetch" href="https://use.typekit.net">
|
||||||
<script src="https://use.typekit.net/tcm1whv.js" crossorigin="anonymous"></script>
|
<link rel="dns-prefetch" href="https://netdna.bootstrapcdn.com">
|
||||||
<script>try{Typekit.load({ async: true });}catch(e){}</script>
|
<link rel="dns-prefetch" href="https://gist.github.com">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
{% if bodyClassNames %}
|
{% if bodyClassNames %}
|
||||||
|
|
@ -70,15 +64,30 @@
|
||||||
© 2006 - {{ currentYear }} <a href="/about">{{ site.author }}</a>
|
© 2006 - {{ currentYear }} <a href="/about">{{ site.author }}</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
{% for style in styles %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function() {
|
(function() {
|
||||||
var css = document.createElement('link');
|
var css = document.createElement('link');
|
||||||
css.href = '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css';
|
css.href = '{{ style }}';
|
||||||
css.rel = 'stylesheet';
|
css.rel = 'stylesheet';
|
||||||
css.type = 'text/css';
|
css.type = 'text/css';
|
||||||
document.getElementsByTagName('head')[0].appendChild(css);
|
document.getElementsByTagName('head')[0].appendChild(css);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
(function() {
|
||||||
|
var css = document.createElement('link');
|
||||||
|
css.href = '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css';
|
||||||
|
css.rel = 'stylesheet';
|
||||||
|
css.type = 'text/css';
|
||||||
|
document.getElementsByTagName('head')[0].appendChild(css);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script src="https://use.typekit.net/tcm1whv.js" crossorigin="anonymous"></script>
|
||||||
|
<script>try{Typekit.load({ async: true });}catch(e){}</script>
|
||||||
|
|
||||||
{% for script in scripts %}
|
{% for script in scripts %}
|
||||||
<script defer src="{{ script }}"></script>
|
<script defer src="{{ script }}"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue