Inserito il tema direttamente nel codice invece che come sottomodulo
This commit is contained in:
43
themes/hugo-universal-theme/layouts/404.html
Normal file
43
themes/hugo-universal-theme/layouts/404.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
|
||||
<head>
|
||||
{{ partial "headers.html" . }}
|
||||
{{ partial "custom_headers.html" . }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="all">
|
||||
|
||||
{{ partial "top.html" . }}
|
||||
|
||||
{{ partial "nav.html" . }}
|
||||
|
||||
<div id="content">
|
||||
<div class="container">
|
||||
|
||||
<div class="col-sm-6 col-sm-offset-3" id="error-page">
|
||||
|
||||
<div class="box">
|
||||
|
||||
<h3>{{ i18n "404Message" | markdownify }}</h3>
|
||||
<h4 class="text-muted">{{ i18n "404Error" | markdownify }}</h4>
|
||||
|
||||
<p class="buttons"><a href="{{ "/" | relURL }}" class="btn btn-template-main"><i class="fas fa-home"></i> {{ i18n "404NavHome" | markdownify }}</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- /.col-sm-6 -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</div>
|
||||
<!-- /#content -->
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user