single page fixes

This commit is contained in:
codecalm
2020-01-29 23:43:13 +01:00
parent 00a71f7069
commit 03e42f5284
12 changed files with 32 additions and 31 deletions
+7 -5
View File
@@ -1,10 +1,12 @@
---
layout: base
body-class: border-top-wide border-primary
body-class: border-top-wide border-primary d-flex flex-column
---
<div class="d-flex align-items-center justify-content-center min-vh-100">
{% assign error = site.data.errors[page.error] %}
{% assign header = error.header | default: 'Oops… You just found an error page' %}
{% include ui/empty.html icon="settings" illustration=error.illustration icon-text=error.title title=header subtitle=error.description button-icon="arrow-left" button-text="Take me home" %}
<div class="flex-fill d-flex align-items-center justify-content-center">
<div class="container-tight py-6">
{% assign error = site.data.errors[page.error] %}
{% assign header = error.header | default: 'Oops… You just found an error page' %}
{% include ui/empty.html icon="settings" illustration=error.illustration icon-text=error.title title=header subtitle=error.description button-icon="arrow-left" button-text="Take me home" %}
</div>
</div>