-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (29 loc) · 932 Bytes
/
index.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
---js
// Same condition used for copying guidelines assets in eleventy.config.ts
const includeGuidelines = process.env.COMMIT_REF && !process.env.WCAG_MODE;
const repoUrl = process.env.REPOSITORY_URL;
const prNumber = process.env.REVIEW_ID;
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Web Content Accessibility Guidelines {{ versionDecimal }}</title>
</head>
<body>
<h1>Web Content Accessibility Guidelines {{ versionDecimal }}</h1>
{% if repoUrl and prNumber -%}
<p>
<strong>Note:</strong> This is a <strong>preview</strong> for
<a href="{{ repoUrl }}/pull/{{ prNumber }}">PR #{{ prNumber }}</a>.
</p>
{%- endif %}
<ul>
{% if includeGuidelines -%}
<li><a href="guidelines/">Guidelines</a></li>
{%- endif %}
<li><a href="techniques/">Techniques</a></li>
<li><a href="understanding/">Understanding Docs</a></li>
</ul>
</body>
</html>