Skip to content

Commit

Permalink
Make poster image clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
hamoid committed Nov 4, 2024
1 parent 27bd1ba commit 7289dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h1><a href="/Stammtisch/">{{ site.title | default: site.github.repository_name
var h1 = document.getElementById('content').getElementsByTagName('h1');
if(h1.length == 1) {
h1[0].insertAdjacentHTML('afterEnd',
'<img src="/Stammtisch/assets/img/large/{{ page.img }}">')
'<a href="/Stammtisch/assets/img/large/{{ page.img }}"><img src="/Stammtisch/assets/img/large/{{ page.img }}"></a>')
}
}
</script>
Expand Down

0 comments on commit 7289dde

Please sign in to comment.