test custom 404
This commit is contained in:
parent
788c612018
commit
321024f22f
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: "I forgot to make post"
|
|
||||||
hidden: true
|
|
||||||
---
|
|
||||||
|
|
||||||
Hi! Sorry but link doesn't exist yet.
|
|
||||||
|
|
||||||
It may be still in work or not posted yet.
|
|
||||||
|
|
||||||
If this link doesn't work for 1+ weeks, please contact me!
|
|
@ -1,8 +1,10 @@
|
|||||||
+++
|
+++
|
||||||
title = 'HowTo DO SOMETHING
|
title = 'HowTo DO SOMETHING
|
||||||
date = 2024-05-03
|
date = 2024-08-03
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
<!-- -->
|
||||||
|
|
||||||
I forgot to write summary<!--more-->
|
I forgot to write summary<!--more-->
|
||||||
|
|
||||||
![](./img/10.png)
|
![](./img/10.png)
|
||||||
|
@ -1,8 +1,93 @@
|
|||||||
{{ define "main"}}
|
{{ define "main"}}
|
||||||
<main id="main">
|
<main id="main" tabindex="-1">
|
||||||
<div>
|
|
||||||
<h1 id="title"><a href="{{ .Site.BaseURL | relLangURL }}">Go Home</a></h1>
|
|
||||||
Sorry, this Page is not available.
|
|
||||||
|
<article class="post h-entry">
|
||||||
|
<div class="post-header">
|
||||||
|
<header>
|
||||||
|
<h1 class="p-name post-title"><a href="/">Error 404</a></h1>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<meta property="og:url" content="http://localhost:1313/404/">
|
||||||
|
<meta property="og:site_name" content="Casual Blog">
|
||||||
|
<meta property="og:title" content="[Error 404](/)">
|
||||||
|
<meta property="og:description" content="Hi! Sorry but link doesn’t exist yet.
|
||||||
|
It may be still in work or not posted yet.
|
||||||
|
If this link doesn’t work for 1+ weeks, please contact me!">
|
||||||
|
<meta property="og:locale" content="en_us">
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="[Error 404](/)">
|
||||||
|
<meta name="twitter:description" content="Hi! Sorry but link doesn’t exist yet.
|
||||||
|
It may be still in work or not posted yet.
|
||||||
|
If this link doesn’t work for 1+ weeks, please contact me!">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="post-info noselect">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="post-hidden-url u-url" href="http://localhost:1313/404/">http://localhost:1313/404/</a>
|
||||||
|
<a href="http://localhost:1313/" class="p-name p-author post-hidden-author h-card" rel="me">Casual</a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="post-taxonomies">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.querySelector(".toc").addEventListener("click", function () {
|
||||||
|
if (event.target.tagName !== "A") {
|
||||||
|
event.preventDefault();
|
||||||
|
if (this.open) {
|
||||||
|
this.open = false;
|
||||||
|
this.classList.remove("expanded");
|
||||||
|
} else {
|
||||||
|
this.open = true;
|
||||||
|
this.classList.add("expanded");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="content e-content">
|
||||||
|
<p>Hi! Sorry but link doesn’t exist yet.</p>
|
||||||
|
<p><img src="https://media1.tenor.com/m/3rAtEcJ09BcAAAAC/cat-loading.gif" alt=""></p>
|
||||||
|
<!-- TODO download, upscale, host here - https://tenor.com/view/cat-loading-error-gif-19814836-->
|
||||||
|
<p>It may be still in work or not posted yet.</p>
|
||||||
|
<p>If this link doesn’t work for 1+ weeks, please contact me!</p>
|
||||||
|
<!-- -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- [Take me home!](/) -->
|
||||||
|
<!-- thanks https://moonbooth.com/hugo/custom-404/ for guide -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user