Skip to content

Commit

Permalink
Merge pull request sujaykundu777#68 from Danysan1/fix_assets
Browse files Browse the repository at this point in the history
Fix asset path with baseurl
  • Loading branch information
sujaykundu777 authored Sep 21, 2020
2 parents bb55cd2 + 44e5201 commit a6c04a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
{% endif %}

<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="{{site.url}}{{site.baseurl}}/assets/css/custom-style.css" /> -->
<link
rel="stylesheet"
href="{{site.url}}{{site.baseurl}}/assets/bower_components/lightgallery/dist/css/lightgallery.min.css"
Expand Down Expand Up @@ -116,7 +116,7 @@
integrity="sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh"
crossorigin="anonymous"
></script>
<!-- <script src="/assets/bower_components/jquery/dist/jquery.min.js"></script> -->
<!-- <script src="{{site.url}}{{site.baseurl}}/assets/bower_components/jquery/dist/jquery.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>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
});
</script>
<div class="jumbotron" style="text-align: center;">
<img class="author-profile-img" src="/assets/img/profile.png" />
<img class="author-profile-img" src="{{site.url}}{{site.baseurl}}/assets/img/profile.png" />
<p class="jumbotron-heading">Hi, I am {{site.author}} !</p>
<p class="lead" id="typewriteText"></p>
{%- include github_star_button.html -%}
Expand All @@ -35,7 +35,7 @@ <h1 class="card-title">Recent Articles</h1>
<div id="article-container">
<div id="article-img">
<img
src="/assets/img/{{site.author_logo}}"
src="{{site.url}}{{site.baseurl}}/assets/img/{{site.author_logo}}"
width="50px"
height="50px"
/>
Expand Down

0 comments on commit a6c04a4

Please sign in to comment.