My personal website and blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

travel.html 753B

123456789101112131415161718192021222324252627
  1. ---
  2. layout: page
  3. title: Travel
  4. permalink: /travel/
  5. ---
  6. <p>I have a list of my favorite restaurants in places I've visited. You
  7. can find <a href="food/">that list here</a>.</p>
  8. {% assign travel = site.travel | sort: '_date' | reverse %}
  9. {% for trip in travel %}
  10. <div class="trip-title">
  11. <h2>
  12. <span class="date hidden-xs">
  13. {{ trip._date | date: "%Y-%m" }}
  14. </span>
  15. <span class="title">
  16. {% assign content = trip.content | strip_newlines %}
  17. {% if content == "" or content == nil or content == blank %}
  18. {{ trip.dest }}
  19. {% else %}
  20. <a href="{{ trip.url }}">{{ trip.dest }}</a>
  21. {% endif %}
  22. </span>
  23. </h2>
  24. </div>
  25. {% endfor %}