feat(home/course_module_page.html): add CourseModulePage template
This commit is contained in:
21
home/templates/home/course_module_page.html
Normal file
21
home/templates/home/course_module_page.html
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
{% load static %}
|
||||||
|
{% load wagtailcore_tags %}
|
||||||
|
|
||||||
|
{% block title %}{{ page.full_title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block body_class %}template-homepage{% 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.course.url }}" class="font-bold">{{ page.course.title }}</a> » {{ page.title }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
{{ page.body|richtext }}
|
||||||
|
{% endblock content %}
|
||||||
Reference in New Issue
Block a user