|
3 | 3 | class="table-responsive" |
4 | 4 | > |
5 | 5 | <table class="table table-sm table-borderless" style="margin: 0px"> |
6 | | - {% for item in site.data.resume.education %} |
7 | | - {% if item.homepage %} |
8 | | - <tr> |
9 | | - <!-- add an image here! --> |
10 | | - {% if item.img %} |
11 | | - <th scope="row" id="date_width" style=" padding-right: 10px; padding-left: 0px !important"> |
12 | | - {% include figure.liquid home=true path=item.img sizes="(min-width: 768px) 156px, 50vw" alt="project thumbnail" style="padding: 15px" %} |
13 | | - </th> |
14 | | - {% endif %} |
| 6 | + {% assign sorted_education = site.data.resume.education | where: "homepage", true | sort: "endDate" | reverse %} |
| 7 | + {% for item in sorted_education %} |
| 8 | + <tr> |
| 9 | + <!-- add an image here! --> |
| 10 | + {% if item.img %} |
| 11 | + <th scope="row" id="date_width" style=" padding-right: 10px; padding-left: 0px !important"> |
| 12 | + {% include figure.liquid home=true path=item.img sizes="(min-width: 768px) 156px, 50vw" alt="project thumbnail" style="padding: 15px" %} |
| 13 | + </th> |
| 14 | + {% endif %} |
15 | 15 |
|
16 | | - <td style="vertical-align: middle;" id="width-resume"> |
17 | | - {% if item.redirect == blank %} |
18 | | - <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
19 | | - {%- if item.homepage_description %}:{% endif %} |
20 | | - <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
| 16 | + <td style="vertical-align: middle;" id="width-resume"> |
| 17 | + {% if item.redirect == blank %} |
| 18 | + <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
| 19 | + {%- if item.homepage_description %}:{% endif %} |
| 20 | + <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
21 | 21 |
|
22 | | - {% elsif item.redirect contains '://' %} |
23 | | - <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
24 | | - {%- if item.homepage_description %}:{% endif %} |
25 | | - <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
26 | | - {% else %} |
27 | | - <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
28 | | - {% endif %} |
29 | | - <br> |
30 | | - <span style="font-size: .75rem"> |
31 | | - {% if item.startDate %} |
32 | | - {{ item.startDate | date: '%b %Y' }} |
33 | | - {% if item.endDate %} |
34 | | - - {{ item.endDate | date: '%b %Y' }} |
35 | | - {% else %} |
36 | | - - Present |
37 | | - {% endif %} |
38 | | - {% endif %} |
39 | | - {% if item.startDate and item.homepage_keyword %} |
40 | | - · |
41 | | - {% endif %} |
42 | | - {% if item.homepage_keyword %} |
43 | | - {{ item.homepage_keyword }} |
44 | | - {% endif %} |
45 | | - {% if item.location %} |
46 | | - · |
47 | | - {{ item.location }} |
| 22 | + {% elsif item.redirect contains '://' %} |
| 23 | + <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
| 24 | + {%- if item.homepage_description %}:{% endif %} |
| 25 | + <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
| 26 | + {% else %} |
| 27 | + <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
| 28 | + {% endif %} |
| 29 | + <br> |
| 30 | + <span style="font-size: .75rem"> |
| 31 | + {% if item.startDate %} |
| 32 | + {{ item.startDate | date: '%b %Y' }} |
| 33 | + {% if item.endDate %} |
| 34 | + - {{ item.endDate | date: '%b %Y' }} |
| 35 | + {% else %} |
| 36 | + - Present |
48 | 37 | {% endif %} |
49 | | - </span> |
50 | | - </td> |
51 | | - <td style="vertical-align: middle;" id="non-width-resume"> |
52 | | - {% if item.redirect == blank %} |
53 | | - <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
54 | | - {% elsif item.redirect contains '://' %} |
55 | | - <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
56 | | - {% else %} |
57 | | - <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
58 | 38 | {% endif %} |
59 | | - <br> |
60 | | - <span style="font-size: .75rem"> |
61 | | - {{ item.homepage_description }} |
62 | | - </span> |
63 | | - </td> |
64 | | - </tr> |
65 | | - {% endif %} |
66 | | - {% endfor %} |
67 | | - {% for item in site.data.resume.work %} |
68 | | - {% if item.homepage %} |
69 | | - <tr> |
70 | | - <!-- add an image here! --> |
71 | | - {% if item.img %} |
72 | | - <th scope="row" id="date_width" style=" padding-right: 10px; padding-left: 0px !important"> |
73 | | - {% include figure.liquid home=true path=item.img sizes="(min-width: 768px) 156px, 50vw" alt="project thumbnail" style="padding: 15px" %} |
74 | | - </th> |
| 39 | + {% if item.startDate and item.homepage_keyword %} |
| 40 | + · |
| 41 | + {% endif %} |
| 42 | + {% if item.homepage_keyword %} |
| 43 | + {{ item.homepage_keyword }} |
| 44 | + {% endif %} |
| 45 | + {% if item.location %} |
| 46 | + · |
| 47 | + {{ item.location }} |
| 48 | + {% endif %} |
| 49 | + </span> |
| 50 | + </td> |
| 51 | + <td style="vertical-align: middle;" id="non-width-resume"> |
| 52 | + {% if item.redirect == blank %} |
| 53 | + <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
| 54 | + {% elsif item.redirect contains '://' %} |
| 55 | + <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
| 56 | + {% else %} |
| 57 | + <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
75 | 58 | {% endif %} |
76 | | - <td style="vertical-align: middle;" id="width-resume"> |
77 | | - {% if item.redirect == blank %} |
78 | | - <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
79 | | - {%- if item.homepage_description %}:{% endif %} |
80 | | - <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
| 59 | + <br> |
| 60 | + <span style="font-size: .75rem"> |
| 61 | + {{ item.homepage_description }} |
| 62 | + </span> |
| 63 | + </td> |
| 64 | + </tr> |
| 65 | + {% endfor %} |
| 66 | + {% assign sorted_work = site.data.resume.work | where: "homepage", true | sort: "endDate" | reverse %} |
| 67 | + {% for item in sorted_work %} |
| 68 | + <tr> |
| 69 | + <!-- add an image here! --> |
| 70 | + {% if item.img %} |
| 71 | + <th scope="row" id="date_width" style=" padding-right: 10px; padding-left: 0px !important"> |
| 72 | + {% include figure.liquid home=true path=item.img sizes="(min-width: 768px) 156px, 50vw" alt="project thumbnail" style="padding: 15px" %} |
| 73 | + </th> |
| 74 | + {% endif %} |
| 75 | + <td style="vertical-align: middle;" id="width-resume"> |
| 76 | + {% if item.redirect == blank %} |
| 77 | + <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
| 78 | + {%- if item.homepage_description %}:{% endif %} |
| 79 | + <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
81 | 80 |
|
82 | | - {% elsif item.redirect contains '://' %} |
83 | | - <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
84 | | - {%- if item.homepage_description %}:{% endif %} |
85 | | - <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
86 | | - {% else %} |
87 | | - <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
88 | | - {% endif %} |
89 | | - <br> |
90 | | - <span style="font-size: .75rem"> |
91 | | - {% if item.startDate %} |
92 | | - {{ item.startDate | date: '%b %Y' }} |
93 | | - {% if item.endDate %} |
94 | | - - {{ item.endDate | date: '%b %Y' }} |
95 | | - {% else %} |
96 | | - - Present |
97 | | - {% endif %} |
98 | | - {% endif %} |
99 | | - {% if item.startDate and item.homepage_keyword %} |
100 | | - · |
101 | | - {% endif %} |
102 | | - {% if item.homepage_keyword %} |
103 | | - {{ item.homepage_keyword }} |
104 | | - {% endif %} |
105 | | - {% if item.location %} |
106 | | - · |
107 | | - {{ item.location }} |
| 81 | + {% elsif item.redirect contains '://' %} |
| 82 | + <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
| 83 | + {%- if item.homepage_description %}:{% endif %} |
| 84 | + <span style="font-size: .875rem">{{ item.homepage_description }}</span> |
| 85 | + {% else %} |
| 86 | + <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
| 87 | + {% endif %} |
| 88 | + <br> |
| 89 | + <span style="font-size: .75rem"> |
| 90 | + {% if item.startDate %} |
| 91 | + {{ item.startDate | date: '%b %Y' }} |
| 92 | + {% if item.endDate %} |
| 93 | + - {{ item.endDate | date: '%b %Y' }} |
| 94 | + {% else %} |
| 95 | + - Present |
108 | 96 | {% endif %} |
109 | | - </span> |
110 | | - </td> |
111 | | - <td style="vertical-align: middle;" id="non-width-resume"> |
112 | | - {% if item.redirect == blank %} |
113 | | - <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
114 | | - {% elsif item.redirect contains '://' %} |
115 | | - <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
116 | | - {% else %} |
117 | | - <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
118 | 97 | {% endif %} |
119 | | - <br> |
120 | | - <span style="font-size: .75rem"> |
121 | | - {{ item.homepage_description }} |
122 | | - </span> |
123 | | - </td> |
124 | | - </tr> |
125 | | - {% endif %} |
| 98 | + {% if item.startDate and item.homepage_keyword %} |
| 99 | + · |
| 100 | + {% endif %} |
| 101 | + {% if item.homepage_keyword %} |
| 102 | + {{ item.homepage_keyword }} |
| 103 | + {% endif %} |
| 104 | + {% if item.location %} |
| 105 | + · |
| 106 | + {{ item.location }} |
| 107 | + {% endif %} |
| 108 | + </span> |
| 109 | + </td> |
| 110 | + <td style="vertical-align: middle;" id="non-width-resume"> |
| 111 | + {% if item.redirect == blank %} |
| 112 | + <a class="news-title" href="{{ item.url | relative_url }}">{{ item.homepage_title }}</a> |
| 113 | + {% elsif item.redirect contains '://' %} |
| 114 | + <a class="news-title" href="{{ item.redirect }}" target="_blank">{{ item.homepage_title }}</a> |
| 115 | + {% else %} |
| 116 | + <a class="news-title" href="{{ item.redirect | relative_url }}">{{ item.homepage_title }}</a> |
| 117 | + {% endif %} |
| 118 | + <br> |
| 119 | + <span style="font-size: .75rem"> |
| 120 | + {{ item.homepage_description }} |
| 121 | + </span> |
| 122 | + </td> |
| 123 | + </tr> |
126 | 124 | {% endfor %} |
127 | 125 | </table> |
128 | 126 | </div> |
|
0 commit comments