chill_hugoplate/themes/hugoplate/layouts/404.html
2023-07-24 11:04:06 +06:00

21 lines
651 B
HTML
Executable File

{{ define "main" }}
{{ with site.GetPage "404" }}
<section class="section-sm text-center">
<div class="container">
<div class="row justify-center">
<div class="sm:col-10 md:col-8 lg:col-6">
{{ partial "image" (dict "Src" .Params.image "Alt" .Title "Class" "mb-8") }}
<h1 class="h2 mb-4">{{ .Title }}</h1>
<div class="content">
{{ .Content }}
</div>
<a href="{{ site.BaseURL }}" class="btn btn-primary mt-8">
{{ i18n "back_to_home" }}
</a>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}