Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EBI-Framework
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ebiwd
EBI-Framework
Commits
5529844c
Commit
5529844c
authored
7 years ago
by
khawkins98
Browse files
Options
Downloads
Patches
Plain Diff
Improve loading of JS/CSS
parent
e71db4ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_includes/footer.html
+2
-7
2 additions, 7 deletions
_includes/footer.html
_includes/head.html
+3
-3
3 additions, 3 deletions
_includes/head.html
with
5 additions
and
10 deletions
_includes/footer.html
+
2
−
7
View file @
5529844c
...
...
@@ -18,11 +18,11 @@
<script
src=
"//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"
></script>
<!-- Your custom JavaScript file scan go here... change names accordingly -->
<!-- <script defer="defer" src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/js/script.js"></script> -->
<script
defer=
"defer"
src=
"js/script.js"
></script>
<script
defer=
"defer"
src=
"
{{ site.baseurl }}/
js/script.js"
></script>
<!-- The Foundation theme JavaScript -->
<script
src=
"libraries/foundation-6/js/foundation.js"
></script>
<script
src=
"js/foundationExtendEBI.js"
></script>
<script
src=
"
{{ site.baseurl }}/
js/foundationExtendEBI.js"
></script>
<!-- <script src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/libraries/foundation-6/js/foundation.js"></script> -->
<!-- <script src="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/js/foundationExtendEBI.js"></script> -->
<script
type=
"text/JavaScript"
>
$
(
document
).
foundation
();
</script>
...
...
@@ -33,11 +33,6 @@
<script
src=
"{{js}}"
></script>
{% endfor %}
{% comment %} Custom Component Scripts (from individual .md files) go here: {% endcomment %}
{% for js in page.javascript %}
<script
src=
"{{js}}"
></script>
{% endfor %}
<!-- Google Analytics details... -->
<!-- Change UA-XXXXX-X to be your site's ID -->
<!--
...
...
This diff is collapsed.
Click to expand it.
_includes/head.html
+
3
−
3
View file @
5529844c
...
...
@@ -33,9 +33,9 @@
<!-- CSS: implied media=all -->
<!-- CSS concatenated and minified via ant build script-->
<link
rel=
"stylesheet"
href=
"css/ebi-global.min.css"
type=
"text/css"
media=
"all"
/>
<link
rel=
"stylesheet"
href=
"
{{ site.baseurl }}/
css/ebi-global.min.css"
type=
"text/css"
media=
"all"
/>
<!-- <link rel="stylesheet" href="//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/css/ebi-global.css" type="text/css" media="all"> -->
<link
rel=
"stylesheet"
href=
"//www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.2/fonts.css"
type=
"text/css"
media=
"
all
"
>
<link
rel=
"stylesheet"
href=
"//www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/v1.2/fonts.css"
type=
"text/css"
media=
"
none"
onload=
"if(media!=='all')media='all'
"
>
<!-- Use this CSS file for any custom styling -->
<!--
...
...
@@ -54,7 +54,7 @@
<!-- you can replace this with theme-[projectname].css. See http://www.ebi.ac.uk/web/style/colour for details of how to do this -->
<!-- also inform ES so we can host your colour palette file -->
<link
rel=
"stylesheet"
href=
"//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/css/theme-embl-petrol.css"
type=
"text/css"
media=
"
all
"
>
<link
rel=
"stylesheet"
href=
"//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.2/css/theme-embl-petrol.css"
type=
"text/css"
media=
"
none"
onload=
"if(media!=='all')media='all'
"
>
<!-- for production the above can be replaced with -->
<!--
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment