Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit646f59c

Browse files
committed
Update footer-scripts.html
1 parentbdca2f0 commit646f59c

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

‎_includes/footer-scripts.html

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
<!-- everything has to be repeated twice because on 2016-02-01 GitHub pages migrated to jekyll 3; see bug https://github.com/jekyll/jekyll/issues/4439 -->
2-
3-
{% if page.common-ext-js %}
4-
{% for js in page.common-ext-js %}
5-
<scriptsrc="{{ js }}"></script>
6-
{% endfor %}
7-
{% endif %}
81
{% if layout.common-ext-js %}
92
{% for js in layout.common-ext-js %}
103
<scriptsrc="{{ js }}"></script>
@@ -16,22 +9,12 @@
169
<scriptsrc="{{ js }}"></script>
1710
{% endfor %}
1811
{% endif %}
19-
{% if layout.ext-js %}
20-
{% for js in layout.ext-js %}
21-
<scriptsrc="{{ js }}"></script>
22-
{% endfor %}
23-
{% endif %}
2412

2513
{% if page.js %}
2614
{% for js in page.js %}
2715
<scriptsrc="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
2816
{% endfor %}
2917
{% endif %}
30-
{% if layout.js %}
31-
{% for js in layout.js %}
32-
<scriptsrc="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
33-
{% endfor %}
34-
{% endif %}
3518

3619
{% if layout.common-js %}
3720
{% for js in layout.common-js %}
@@ -47,19 +30,5 @@
4730
{% endif %}
4831
{% endfor %}
4932
{% endif %}
50-
{% if page.common-js %}
51-
{% for js in page.common-js %}
52-
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
53-
{% if js contains 'jquery' %}
54-
<script>
55-
if(typeofjQuery=='undefined'){
56-
document.write('<script src="{{ js | prepend: site.baseurl | replace: "//", "/" }}"></scr'+'ipt>');
57-
}
58-
</script>
59-
{% else %}
60-
<scriptsrc="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
61-
{% endif %}
62-
{% endfor %}
63-
{% endif %}
6433

6534
{% include google_analytics.html %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp