Ryan reviews how he implemented the singles templates, including why not just use one template for both singles?
This is the singles template code we used in the video. Ryan decided to create two separate templates becuase he has plans to enhance FAQs in the future.
{# About Single Template #}
{% extends '_layouts/_wrapper' %}
{% block main %}
<div class="relative py-16 bg-white overflow-hidden">
<div class="relative px-4 sm:px-6 lg:px-8">
<div class="text-lg max-w-prose mx-auto">
<h1>
<span class="mt-2 block text-3xl text-center leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">{{ entry.title }}</span>
</h1>
</div>
<div class="mt-6 prose prose-gray prose-lg text-gray-500 mx-auto">
{{ entry.richText }}
</div>
</div>
</div>
{% endblock %}
Real World Craft CMS is made up of the following videos: