File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,13 @@ <h3 class="staffer-name" id="{{ page.name | slugify }}">
16
16
{%- if page.email -%}
17
17
< p > < a href ="mailto:{{ page.email }} "> {{ page.email }}</ a > </ p >
18
18
{%- endif -%}
19
- {%- if page.section -%}
20
- < p class ="staffer-meta "> Quiz Section: {{ page.section | markdownify | strip_html }}</ p >
21
- {%- endif -%}
22
- {%- if page.office-hours -%}
23
- < p class ="staffer-meta "> Office Hours: {{ page.office-hours | markdownify | strip_html }}</ p >
19
+ {%- if page.meta -%}
20
+ < dl class ="staffer-meta ">
21
+ {%- for meta in page.meta -%}
22
+ < dt > {{ meta[0] }}</ dt >
23
+ < dd > {{ meta[1] | markdownify }}</ dd >
24
+ {%- endfor -%}
25
+ </ dl >
24
26
{%- endif -%}
25
27
{{ content }}
26
28
</ div >
Original file line number Diff line number Diff line change 31
31
}
32
32
33
33
.staffer-meta {
34
- @extend .text-grey-dk-000 ;
34
+ dt , dd , dd + dt {
35
+ margin-top : 0 ;
36
+ }
37
+ }
38
+
39
+ @include mq (sm) {
40
+ .staffer-meta {
41
+ display : grid ;
42
+ grid-template-columns : auto 1fr ;
43
+ }
35
44
}
36
45
}
You can’t perform that action at this time.
0 commit comments