Jekyll Post.Url not working -


new jekyll. i'm putting list view of post categories(review).. loop works fine, spits out image, post etc.. when try add link {{ p.url }} not work.. suggestions?

{% reviews in site.categories.review %}     <tr>       <th>{{reviews.title}}</th>       <th></th>     </tr>       <td style="width: 33%;"><img style="width: 200px;" src="{{ site.baseurl }}/images/posts/{{reviews.banner_image}}"></td>       <td><strong>{{reviews.category}}</strong>           <ul>             <a href="{{ post_url }}"><li>key point #1</li></a>             <li>key point #1</li>             <li>key point #1</li>             <li>key point #1</li>             <li>{{ reviews.tags }}</li>           </ul>           <div class="clear"><input type="submit" value="learn more..." name="learn more..." class="button"></div>           </td> {% endfor %} </table> 

try use {{ reviews.url }}.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -