forked from eslint/archive-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrule.liquid
33 lines (32 loc) · 1.77 KB
/
rule.liquid
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
<!DOCTYPE html>
<html lang="en" class="no-js">
{% include head %}
{% if site.banner.text %}
<body class="banner-displayed">
{% else %}
<body>
{% endif %}
{% include menu %}
<main class="rule doc">
<article class="container">
<div class="eslint-ad-float hidden-xs hidden-sm">
{%include ad %}
</div>
{{ content
| replace: '<p>Examples of <strong>incorrect</strong> code', '<p class="incorrect icon">Examples of <strong>incorrect</strong> code'
| replace: '<p>Example of <strong>incorrect</strong> code', '<p class="incorrect icon">Example of <strong>incorrect</strong> code'
| replace: '<p>Examples of additional <strong>incorrect</strong> code', '<p class="incorrect icon">Examples of additional <strong>incorrect</strong> code'
| replace: '<p>Example of additional <strong>incorrect</strong> code', '<p class="incorrect icon">Example of additional <strong>incorrect</strong> code'
| replace: '<p>Examples of <strong>correct</strong> code', '<p class="correct icon">Examples of <strong>correct</strong> code'
| replace: '<p>Example of <strong>correct</strong> code', '<p class="correct icon">Example of <strong>correct</strong> code'
| replace: '<p>Examples of additional <strong>correct</strong> code', '<p class="correct icon">Examples of additional <strong>correct</strong> code'
| replace: '<p>Example of additional <strong>correct</strong> code', '<p class="correct icon">Example of additional <strong>correct</strong> code'
| replace: '<p>(removed) ', '<p class="removed icon">'
| replace: '<p>(recommended) ', '<p class="recommended icon">'
| replace: '<p>(fixable) ', '<p class="fixable icon">'
}}
</article>
</main>
{% include footer %}
</body>
</html>