add support for internal or external css/js/googlefonts
This commit is contained in:
@ -1,8 +1,19 @@
|
||||
<script src="{{ site.baseurl }}/js/jquery-1.11.2.min.js"></script>
|
||||
<script src="{{ site.baseurl }}/js/bootstrap.min.js"></script>
|
||||
{% if page.common-ext-js %}
|
||||
{% for js in page.common-ext-js %}
|
||||
<script src="{{ js }}"></script>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if include.full %}
|
||||
<script src="{{ site.baseurl }}/js/main.js"></script>
|
||||
{% if page.common-js %}
|
||||
{% for js in page.common-js %}
|
||||
<script src="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.ext-js %}
|
||||
{% for js in page.ext-js %}
|
||||
<script src="{{ js }}"></script>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.js %}
|
||||
|
Reference in New Issue
Block a user