File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ <h1 class="text-6xl mb-12 text-center italic uppercase font-light tracking-wides
6
6
7
7
<div class =" max-w-3xl content mx-auto px-4" >
8
8
<div class =" grid md:grid-cols-2 gap-4" >
9
- {{ collection :events sort = " date:asc" }}
9
+ {{ collection :events sort = " date:asc" as = " events" }}
10
+ {{ events }}
10
11
<a href =" {{ url }}" class =" flex items-center border bg-white border-indigo-800 group hover:border-black" >
11
12
<div class =" bg-indigo-800 group-hover:bg-black text-white w-14 text-center py-2 mr-8" >
12
13
<div class =" text-xs tracking-wide uppercase text-indigo-200 leading-none" >{{ date format = " M" }}</div >
13
14
<div class =" text-4xl leading-none" >{{ date format = " j" }}</div >
14
15
</div >
15
16
<h3 class =" m-0 group-hover:text-black" >{{ title }}</h3 >
16
17
</a >
18
+ {{ /events }}
17
19
{{ /collection :events }}
18
20
</div >
19
21
</div >
Original file line number Diff line number Diff line change 3
3
{{ if success }}
4
4
<h2 class =" text-green-600 mb-0 pb-0 text-center" >
5
5
{{ success }}
6
- </div >
6
+ </h2 >
7
7
{{ else }}
8
8
{{ if errors }}
9
9
<div class =" bg-red-300 text-white p-2" >
You can’t perform that action at this time.
0 commit comments