Note that javascript is required to vote
This commit is contained in:
parent
8db4295f27
commit
3c817c2eca
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
{{ if hugo.IsProduction }}
|
{{ if hugo.IsProduction }}
|
||||||
<div class="voting-container">
|
<div class="voting-container">
|
||||||
<button class="voting-button" id="num-votes" onClick="addVote({{ $name }})">❤️</button>
|
<button class="voting-button" id="num-votes" onClick="addVote({{ $name }})">❤️</button>
|
||||||
|
<noscript>Javascript is required to vote.</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ $site := resources.Get "js/voting.js" | minify | fingerprint | resources.PostProcess }}
|
{{ $site := resources.Get "js/voting.js" | minify | fingerprint | resources.PostProcess }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue