-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs HTML fixes #3795
docs HTML fixes #3795
Changes from all commits
5bab2e0
57e0ba2
f82248a
da654f4
f229f74
6cd578e
11e12f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
## Backers | ||
|
||
Find Mocha helpful? Become a [backer](https://opencollective.com/mochajs#support) and support Mocha with a monthly donation. | ||
Find Mocha helpful? Become a [backer](https://opencollective.com/mochajs#support) and support Mocha with a monthly donation. | ||
|
||
<!-- markdownlint-disable MD034 --> | ||
{% for i in (0..29) %}[![](https://opencollective.com/mochajs/backer/{{ i }}/avatar.jpg)](https://opencollective.com/mochajs/backer/{{ i }}/website){: target="_blank" rel="noopener"}{% endfor %} | ||
{: .image-list id="_backers" } | ||
|
||
{% for i in (0..29) %}[![](https://opencollective.com/mochajs/backer/{{ i }}/avatar.jpg)](https://opencollective.com/mochajs/backer/{{ i }}/website){: target="\_blank" rel="noopener"}{% endfor %} | ||
{: .image-list class="backers" } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,49 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
plroebuck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
<title>{{ page.title }}</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>{{ title }}</title> | ||
<link | ||
rel="preload" | ||
href="https://opencollective.com/static/images/user.svg" | ||
as="image" | ||
crossorigin="anonymous" | ||
/> | ||
<link rel="stylesheet" href="css/normalize.css" /> | ||
<link rel="stylesheet" href="css/style.css" /> | ||
<link rel="stylesheet" href="css/prism.css" /> | ||
<link rel="shortcut icon" href="favicon.ico" /> | ||
> | ||
<link rel="stylesheet" href="css/normalize.css"> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<link rel="stylesheet" href="css/prism.css"> | ||
<link rel="shortcut icon" href="favicon.ico"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note that I didn't change this here since we don't have a clear list of supported browsers and this is needed for IE. |
||
|
||
<!--[if lt IE 9]> <script src="js/html5shiv.min.js"></script> <![endif]--> | ||
<!--[if lt IE 9]><script src="js/html5shiv.min.js"></script><![endif]--> | ||
</head> | ||
|
||
<body> | ||
<header id="_header"> | ||
<header class="header"> | ||
<h1> | ||
<a href="/"> | ||
<img | ||
src="/images/mocha-logo.svg" | ||
alt="Mocha" | ||
alt="Mocha Logo" | ||
width="192" | ||
height="192" | ||
/> | ||
> | ||
</a> | ||
</h1> | ||
|
||
<p id="tag"><em>simple</em>, <em>flexible</em>, <em>fun</em></p> | ||
<p class="tagline"><em>simple</em>, <em>flexible</em>, <em>fun</em></p> | ||
</header> | ||
|
||
<main id="content">{{ content }}</main> | ||
<main class="content">{{ content }}</main> | ||
|
||
<footer> | ||
<span> | ||
<a href="https://mochajs.org">mochajs.org</a> is licensed under a | ||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/" | ||
>Creative Commons Attribution 4.0 International License</a | ||
>. | ||
<p> | ||
<em>Last updated: {{ 'now' | date: '%a %b %d %H:%M:%S %Y' }}</em> | ||
</p></span | ||
> | ||
<a href="https://mochajs.org">mochajs.org</a> is licensed under a | ||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/" | ||
>Creative Commons Attribution 4.0 International License</a | ||
>. | ||
<p> | ||
<em>Last updated: {{ 'now' | date: '%a %b %d %H:%M:%S %Y' }}</em> | ||
</p> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1491,7 +1491,7 @@ A typical setup might look something like the following, where we call `mocha.se | |
<head> | ||
<meta charset="utf-8" /> | ||
<title>Mocha Tests</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For some reason, something that injects or formats the snippets, adds the useless end tags. Not a big deal, it's just it's useless. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Welcome to the prettier hate club... |
||
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" /> | ||
</head> | ||
<body> | ||
|
@@ -1598,7 +1598,7 @@ tests as shown below: | |
<head> | ||
<meta charset="utf-8" /> | ||
<title>Mocha Tests</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...which is fine an integer in this case. |
||
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" /> | ||
</head> | ||
<body> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of the added backslash?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be prettier choking on the template code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all 11ty template stuff needs wrapping in