From bb207a42bd97dece8e46bc07e65a8798a5b77a4c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 19 Jun 2019 20:53:40 -0600 Subject: [PATCH] Update custom page views --- resources/views/site/privacy.blade.php | 9 ++++++++- resources/views/site/terms.blade.php | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/resources/views/site/privacy.blade.php b/resources/views/site/privacy.blade.php index d820f819..ceed0ead 100644 --- a/resources/views/site/privacy.blade.php +++ b/resources/views/site/privacy.blade.php @@ -2,6 +2,13 @@ @section('section') + @if($page && $page->content) +
+

Privacy Policy

+
+
+ {!! $page->content !!} + @else

Privacy Policy

@@ -81,7 +88,7 @@

Originally adapted from the Mastodon privacy policy.

- + @endif @endsection @push('meta') diff --git a/resources/views/site/terms.blade.php b/resources/views/site/terms.blade.php index 341388d6..6ede0830 100644 --- a/resources/views/site/terms.blade.php +++ b/resources/views/site/terms.blade.php @@ -2,6 +2,13 @@ @section('section') + @if($page && $page->content) +
+

Terms Of Use

+
+
+ {!! $page->content !!} + @else

Terms Of Use

@@ -38,7 +45,7 @@

These terms and conditions are governed by and construed in accordance with the laws of Canada and you irrevocably submit to the exclusive jurisdiction of the courts in that State or location.

9. Additional Rules

This website does not have any additional rules.

- + @endif @endsection @push('meta')