feat(module_lesson_page.html): add link to Gitea code
This commit is contained in:
@@ -19,6 +19,15 @@
|
||||
» <span class="text-gray-500">{{ page.title }}</span>
|
||||
</h2>
|
||||
|
||||
{% if page.create_gitea_repo and page.gitea_repo_url %}
|
||||
<p class="not-prose mb-6 text-gray-600 text-lg flex items-center gap-1">
|
||||
<i class="fi fi-br-code-window leading-0"></i>
|
||||
<a href="{{ page.gitea_repo_url }}" class="hover:underline" target="_blank" rel="noopener noreferrer">
|
||||
{% trans "View code on Gitea" %}
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ page.body|richtext }}
|
||||
{% endblock content %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user