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