Skip to content

Commit

Permalink
Update default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
madhugopinathan authored Aug 22, 2016
1 parent 7b96718 commit edd7ab4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@
<title>{{ page.title }}</title>
<!-- link to main stylesheet -->
<link rel="stylesheet" type="text/css" href="/css/main.css">

{% if page.custom_css %}
{% for stylesheet in page.custom_css %}
<link rel="stylesheet" type="text/css" href="/css/{{ stylesheet }}.css">
{% endfor %}
{% endif %}

{% if page.external_js %}
{% for js_file in page.external_js %}
<script src="{{ jsfile }}" type="text/javascript"></script>
{% endfor %}
{% endif %}

{% if page.internal_js %}
{% for js_file in page.internal_js %}
<script src="/javascripts/{{ jsfile }}.js" type="text/javascript"></script>
{% endfor %}
{% endif %}
</head>
<body>
<nav>
Expand Down

0 comments on commit edd7ab4

Please sign in to comment.