add support for internal or external css/js/googlefonts
This commit is contained in:
parent
d2965a16bd
commit
e2f16fd06d
7 changed files with 84 additions and 22 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue