Code: Select all
#Testimonials
testimonials:
name: Testimonials
singular_name: Testimonial
fields:
name:
type: text
class: large
position:
type: text
body:
type: textarea
height: 150px
listing_template: testimonials.twig
record_template: testimonial.twig
i should see the testimonial.twig in action ? I.E. the below file:
Code: Select all
{% include '_header.twig' %}
<main>
<div class="container">
<div class="page-header">
<h1>Testimonial!</h1>
<p>This is a testimonial.</p>
</div>
<div class="page-content">
<p>Testimonial content...</p>
</div>
</div>
</main>
{% include '_footer.twig' %}No route found for "GET /Testimonial/1"