Skip to content

Commit 5bad329

Browse files
committed
adjust templates
1 parent 1a0d031 commit 5bad329

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
{% if module.name == 'fishjam' %}
3-
title: fishjam
4-
{% else %}
5-
title: fishjam.{{ module.name }}
6-
{% endif %}
2+
title: {{ module.name }}
73
sidebar_label: {{ module.name }}
84
custom_edit_url: null
95
---
106

11-
{% block content %}{% endblock %}
7+
{% block content %}{% endblock %}
8+
9+

templates/docusaurus/module.html.jinja2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{% extends "frame.html.jinja2" %}
22

33
{% block content %}
4-
# {{ module.name }}
4+
{% if module.name == 'fishjam' %}
5+
# fishjam
6+
{% else %}
7+
# fishjam.{{ module.name }}
8+
{% endif %}
59

610
{% block module_info %}
711
{% if module.docstring and ".. include::" not in module.docstring %}

0 commit comments

Comments
 (0)