[[content-create]]

=== Creating a Content Item

[role="summary"]
How to create a content item for use as the home page.

(((Content item,creating)))
(((Basic page,creating)))
(((Home page,creating)))

==== Goal

Create and publish a content item that will be used as the home page of the
site.

==== Prerequisite knowledge

<<content-paths>>

==== Site prerequisites

The _Basic page_ content type must exist. This is created on your site when you
install with the core Standard installation profile.

==== Steps

. In the _Manage_ administrative menu, navigate to _Content_ > _Add content_ >
_Basic page_ (_node/add/page_). The _Create Basic page_ form appears.

. Click _Edit summary_.

. Fill in the fields as shown below.
+
[width="100%",frame="topbot",options="header"]
|================================
| Field name | Explanation| Value
| Title | Title of the page. Will also be used as a meta tag in the source code,
 URL alias, and as label of the content item in administration screens | Home
| Summary | Summary of the value of the body field. Can be used as teaser
in overview pages | Opening times and location of City Market.
| Body | Full content of the page | Welcome to City Market - your neighborhood
farmers market!

Open: Sundays, 9 AM to 2 PM, April to September

Location: Parking lot of Trust Bank, 1st & Union, downtown
|Published | Whether the content is published for public view or not | Checked
|URL alias > URL alias| Alternate relative path for the content | /home
|================================
+
By clicking the _Source_ button in the rich text editor toolbar, you can see the
HTML source code of the text that you are editing.
+
--
// Partly filled-in node/add/page, with Summary section open.
image:images/content-create-create-basic-page.png["Create a basic page",width="100%"]
--

. Click _Preview_ to ensure everything looks like expected.

. Click _Back to content editing_.

. Click _Save_. The content is saved and can be found on the
_Content_ page.

. Follow the same steps to create an About page, with title "About", and a body
telling about the history of the farmer's market.

==== Expand your understanding

* <<menu-home>>
* <<menu-link-from-content>>
* <<language-content-translate>>

==== Related concepts

* <<language-concept>>
* <<content-paths>>
* <<content-edit>>

==== Videos

// Video from Drupalize.Me.
video::https://www.youtube-nocookie.com/embed/h312fekiSNE[title="Creating a Content Item"]

==== Additional resources

https://www.drupal.org/docs/8/core/modules/node/about-nodes[_Drupal.org_ community documentation page "About nodes"]


*Attributions*

Written by https://www.drupal.org/u/pixiekiss[Agnes Kiss] and
https://www.drupal.org/u/batigolix[Boris Doesborg].
