diff --git a/.changeset/little-garlics-begin.md b/.changeset/little-garlics-begin.md new file mode 100644 index 000000000..cc5fd8842 --- /dev/null +++ b/.changeset/little-garlics-begin.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Center content on error and single page layouts diff --git a/src/pages/_layouts/error.html b/src/pages/_layouts/error.html index f061b411f..0aa0698ad 100644 --- a/src/pages/_layouts/error.html +++ b/src/pages/_layouts/error.html @@ -3,7 +3,7 @@ layout: base body-class: border-top-wide border-primary d-flex flex-column --- -
+
{% assign error = site.data.errors[page.error] %} {% assign header = error.header | default: 'Oops… You just found an error page' %} diff --git a/src/pages/_layouts/single.html b/src/pages/_layouts/single.html index 8f20db457..577ea1396 100644 --- a/src/pages/_layouts/single.html +++ b/src/pages/_layouts/single.html @@ -3,7 +3,7 @@ layout: base body-class: d-flex flex-column --- -
+
{% unless page.hide-logo %}