Skip to content
Closed
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
4 changes: 3 additions & 1 deletion layouts/partials/image-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
var imgTags = document.querySelectorAll("img");
imgTags.forEach(function (img) {
img.onclick = function () {
openModal(img);
if(img.id !== "navbar-brand-logo") {
openModal(img);
}
};
});
});
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a class="navbar-brand" href="/">
<span class="navbar-brand__logo navbar-logo">
{{ $svg := resources.Get "icons/logo.svg" }}
<img class="footer-logo" src="{{ $svg.Permalink }}" alt="logo" />
<img class="footer-logo" id="navbar-brand-logo" src="{{ $svg.Permalink }}" alt="logo" />
</span>
<span class="navbar-brand__name"></span
></a>
Expand Down