diff --git a/backend/app/templates/help_center/article.html b/backend/app/templates/help_center/article.html new file mode 100644 index 0000000..e85e701 --- /dev/null +++ b/backend/app/templates/help_center/article.html @@ -0,0 +1,143 @@ +{# +Copyright 2024-2026 ReplyPier + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +A single help-center article: breadcrumb trail (which must stay in step with the +BreadcrumbList JSON-LD), rich Markdown body, "Was this helpful?" +feedback, and related articles. `article.body_html` is the ONLY value rendered +`| safe` — it is pre-sanitized to an HTML allowlist by help_center_content; +every other value stays autoescaped. +#}{% extends "help_center/base.html" %} + +{% block body %} +
{% if widget_id %}Our support assistant answers instantly, any time of day — and connects you to a human whenever you need one.{% else %}Reach out and our team will get back to you.{% endif %}
+Search our knowledge base, or pick a topic to browse.
+ + {% if groups %} +{% if groups %}Try a different search{% if widget_id %}, or chat with us — our assistant can help right away{% endif %}.{% else %}Check back soon.{% endif %}
+ {% if widget_id %} + + {% endif %} +