Removed deprecated Google News template and changed look of 404 page

This commit is contained in:
Brandon Rozek 2021-12-15 13:43:08 -05:00
parent 8e819b33dd
commit d683165125
2 changed files with 2 additions and 5 deletions

View file

@ -2,13 +2,11 @@
<html> <html>
{{ partial "head.html" . }} {{ partial "head.html" . }}
<body> <body>
<h1>404 Page Not Found</h1>
{{ partial "header.html" . }} {{ partial "header.html" . }}
<div class="main"> <div class="main">
<div>
<h1>404 page not found.</h1>
<p><a href="{{ .Site.BaseURL }}">Go Home</a></p> <p><a href="{{ .Site.BaseURL }}">Go Home</a></p>
</div> </div>
</div>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</body> </body>
</html> </html>

View file

@ -37,7 +37,6 @@
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
{{- template "_internal/opengraph.html" . -}} {{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}} {{- template "_internal/schema.html" . -}}
<!-- {{- template "_internal/twitter_cards.html" . -}} --> <!-- {{- template "_internal/twitter_cards.html" . -}} -->
{{- partial "twitter_cards.html" . -}} {{- partial "twitter_cards.html" . -}}