-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (54 loc) · 2.12 KB
/
index.html
File metadata and controls
58 lines (54 loc) · 2.12 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
---
layout: default
title: Home
---
{% assign total_data = 0 %}
{% assign total_constructs = 0 %}
{% for e in site.entries %}
{% assign total_data = total_data | plus: e.data_points %}
{% assign total_constructs = total_constructs | plus: e.construct_count %}
{% endfor %}
<section class="hero">
<h1>RNA Mapping Database</h1>
<p class="hero-sub">
Chemical Mapping Data of
<strong>{% include comma.html n=total_data %}</strong> data points across
<strong>{% include comma.html n=site.entries.size %}</strong> entries and
<strong>{% include comma.html n=total_constructs %}</strong> RNA constructs.
</p>
<form class="hero-search" action="{{ '/browse/' | relative_url }}" method="get" role="search">
<input type="search" name="q" placeholder="Search entries by ID, name, author, PubMed…" aria-label="Search RMDB">
<button type="submit">Search</button>
</form>
</section>
<section class="about-blurb">
<p>
The <u>R</u>NA <u>M</u>apping <u>D</u>ata<u>b</u>ase is an archive of diverse structural mapping experiments
performed on RNA (SHAPE, DMS, CMCT, 1M7, mutate-and-map, and more). Each entry is hand-curated and
annotated, stored in the open <a href="{{ '/deposit/specs/' | relative_url }}">RDAT format</a>, and
versioned through git.
</p>
</section>
<section class="latest">
<h2>Latest entries</h2>
<ul class="entry-grid">
{% assign latest = site.entries | sort: 'date' | reverse %}
{% for e in latest limit: 12 %}
<li class="entry-card">
<a href="{{ e.url | relative_url }}">
{% if e.thumbnail %}
<img src="{{ e.thumbnail | relative_url }}"
loading="lazy"
alt="Thumbnail for {{ e.rmdb_id }}">
{% endif %}
<div class="entry-card-body">
<code class="entry-id">{{ e.rmdb_id }}</code>
<p class="entry-card-name">{{ e.name }}</p>
{% if e.creation_date %}<p class="muted small">{{ e.creation_date }}</p>{% endif %}
</div>
</a>
</li>
{% endfor %}
</ul>
<p><a href="{{ '/browse/' | relative_url }}">Browse all entries →</a></p>
</section>