79589622

Date: 2025-04-23 23:30:47
Score: 1
Natty:
Report link

I like David's response, since it gives me the flexibility I need. However: correct it to:

<ul>
{% for p in pages %}
    {% unless p.show_in_nav == false %}
    <li><a href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a></li>
    {% endunless %}
{% endfor %}
</ul>

(the only difference is prefixing p. before show_in_nav)

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kees Leune