File tree Expand file tree Collapse file tree 6 files changed +144
-364
lines changed
Expand file tree Collapse file tree 6 files changed +144
-364
lines changed Original file line number Diff line number Diff line change 11name : My Jekyll Website
2+ collections :
3+ events :
4+ output : false
Original file line number Diff line number Diff line change 1+ ---
2+ title : Hackvento
3+ description : 12 hour college hackathon in IET DAVV
4+ city : Indore
5+ event-date : 2018-11-18 09:30:00 UTC
6+ type : Hackathon
7+ event-url : https://codeindore.github.io/hackvento.html
8+ ---
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+ {% assign event_list = site.events | sort: "event-date" %}
5+
6+ < h1 class ="has-text-centered "> Events</ h1 >
7+ < p class ="has-text-centered "> Join us for community events that are focused on learning, sharing and networking</ p >
8+ < br >
9+ < br >
10+ < table class ="table is-fullwidth ">
11+ < thead >
12+ < th class ="has-text-centered "> Event</ th >
13+ < th class ="has-text-centered "> Type</ th >
14+ < th class ="has-text-centered "> Date</ th >
15+ < th class ="has-text-centered "> Location</ th >
16+ < th class ="has-text-centered "> Description</ th >
17+ </ thead >
18+ < tbody >
19+ {% for event in event_list %}
20+ < tr >
21+ < td class ="has-text-centered "> < a href ="{{ event.event-url }} "> {{ event.title }}</ a > </ td >
22+ < td class ="has-text-centered "> {{ event.type }}</ td >
23+ < td class ="has-text-centered "> {{ event.event-date | date:"%b %d, %Y" }}</ td >
24+ < td class ="has-text-centered "> {{ event.city }}</ td >
25+ < td class ="has-text-centered "> {{ event.description }}</ td >
26+ </ tr >
27+ {% endfor %}
28+ </ tbody >
29+ </ table >
You can’t perform that action at this time.
0 commit comments