Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..842c9b6
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+ {{ "<!-- PAGE 404 -->" | safeHTML }}
+ <head>
+ {{ partial "head.html" . }}
+ </head>
+
+ <body id="page-top">
+ {{ partial "nav.html" (dict "context" . "fixed" false) }}
+
+ <section class="section" id="p404">
+ {{ with .Site.Params.page404 }}
+ <div class="container">
+ <div class="row">
+ <div class="col-xs-12 text-center">
+ {{ with .background_image }}
+ <div class="page404-image" title="image: {{ . }}"
+ style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"
+ >
+ </div>
+ {{ end }}
+ <div class="page404-title wow bounceIn">
+ <h1>404</h1>
+ </div>
+ <div class="page404-content">
+ <p>{{ .text | markdownify }}</p>
+ </div>
+ <hr class="primary">
+ <a href="#" class="btn btn-primary">
+ {{ with .button_text }}
+ {{ . }}
+ {{ end }}
+ </a>
+ </div>
+ </div>
+ </div>
+ {{ end }}
+ </section>
+
+ {{ partial "footer.html" . }}
+ {{ partial "tail.html" . }}
+ </body>
+</html>