lib/templates/common/includes/header in skellington-0.8.9 vs lib/templates/common/includes/header in skellington-0.9.0.pre.rc1
- old
+ new
@@ -10,24 +10,10 @@
<%%= erb :'includes/css-libs' %>
<%%= erb :'includes/fonts-libs' %>
<% when 'jekyll' %>
{% include ie-cruft.html %}
- {% for lib in site.data.libs.js %}
- <!-- {{ lib.name }} -->
- <script src='{{ lib.url }}'></script>
- {% endfor %}
-
- {% for lib in site.data.libs.css %}
- <!-- {{ lib.name }} -->
- <link rel='stylesheet' href='{{ lib.url }}'>
- {% endfor %}
-
- {% for font in site.data.libs.fonts %}
- <!-- {{ font.name }} -->
- <link rel='stylesheet' href='{{ font.url }}'>
- {% endfor %}
-<% end %>
+ {% include libs.html %}<% end %>
<% prefix = '{{ site.baseurl }}' if @gen.framework == 'jekyll' %>
<link rel='icon' type='image/png' href='<%= prefix %>/assets/favicon.ico' />
<link rel='stylesheet' href='<%= prefix %>/css/styles.css' />
<script src='<%= prefix %>/js/<%= @gen.wormname %>.js'></script>