We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413d219 commit 5ad4e18Copy full SHA for 5ad4e18
layouts/partials/image-modal.html
@@ -44,7 +44,9 @@
44
var imgTags = document.querySelectorAll("img");
45
imgTags.forEach(function (img) {
46
img.onclick = function () {
47
- openModal(img);
+ if(img.id !== "navbar-brand_logo") {
48
+ openModal(img);
49
+ }
50
};
51
});
52
layouts/partials/navbar.html
@@ -6,7 +6,7 @@
6
<a class="navbar-brand" href="/">
7
<span class="navbar-brand__logo navbar-logo">
8
{{ $svg := resources.Get "icons/logo.svg" }}
9
- <img class="footer-logo" src="{{ $svg.Permalink }}" alt="logo" />
+ <img class="footer-logo" id="navbar-brand_logo" src="{{ $svg.Permalink }}" alt="logo" />
10
</span>
11
<span class="navbar-brand__name"></span
12
></a>
0 commit comments