# Add a Blog Post Publication Date

In [Part One](/umbraco-cms/18.latest/develop-with-umbraco/tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date.md) we added a new property to the *Blogpost* Document Type.\
Now in Part Two, we're going to display that instead of the default creation date.

## Steps - Part Two

1. Find the blog posts on the *Blog* in the **Content** section.
2. Add publication dates to the blog posts.
   * Remember to publish your changes!
   * As this field is flagged as Mandatory you now can't save a post without it.
3. Go to the **Settings** section.
4. Expand the **Templates** folder.
5. Navigate to the *Blogpost* template.
   * This is the template that is rendering the full page view of a blog post
6. Find the element with the `blogpost-date` class and change it to use a nicely formatted Publication Date, i.e.:

   ```html
   <small class="blogpost-date">@Model.PublicationDate.ToLongDateString()</small>
   ```
7. Click **Save** to save the template. A confirmation message appears confirming the Template is saved.
8. View the blog post page in the browser. Navigate to the page in the **Content** tree and select the link on the **Info** tab.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-cms/18.latest/develop-with-umbraco/tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date/part-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
