Autoformatter adjustments
This commit is contained in:
parent
babf056f7c
commit
2831790f61
2 changed files with 21 additions and 21 deletions
|
@ -343,8 +343,8 @@ function updateGithubFeed() {
|
|||
.catch(err => {
|
||||
logSlackError(
|
||||
"\n" +
|
||||
"> *GITHUB FEED ERROR:* ```" + JSON.parse(JSON.stringify(err)) + "```" + "\n" +
|
||||
"> _Cause: GitHub feed refresh_\n"
|
||||
"> *GITHUB FEED ERROR:* ```" + JSON.parse(JSON.stringify(err)) + "```" + "\n" +
|
||||
"> _Cause: GitHub feed refresh_\n"
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -56,28 +56,28 @@ module.exports = exports = state => parseApiFile(state.params.wildcard).then(res
|
|||
const redirectUrl = redirects[state.href];
|
||||
|
||||
return asyncHtml`
|
||||
<article class="page" itemtype="http://schema.org/BlogPosting">
|
||||
<header class="page__header">
|
||||
<div class="page__header-wrap">
|
||||
<div class="inner-wrap">
|
||||
<h1 class="page__header__title" itemprop="name headline">404</h1>
|
||||
<article class="page" itemtype="http://schema.org/BlogPosting">
|
||||
<header class="page__header">
|
||||
<div class="page__header-wrap">
|
||||
<div class="inner-wrap">
|
||||
<h1 class="page__header__title" itemprop="name headline">404</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<section class="page__content page__markup" itemprop="articleBody">
|
||||
<div class="inner-wrap">
|
||||
<p>Redirecting you to <strong>${redirectUrl}</strong></p>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
<section class="page__content page__markup" itemprop="articleBody">
|
||||
<div class="inner-wrap">
|
||||
<p>Redirecting you to <strong>${redirectUrl}</strong></p>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
<script>
|
||||
setTimeout(() => {
|
||||
window.location.href = "${redirectUrl}";
|
||||
}, 2000);
|
||||
</script>
|
||||
`;
|
||||
<script>
|
||||
setTimeout(() => {
|
||||
window.location.href = "${redirectUrl}";
|
||||
}, 2000);
|
||||
</script>
|
||||
`;
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue