Skip to content

Commit

Permalink
Merge pull request barryclark#38 from sujaykundu777/bug-fixes
Browse files Browse the repository at this point in the history
adding relative url
  • Loading branch information
sujaykundu777 authored May 24, 2020
2 parents 31a20b8 + d5857d7 commit c0f7859
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
{% else %}
<meta content="{{ site.description }}" property="og:description" />
{% endif %} {% if page.url %}
<meta content="{{ site.url }}{{ page.url }}" property="og:url" />
<meta content="{{ site.url }}{{site.baseurl}}{{ page.url }}" property="og:url" />
{% endif %} {% if page.date %}
<meta
content="{{ page.date | date_to_xmlschema }}"
property="article:published_time"
/>
<meta content="{{ site.url }}/about/" property="article:author" />
<meta content="{{ site.url }}{{site.baseurl}}/about/" property="article:author" />
{% endif %} {% if page.thumbnail %}
<meta content="{{ site.url }}{{ page.thumbnail }}" property="og:image" />
<meta content="{{ site.url }}{{site.baseurl}}{{ page.thumbnail }}" property="og:image" />
{% endif %} {% if page.categories %} {% for category in page.categories
limit:1 %}
<meta content="{{ category }}" property="article:section" />
Expand All @@ -63,23 +63,23 @@
{% endif %}

{% if page.url %}
<meta name="twitter:url" content="{{ site.url }}{{ page.url }}" />
<meta name="twitter:url" content="{{ site.url }}{{site.baseurl}}{{ page.url }}" />
{% endif %} {% if page.summary %}
<meta name="twitter:description" content="{{ page.summary }}" />
{% else %}
<meta name="twitter:description" content="{{ site.description }}" />
{% endif %} {% if page.header-img %}
<meta
name="twitter:image:src"
content="{{ site.url }}{{ page.thumbnail }}"
content="{{ site.url }}{{site.baseurl}}{{ page.thumbnail }}"
/>
{% endif %}

<link rel="stylesheet" href="/assets/css/main.css" />
<link rel="stylesheet" href="{{site.url}}{{site.baseurl}}/assets/css/main.css" />
<!-- <link rel="stylesheet" href="/assets/css/custom-style.css" /> -->
<link
rel="stylesheet"
href="/assets/bower_components/lightgallery/dist/css/lightgallery.min.css"
href="{{site.url}}{{site.baseurl}}/assets/bower_components/lightgallery/dist/css/lightgallery.min.css"
/>
<link
rel="stylesheet"
Expand All @@ -97,15 +97,15 @@
/>
<link
rel="stylesheet"
href="/assets/bower_components/bootstrap/dist/css/bootstrap.min.css"
href="{{site.url}}{{site.baseurl}}/assets/bower_components/bootstrap/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="/assets/bower_components/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css"
href="{{site.url}}{{site.baseurl}}/assets/bower_components/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css"
/>
<link
rel="stylesheet"
href="/assets/bower_components/icono/dist/icono.min.css"
href="{{site.url}}{{site.baseurl}}/assets/bower_components/icono/dist/icono.min.css"
/>
<!-- Fonts-->
<link
Expand All @@ -127,14 +127,14 @@
crossorigin="anonymous"
></script>
<!-- <script src="/assets/bower_components/jquery/dist/jquery.min.js"></script> -->
<script src="/assets/bower_components/jquery.easing/jquery.easing.min.js"></script>
<script src="/assets/bower_components/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="/assets/bower_components/jquery-mousewheel/jquery.mousewheel.min.js"></script>
<script src="/assets/bower_components/lightgallery/dist/js/lightgallery-all.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/jquery.easing/jquery.easing.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/jquery-mousewheel/jquery.mousewheel.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/lightgallery/dist/js/lightgallery-all.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.2/picturefill.min.js"></script>
<script src="/assets/bower_components/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="/assets/bower_components/nanobar/nanobar.min.js"></script>
<script src="/assets/bower_components/typewrite/dist/typewrite.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/nanobar/nanobar.min.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/bower_components/typewrite/dist/typewrite.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/about-me.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="col-lg-4 offset-md-1">
<div class="card" id="profile-card">
<a href="/">
<img src="/assets/img/{{ site.author_logo }}" class="profile-img" />
<img src="{{site.url}}{{site.baseurl}}/assets/img/{{ site.author_logo }}" class="profile-img" />
</a>
<h1 class="profile-name">{{ site.title }}</h1>
<p class="profile-bio">{{ site.subtitle }}</p>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<div hidden id="snipcart" data-api-key="Y2I1NTAyNWYtMTNkMy00ODg0LWE4NDItNTZhYzUxNzJkZTI5NjM3MDI4NTUzNzYyMjQ4NzU0"></div>
<script src="https://cdn.snipcart.com/themes/v3.0.0-beta.3/default/snipcart.js" defer></script>
<script src="/assets/js/mode-switcher.js"></script>
<script src="{{site.url}}{{site.baseurl}}/assets/js/mode-switcher.js"></script>
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
Expand Down

0 comments on commit c0f7859

Please sign in to comment.