Y
Hacker News
new
|
ask
|
show
|
jobs
by
slantview
1717 days ago
Just because you do SSG doesn't mean you can't run _any_ javascript. This seems like a lot of work to just put a little JS button on the site.
1 comments
throwanem
1716 days ago
You still need to inject values from the environment into the page source at build time, whether you're using Javascript or not. And if you're already doing that, why add Javascript on top when all you need is an anchor?
link
larsrh
1716 days ago
Exactly. I couldn't have solved this with JS only.
link