Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizations ✈ and Improvements 🎉 #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="{{ site.description }}">
<meta name="theme-color" content="#222222" />
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">


Expand All @@ -32,6 +35,31 @@
gtag('config', 'G-E1791TT8WL');
</script>

<!--External Javascript files-->

<!-- jQuery Version 1.11.0 -->
<script defer src="{{ "/js/jquery-3.2.1.slim.min.js" | prepend: site.baseurl }}"></script>

<!-- Bootstrap Core JavaScript -->
<script defer src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>

<!-- Plugin JavaScript -->
<script defer src="{{ "/js/jquery.easing.min.js" | prepend: site.baseurl }}"></script>
<script defer src="{{ "/js/classie.js" | prepend: site.baseurl }}"></script>
<script defer src="{{ "/js/cbpAnimatedHeader.js" | prepend: site.baseurl }}"></script>

<!-- Contact Form JavaScript -->
<script defer src="{{ "/js/jqBootstrapValidation.js" | prepend: site.baseurl }}"></script>
<script defer src="{{ "/js/contact_me.js" | prepend: site.baseurl }}"></script>

<!-- Custom Theme JavaScript -->
<script defer src="{{ "/js/agency.js" | prepend: site.baseurl }}"></script>
<script defer src="{{ "/js/popper.min.js" | prepend: site.baseurl }}"></script>

<!--Social Media meta tags-->
<meta name="og:title" content="{{{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}}}" />
<meta name="og:description" content="{{ site.description }}" />
<meta name="og:image" content="https://opensource.lk/img/logos/lsf-logo-full-white.png" />

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
Expand Down
17 changes: 0 additions & 17 deletions _includes/js.html
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
<!-- jQuery Version 1.11.0 -->
<script src="{{ "/js/jquery-3.2.1.slim.min.js" | prepend: site.baseurl }}"></script>

<!-- Bootstrap Core JavaScript -->
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>

<!-- Plugin JavaScript -->
<script src="{{ "/js/jquery.easing.min.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/classie.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/cbpAnimatedHeader.js" | prepend: site.baseurl }}"></script>

<!-- Contact Form JavaScript -->
<script src="{{ "/js/jqBootstrapValidation.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/contact_me.js" | prepend: site.baseurl }}"></script>

<!-- Custom Theme JavaScript -->
<script src="{{ "/js/agency.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/popper.min.js" | prepend: site.baseurl }}"></script>
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

{% include footer.html %}
{% include modals.html %}
{% include js.html %}

</body>
</html>
1 change: 0 additions & 1 deletion _layouts/single-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

{% include footer.html %}
{% include modals.html %}
{% include js.html %}

</body>

Expand Down