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 => {
|
.catch(err => {
|
||||||
logSlackError(
|
logSlackError(
|
||||||
"\n" +
|
"\n" +
|
||||||
"> *GITHUB FEED ERROR:* ```" + JSON.parse(JSON.stringify(err)) + "```" + "\n" +
|
"> *GITHUB FEED ERROR:* ```" + JSON.parse(JSON.stringify(err)) + "```" + "\n" +
|
||||||
"> _Cause: GitHub feed refresh_\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];
|
const redirectUrl = redirects[state.href];
|
||||||
|
|
||||||
return asyncHtml`
|
return asyncHtml`
|
||||||
<article class="page" itemtype="http://schema.org/BlogPosting">
|
<article class="page" itemtype="http://schema.org/BlogPosting">
|
||||||
<header class="page__header">
|
<header class="page__header">
|
||||||
<div class="page__header-wrap">
|
<div class="page__header-wrap">
|
||||||
<div class="inner-wrap">
|
<div class="inner-wrap">
|
||||||
<h1 class="page__header__title" itemprop="name headline">404</h1>
|
<h1 class="page__header__title" itemprop="name headline">404</h1>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</header>
|
||||||
</header>
|
|
||||||
|
|
||||||
<section class="page__content page__markup" itemprop="articleBody">
|
<section class="page__content page__markup" itemprop="articleBody">
|
||||||
<div class="inner-wrap">
|
<div class="inner-wrap">
|
||||||
<p>Redirecting you to <strong>${redirectUrl}</strong></p>
|
<p>Redirecting you to <strong>${redirectUrl}</strong></p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = "${redirectUrl}";
|
window.location.href = "${redirectUrl}";
|
||||||
}, 2000);
|
}, 2000);
|
||||||
</script>
|
</script>
|
||||||
`;
|
`;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue