Skip to content

Commit

Permalink
Update baseof.html
Browse files Browse the repository at this point in the history
fixed images url
  • Loading branch information
Applethal authored Feb 29, 2024
1 parent fd57bee commit 9b1d36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1>
imageContainer.classList.add('image-container');

var img = document.createElement('img');
img.src = '/images/' + imageName;
img.src = 'images/' + imageName;
img.alt = imageName;

imageContainer.appendChild(img);
Expand All @@ -124,4 +124,4 @@ <h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1>
{{ end }}
</body>

</html>
</html>

0 comments on commit 9b1d36e

Please sign in to comment.