---
title: Single templates
description: Create a single template to render a single page.
categories: [templates]
keywords: []
menu:
docs:
parent: templates
weight: 70
weight: 70
toc: true
aliases: [/layout/content/,/templates/single-page-templates/]
---
The single template below inherits the site's shell from the [base template].
[base template]: /templates/types/
{{< code file=layouts/_default/single.html >}}
{{ define "main" }}
{{ .Title }}
{{ .Content }}
{{ end }}
{{< /code >}}
Review the [template lookup order] to select a template path that provides the desired level of specificity.
[template lookup order]: /templates/lookup-order/#single-templates
The single template below inherits the site's shell from the base template, and renders the page title, creation date, content, and a list of associated terms in the "tags" taxonomy.
{{< code file=layouts/_default/single.html >}}
{{ define "main" }}