Hacker News new | past | comments | ask | show | jobs | submit login

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.



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?


Exactly. I couldn't have solved this with JS only.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: