# Getting the hostname/base_url in a template

• Hey guys. I'm new to nodebb & really happy to found such a promising project but since i want a more specialized style than the default themes/skins i'm customizing the templates atm. I'm currently trying the get the hostname with no success. I googled around and found that I should use {url} but when I try to use it in the template of a plugin (nodebb-plugin-featured-topics-extended) i only get an empty string in the produced html. Somebody know a good way? I would like to dodge the bullet to dive deep into the source code

11

4

3

4

2
| |