realms-wiki/reimagine/templates/macros.html
2013-10-01 20:50:48 -05:00

9 lines
254 B
HTML

{% macro recaptcha(config) -%}
<script>
var RecaptchaOptions = {
theme : '{{ config.RECAPTCHA_OPTIONS['theme'] }}'
};
</script>
<script src="http://www.google.com/recaptcha/api/challenge?k={{ config.RECAPTCHA_PUBLIC_KEY }}">
</script>
{%- endmacro %}