25 lines
814 B
Plaintext
25 lines
814 B
Plaintext
div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200"
|
|
h1 Trips
|
|
|
|
div class="mb-12 max-w-prose mx-auto"
|
|
table class="prose dark:prose-invert table-auto"
|
|
- trip_years.each do |year, trips|
|
|
thead
|
|
tr colspan=4
|
|
td class="text-xl" = year
|
|
- trips.each do |trip|
|
|
tr
|
|
td
|
|
a href="/trips/#{trip.id}"
|
|
= trip.name
|
|
td
|
|
= trip.subtitle
|
|
td
|
|
= "#{trip.posts.count} entries"
|
|
td class="text-right text-gray-400 dark:text-gray-600"
|
|
= "#{trip.start_date}"
|
|
== " → "
|
|
= "#{trip.end_date}"
|
|
|
|
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|