diff --git a/templates/snippets/layout/homepage/normal.html b/templates/snippets/layout/homepage/normal.html index de54936..d40c85d 100644 --- a/templates/snippets/layout/homepage/normal.html +++ b/templates/snippets/layout/homepage/normal.html @@ -1,70 +1,90 @@ {% include 'snippets/layout/description/normal.html' %} -
-
- {% if cfg.lockInbox == false %} -
-

- Ask a question - -

-
-
-
- - -
-
-
- - -
-
- - -

Markdown supported {{ cfg.charLimit }}

-
-
- - -
-
- {# -
- reserved for version 1.6.0 or later - - - -
- #} - -
-
-
- {% else %} -
-

New questions cannot be asked right now.

+ +
+
+
+ + +
+
+
+ + +
+
+ + +

Markdown supported {{ cfg.charLimit }}

+
+ {% if cfg.antispam.enabled %} + {% if cfg.antispam.type == 'basic' %} +
+ + +
+ {% elif cfg.antispam.type == 'recaptcha' %} +
+ {% if cfg.antispam.recaptcha.sitekey %} +
+ {% else %} + + {% endif %} +
+ {% elif cfg.antispam.type == 'turnstile' %} +
+ {% elif cfg.antispam.type == 'frc' %} +
+ {% else %} +
Warning: antispam type is not set!
+ {% endif %} + {% endif %} +
+ {# +
+ reserved for version 1.6.0 or later + + + +
+ #} + +
+
+
+ {% else %} +
+

New questions cannot be asked right now.

+ {% endif %} +
+
+ {% if combined %} +
+ {% if cfg.showQuestionCount == true %} +

{{ len(combined) }} question(s)

{% endif %} +
+
+ {% include 'snippets/layout/questions_list.html' %} +
- -{% if combined %} -
- {% if cfg.showQuestionCount == true %} -

{{ len(combined) }} question(s)

{% endif %} -
-
- {% include 'snippets/layout/questions_list.html' %} -
-{% endif %} \ No newline at end of file