<p>Yes, the <a href="http://buildwithcraft.com/docs/templating/categorymodel" rel="nofollow">CategoryModel</a> for your category will be available to the template as the variable <code>category</code>.</p>

<pre><code>&lt;h2 class="categoryTitle"&gt;{{ category.title }}&lt;/h2&gt;
{{ dump(category) }}
</code></pre>

CC BY-SA 3.0
2015-04-27T22:36:29.623Z
Too fast.... :)
Douglas McDonald
CC BY-SA 3.0
2015-04-27T22:39:57.420Z
Its a tie. I think we'll need to see the server logs :)
Mats Mikkel Rummelhoff
CC BY-SA 3.0
2015-04-27T22:35:08.300Z
2015-04-27T22:35:08.300Z
Mats Mikkel Rummelhoff
<p>I have setup a category group to use Url's. When navigating to that url does the template have direct access to that category's inputs like you would with and entry? Or do you have to use the segment and get the data that way?</p>

<categories><url>
When accessing a Category url is there direct access to the Category's fields?
# When accessing a Category url is there direct access to the Category's fields?

(Asked by: username_0 on 2015-04-27)

I have setup a category group to use Url's. When navigating to that url does the template have direct access to that category's inputs like you would with and entry? Or do you have to use the segment and get the data that way?

**Tags:** categories, url

---

## 1 answers

### Answer by username_1 on 2015-04-27. Score: 3 | Accepted answer

Yes, the CategoryModel for your category will be available to the template as the variable category.
{{ category.title }}
{{ dump(category) }}

> **Comments:**
> **username_2**: Too fast.... :)  
> **username_1**: Its a tie. I think we'll need to see the server logs :)  

---

