- - Code of Conduct
+
+ {% comment %} Always show code of conduct. {% endcomment %}
+ - Code of Conduct
+
+ {% comment %} Show setup instructions, reference guide, and lesson episodes for lessons. {% endcomment %}
{% if site.kind == "lesson" %}
- - Setup
+ - Setup
+ - Reference
-
- Episodes
+ Episodes
+ {% endif %}
+
+ {% comment %} Show extras for lessons or if this is the main workshop-template repo (where they contain documentation). {% endcomment %}
+ {% if site.kind == "lesson" or site.repository_name == "workshop-template" %}
-
- Extras
+ Extras
- - Reference
- {% endif %}
- - License
+ {% endif %}
+
+ {% comment %} Always show license. {% endcomment %}
+ - License