mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add section page template because hugo requires it
We don't want these pages and delete them in our update script anyway. We just use the error 404 template in case the deletion doesn't work.
This commit is contained in:
11
layouts/_default/section.html
Normal file
11
layouts/_default/section.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1>Page not found</h1>
|
||||
<p class="lead">
|
||||
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
|
||||
<a href="/">Head back home</a> to try finding it again.
|
||||
</p>
|
||||
|
||||
<p>If you followed a link on this site, please <a href="https://github.com/phil-opp/blog_os/issues">report it</a>!
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
Reference in New Issue
Block a user