-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (74 loc) · 3.4 KB
/
index.html
File metadata and controls
83 lines (74 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
layout: default
title: Archives, Memory, and Preservation Lab
description: AMPL develops tools and methodologies for achieving a more egalitarian archiving practice in Latin America and beyond.
featured_image: /images/social.jpg
home_strata:
tools:
layout: banner
blurb: Open-source primitives for community archiving and tools for digital humanities pedagogy.
past:
label: Archived
projects:
layout: square
blurb: Research partnerships and collaborations activating archives in Latin America and beyond.
past:
label: Completed
opportunities:
layout: side
blurb: Hands-on ways for students and volunteers to get involved.
past:
label: Past
---
<section class="hrA__hero">
<div class="hrA__hero-bg hero-bg-svg"></div>
<div class="wrap">
<p class="hrA__lede">
Welcome to the <span style="font-weight: 600">Archives, Memory, and Preservation Lab</span>, a laboratory for research and learning in the <a href="https://clair.ucsb.edu">Center for Latin American and Iberian Research</a> at UC Santa Barbara.
</p>
<p class="hrA__lede hrA__lede--typed">
<span class="cyc" data-typed="AMPL develops tools and methodologies for achieving a more egalitarian archiving practice in Latin America and beyond."><span style="font-weight: 600">AMPL</span> develops tools and methodologies for achieving a more egalitarian archiving practice in Latin America and beyond.</span>
</p>
</div>
</section>
<div class="wrap">
<div class="strat">
{% assign stratum_names = "tools,projects,opportunities" | split: "," %}
{% for stratum_name in stratum_names %}
{% assign stratum = page.home_strata[stratum_name] %}
{% assign idx = forloop.index | prepend: "0" %}
{%- comment -%}
Pull every page from the matching collection. Order: home_order ascending
(absent => 9999, sorted to the end), then date descending as fallback.
{%- endcomment -%}
{% assign all_items = site[stratum_name] | sort: "home_order" %}
{%- comment -%}Split into current vs past based on each page's status field.{%- endcomment -%}
{% assign past_items = all_items | where_exp: "i", "i.status == 'completed' or i.status == 'archived' or i.status == 'past'" %}
{% assign current_items = all_items | where_exp: "i", "i.status != 'completed' and i.status != 'archived' and i.status != 'past'" %}
<div class="layer layer--thumbs layout--{{ stratum.layout }}" id="{{ stratum_name }}" data-section="{{ stratum_name }}">
<div class="layer__hover-bg"></div>
<div class="layer__marks"></div>
<div class="layer__gutter">
<div class="layer__num">{{ idx }}</div>
<div class="layer__tag">{{ stratum_name | capitalize }}</div>
{% if stratum.blurb %}<div class="layer__gutter-blurb">{{ stratum.blurb }}</div>{% endif %}
</div>
<div>
<h3 class="layer__title">{{ stratum_name | capitalize }}</h3>
<div class="layer__items">
{% for item in current_items %}{% include home-mini.html page=item %}{% endfor %}
</div>
{% if stratum.past and past_items.size > 0 %}
<div class="layer__past layout--side">
<div class="layer__past-label">{{ stratum.past.label }}</div>
<div class="layer__items">
{% for item in past_items %}{% include home-mini.html page=item %}{% endfor %}
</div>
</div>
{% endif %}
</div>
{% unless forloop.last %}<div class="strat__arrow"></div>{% endunless %}
</div>
{% endfor %}
</div>
</div>