forked from carpentries/glosario
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglossary.html
51 lines (51 loc) · 1.66 KB
/
glossary.html
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
---
---
{%- if page.direction -%}
{%- assign direction = page.direction -%}
{%- else -%}
{%- assign direction = 'ltr' %}
{%- endif -%}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>{{site.title}}</title>
<link href="{{ '/static/site.css' | relative_url }}" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/assets/css/glossary.css" />
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/glossary.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
{% include matomo.html %}
</head>
<body>
<main>
{% include title.html %}
<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content-{{ direction }}">
{% include glossary.html headings = headings %}
</section>
<div class="sticky-{{ direction }}">
{% assign char_arr = headings | split: '' %}
{% for char in char_arr %}
<a class="letter_links"
href="#{{char}}">{{char}}</>
</a>
<br>
{% endfor %}
</div>
</div>
</div>
</main>
<footer>
<p>
<a href="{{'/' | relative_url}}">Home</a>
-
<a href="{{'/license/' | relative_url}}">License</a>
-
<a href="{{'/conduct/' | relative_url}}">Code of Conduct</a>
-
<a href="{{ site.repository_url }}">GitHub</a>
-
<a href="https://www.netlify.com">This site is powered by Netlify</a>
</p>
</footer>
</body>