diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-08-16 02:24:01 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-08-16 03:27:49 +0200 |
| commit | a74c3972962dee71c6eb33a27f9392aa69b6b1f1 (patch) | |
| tree | 05d8eb68f6b803f680994d98812d0cb6788d1fd7 /_includes/menu_item.html | |
| parent | f51a59b03ee8d0b17a347adc46cf522745208296 (diff) | |
test gh-pagesgh-pages2
Diffstat (limited to '_includes/menu_item.html')
| -rw-r--r-- | _includes/menu_item.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/_includes/menu_item.html b/_includes/menu_item.html new file mode 100644 index 0000000..fc14e4b --- /dev/null +++ b/_includes/menu_item.html @@ -0,0 +1,19 @@ +<ul> + {% for item in include.collection %} + <li> + {% if item.url != false %} + <a href="{{ item.url }}">{{ item.title }}</a> + {% else %} + {{ item.title }} + {% endif %} + </li> + + {% if item.post_list == true %} + {% include post_list.html %} + {% endif %} + + {% if item.entries != blank %} + {% include menu_item.html collection=item.entries %} + {% endif %} + {% endfor %} +</ul>
\ No newline at end of file |