diff --git a/templates/header_slim.html b/templates/header_slim.html index 320859f6..15a070fd 100644 --- a/templates/header_slim.html +++ b/templates/header_slim.html @@ -69,6 +69,18 @@ {% endif %} {% endfor %} {% endif %} + {% if sub_title == 'Podcast' %} + {% set children = site.get(href).children %} + {% for child in children %} + {% if loop.index <= 3 %} +
  • + + {{ child.title }} + +
  • + {% endif %} + {% endfor %} + {% endif %} {% endfor %} {% endif %} diff --git a/templates/header_with_logo.html b/templates/header_with_logo.html index c3feaf49..3ca4214d 100644 --- a/templates/header_with_logo.html +++ b/templates/header_with_logo.html @@ -69,6 +69,18 @@ {% endif %} {% endfor %} {% endif %} + {% if sub_title == 'Podcast' %} + {% set children = site.get(href).children %} + {% for child in children %} + {% if loop.index <= 3 %} +
  • + + {{ child.title }} + +
  • + {% endif %} + {% endfor %} + {% endif %} {% endfor %} {% endif %}