1
0
Fork 0

Reduced Unused Modules of Foundation

This commit is contained in:
Moritz »mo.« Sauer 2014-09-21 22:37:43 +02:00
parent 738d4f74a2
commit 36e2b8e226
5 changed files with 438 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<script src="{{ site.url }}/assets/js/app.min.js"></script>
<script src="{{ site.url }}/assets/js/javascript.min.js"></script>
{% if page.image.header %}
<script>

View file

@ -3,7 +3,7 @@ layout: page-fullwidth
title: "Wonderful Typography"
subheadline: "Reading Experience"
meta_description: "Feeling Responsive uses Volkhov for headlines, Lato for everything else and if you are in need to show some code, it will be in Lucida Console."
description: "<em>Feeling Responsive</em> uses <a href='https://www.google.com/fonts/specimen/Volkhov'>Volkhov</a> for headlines, <a href='https://www.google.com/fonts/specimen/Lato'>Lato</a> for everything else and if you are in need to show some code, it will be in Lucida Console."
description: "<em>Feeling Responsive</em> uses <a href='https://www.google.com/fonts/specimen/Volkhov'>Volkhov</a> for headlines, <a href='https://www.google.com/fonts/specimen/Lato'>Lato</a> for everything else and if you are in need to show some code, it will be in <a href='http://www.microsoft.com/typography/fonts/family.aspx?FID=18'>Lucida Console</a> or <a href='http://en.wikipedia.org/wiki/Monaco_(typeface)'>Monaco</a>."
image:
header: homepage_typography.jpg
thumb: homepage_typography_thumb.jpg

415
assets/js/javascript.js Executable file

File diff suppressed because one or more lines are too long

3
assets/js/javascript.min.js vendored Executable file

File diff suppressed because one or more lines are too long

View file

@ -232,6 +232,23 @@ The loop looks when you use all parameters. Single parameters are possible of co
{: .text-right }
## Javascript/Foundation modules
*Feeling Responsive* uses the foundation framework and some of its javascript components. I reduced the modules, to decrease page load and make the theme faster.
I only added one other javascript-module: [`backstretch`][3] by Scott Robbin. These modules are currently used by the theme and included in `javascript.min.js`. There is also a non-minified version, if you want to take a closer look: `javasript.js`.
~~~
/foundation/bower_components/foundation/js/vendor/jquery.js'
/foundation/bower_components/foundation/js/vendor/fastclick.js'
/foundation/bower_components/foundation/js/foundation.accordion.js'
/foundation/bower_components/foundation/js/foundation.clearing.js'
/foundation/bower_components/foundation/js/foundation.dropdown.js'
/foundation/bower_components/foundation/js/foundation.equalizer.js'
/foundation/bower_components/foundation/js/foundation.magellan.js'
/foundation/bower_components/foundation/js/foundation.topbar.js'
/foundation/js/jquery.backstretch.js'
~~~
</div><!-- /.medium-8.columns -->
@ -239,7 +256,7 @@ The loop looks when you use all parameters. Single parameters are possible of co
[1]: http://kramdown.gettalong.org/converter/html.html#toc
[2]: {{ site.url }}/blog/
[3]: #
[3]: http://srobbin.com/jquery-plugins/backstretch/
[4]: #
[5]: #
[6]: #