404.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="{{ .Page.Language | default "en" }}" class="js csstransforms3d">
  3. <head>
  4. <meta charset="utf-8"> {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
  5. <title>{{ .Scratch.Get "title" }}</title>
  6. {{ $assetBusting := not .Site.Params.disableAssetsBusting }}
  7. <link href="{{"css/nucleus.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  8. <link href="{{"css/fontawesome-all.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  9. <link href="{{"css/hybrid.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  10. <link href="{{"css/featherlight.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  11. <link href="{{"css/perfect-scrollbar.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  12. <link href="{{"css/horsey.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  13. <link href="{{"css/theme.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  14. <link href="{{"css/hugo-theme.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  15. {{with .Site.Params.themeVariant}}
  16. <link href="{{(printf "css/theme-%s.css" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
  17. {{end}}
  18. <style type="text/css">
  19. :root #header + #content > #left > #rlblock_left {
  20. display: none !important;
  21. }
  22. p,
  23. li,
  24. ul {
  25. text-align: center
  26. }
  27. ul {
  28. list-style-type: none;
  29. }
  30. </style>
  31. {{ partial "custom-header.html" . }}
  32. </head>
  33. <body>
  34. <body class="" data-url="/">
  35. <section id="body" style="margin-left:0px;">
  36. <div id="overlay"></div>
  37. <div id="chapter">
  38. <div id="body-inner">
  39. <h1>{{T "title-404"}}</h1>
  40. <p>
  41. </p>
  42. <p>{{T "message-404"}}</p>
  43. <p></p>
  44. <p><a href='{{ "" | relLangURL }}'>{{T "Go-to-homepage"}}</a></p>
  45. <p><img src='{{ "/images/gopher-404.jpg" | relURL }}' style="width:50%" alt="Page not found!"></img></p>
  46. </div>
  47. </div>
  48. </section>
  49. </body>
  50. </html>