I가 내가 지킬에 alphabetically
를 정렬하려고 다음 YML 코드 : 나는 무엇이 필요합니까지킬 액체
<h4>Built With</h4>
<ul class="list-unstyled list-inline list-responsibilities">
{% for item in page.builtWith %}
<li>{{ item }}</li>
{% endfor %}
</ul>
: 여기
layout: project
title: Home renovation
link: http://urlgoeshere.com
builtWith:
- Concrete
- Glass
- Brick
- Dirt
내 템플릿 코드 for
루프를 추가하여 builtWith
항목을 alphabetically
으로 정렬 하시겠습니까?
감사합니다. Liquid Warning: Liquid syntax error (line 24): Expected end_of_string but found pipe in "item in page.builtWith | sort"
:
가, 감사합니다! –
괄호'('')는 Liquid에서 아무 것도하지 않고이 스 니펫에서 제거 할 수 있습니다. –