Newer
Older
<!DOCTYPE HTML>
{% comment %}
The "no-js" class is here as a fallback.
If Modernizr is not running, you'll know
something is wrong and you will be able to act
accordingly. In contrast, if everything goes well,
Modernizr will remove that special class.
{% endcomment %}
<html lang="{{ page.lang }}" class="modernizr-no-js">
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<head>
{% include minimal_head.html %}
{% assign layout = page.layout | slugify %}
{% include metadata.html layout = layout %}
{% comment %}
Add in additional CSS if such is requested in the header of the
associated markdown file.
The switch in the markdown file is "additional_css" for CSS and
"additional_js" for JavaScript
{% endcomment %}
{% if page.additional_css %}
{% for css_file_name in page.additional_css %}
<link rel="stylesheet"
href="{{ site.directory.css | strip | relative_url }}{{ css_file_name }}" />
{% endfor %}
{% endif %}
<script defer type="text/javascript"
src="{{ site.directory.javascript
| strip
| relative_url }}modernizr-custom.js">
</script>
<script defer type="text/javascript"
src="{{ site.directory.javascript
| strip
| relative_url }}shrink_header.js">
</script>
{% if page.additional_js %}
{% for js_file_name in page.additional_js %}
<script defer type="text/javascript"
src="{{ site.directory.javascript | strip | relative_url }}{{ js_file_name }}">
</script>
{% endfor %}
{% endif %}
</head>