# How do I get started with Zola? My content is getting escaped

**URL:** <https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131>\
**Category:** Support\
**Created:** [June 18, 2019, 7:12pm UTC](https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131 "2019-06-18T19:12:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldeka](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/aldeka/32/113_2.png) [@aldeka](https://zola.discourse.group/u/aldeka)\
**Post date:** [June 18, 2019, 7:12pm UTC](https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131/1 "2019-06-18T19:12:32Z")

</div>

tl;dr: I’m trying to get started with Zola and all my page content is HTML-escaped. I’ve read through the content and template documentation and can find nothing to explain this behavior or figure out how to fix it, yet I can’t imagine how any other person starting with Zola _wouldn’t_ run into this problem.

I made a page.html template which consists of this:

```
{% extends "index.html" %}

{% block title %}{{ page.title }}{% endblock title %}

{% block content %}
  <h1>{{ page.title }}</h1>
  <div>
{{ page.content }}
  </div>
{% endblock content %}

```

In `/content` I made a folder named `portfolio/` with a file named `index.md` inside it, with these contents:

```
+++
title = "Portfolio"
+++

what

```

When I run Zola, this is the result. The content is escaped and the `<p>` tags that the markdown (presumably) compiles down to are visible:

 ![22](https://global.discourse-cdn.com/free1/uploads/zola1/original/1X/f9fe71601d8c5e653adaa8bc0ff91a00083d0264.png)

This seems like a super basic thing that anyone who runs Zola would run into! But I cannot figure out how to fix it based on the docs–neither the content nor the template sections show, end-to-end, how to actually make your content show up properly. Help?

I’m happy to submit a docs patch, once I actually know how to fix this issue. 😛

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [June 19, 2019, 8:47am UTC](https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131/2 "2019-06-19T08:47:31Z")

</div>

Add a `| safe` to the variable, like `{{ page.content | safe }}`  
`

---

<div class="post-metadata">

**Author:** ![Geobomatic](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/geobomatic/32/109_2.png) [@Geobomatic](https://zola.discourse.group/u/Geobomatic)\
**Post date:** [October 26, 2019, 9:34pm UTC](https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131/3 "2019-10-26T21:34:00Z")

</div>

I encountered this as well, I don’t understand why HTML is escaped by default?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [October 27, 2019, 9:39am UTC](https://zola.discourse.group/t/how-do-i-get-started-with-zola-my-content-is-getting-escaped/131/4 "2019-10-27T09:39:32Z")

</div>

Tera has no way of marking some content as `safe` automatically, eg the body rendered by Zola could be marked as a safe string in Jinja2.  
Everything is escaped by default because of that.
