将 Recaptcha 插件安装到 Jekyll 生成的站点中

发布于 2024-12-22 12:35:40 字数 131 浏览 3 评论 0原文

我正在尝试将 Ambethia recaptcha 插件安装到 jekyll 生成的网站中,该网站使用 Liquid 模板生成表单。由于该网站不是在 Rails 上运行,因此我在翻译需要放置的内容时遇到了一些困难。

有人可以建议吗?

I'm trying to install the Ambethia recaptcha plugin into a jekyll-generated site that uses Liquid templating to generate forms. Since the site is not running on Rails, I'm having a bit of difficulty translating what needs to be put where.

Can anyone advise?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

辞旧 2024-12-29 12:35:40

b/c 验证码不可能需要服务器端代码,而且 jekyll 生成的网站是完全静态的。 (这里不计算javascript)

It's impossible b/c recaptcha requires server-side code, and jekyll-generated sites are completely static. (javascript not counts here)

凯凯我们等你回来 2024-12-29 12:35:40

如果您想添加验证码来“过滤掉”垃圾评论,我建议您尝试一下disqus

我相信有插件可以将其与 jekyll 集成(例如, octopress 带有 disqus 集成),但是 将它们包含在您的网站中的代码非常简单

If you wanted to add recaptcha to "filter out" spam comments, I suggest you give disqus a try.

I believe there are plugins to integrate it with jekyll (for example, octopress comes with disqus integration) but the code to include them in your site is really simple.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文