Fixing 404 page.

This commit is contained in:
Ad5001 2022-03-04 00:22:51 +01:00
parent ed2861b9ef
commit 11a5133a49
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 19 additions and 18 deletions

View file

@ -4,6 +4,7 @@
"en": "🇬🇧", "en": "🇬🇧",
"de": "🇩🇪", "de": "🇩🇪",
"es": "🇪🇸", "es": "🇪🇸",
"pt": "🇵🇹",
"it": "🇮🇹", "it": "🇮🇹",
"no": "🇳🇴", "no": "🇳🇴",
"fi": "🇫🇮", "fi": "🇫🇮",

View file

@ -1,3 +1,4 @@
{{ define "main"}}
<!-- <!--
Omegamma - Hugo theme for ad5001.eu and related websites Omegamma - Hugo theme for ad5001.eu and related websites
@ -16,6 +17,5 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
{{ define "main"}}
{{ partial "section1.html" (dict "Image" "" "Content" ("<h1>404. Page not found</h1><br><a role='button' class='primary' href='/'>Return to main page</a>" | safeHTML)) }} {{ partial "section1.html" (dict "Image" "" "Content" ("<h1>404. Page not found</h1><br><a role='button' class='primary' href='/'>Return to main page</a>" | safeHTML)) }}
{{ end }} {{ end }}