feat(templates/module_lesson_page.html): add ModuleLessonPage template
This commit is contained in:
25
home/templates/home/module_lesson_page.html
Normal file
25
home/templates/home/module_lesson_page.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static wagtailcore_tags i18n %}
|
||||
|
||||
{% block title %}{{ page.full_title }}{% endblock %}
|
||||
|
||||
{% block body_class %}template-modulelessonpage{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
||||
{% endblock extra_css %}
|
||||
|
||||
{% block content_class %}prose{% endblock content_class %}
|
||||
|
||||
{% block content %}
|
||||
<h2 class="not-prose text-xl mb-4 text-gray-700">
|
||||
<a href="{{ page.module.course.url }}" class="font-bold">{{ page.module.course.title }}</a>
|
||||
»
|
||||
<a href="{{ page.module.url }}" class="font-bold">{{ page.module.title }}</a>
|
||||
»
|
||||
<span class="text-gray-500">{{ page.title }}</span>
|
||||
</h2>
|
||||
|
||||
{{ page.body|richtext }}
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user