Adding a public-facing page with a shortcode

This commit is contained in:
2021-06-01 09:33:09 -06:00
parent 5aaf4bf1d0
commit 8f048c4088
4 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,11 @@
@extends('layouts.front')
@section('content')
<p>Here is the content of the blade file, it will show in place of your shortcode.</p>
<p>Here are the attributes you passed in:</p>
<ul>
@foreach($shortcode['attributes'] as $key => $val)
<li>{{ $key }}: {{ $val }}</li>
@endforeach
</ul>
@endsection