- Updated app.py to dynamically load Jinja2 templates based on the detected language. - Created new template files for English and Chinese, including base, index, list, scale, and result pages. - Modified template rendering logic to utilize the appropriate language-specific templates based on user preferences.
13 lines
231 B
HTML
13 lines
231 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block head_extra %}
|
|
<title>PsychoScales.Org</title>
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
{% if readme_content %}
|
|
<div class="readme-section">
|
|
{{ readme_content|safe }}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |