Blog Topics

Hello,

I am wanting to create a topics page like the Hubspot page.

So the page I want to create is blog.enduraplas.com/topics.

How do I create this?

I know how to create the actual page but I don’t know how to host it on the blog.enduraplas.com domain.

Please help.

You can do this with the blog topics HUBL function.

You would need to create a landing page and add a HUBL module to the page with the following code.

{% set my_topics = blog_topics('default', 250) %}
<div class="custom-topic-list-wrapper">
<h2 class="custom-topic-list-title">
<a href="http://blog.enduraplas.com">Enduraplas® Blog</a>
</h2>
<ul>
{% for item in my_topics %}
<li><a href="{{ group.absolute_url }}/topic/{{item.slug}}">{{ item }}</a></li>
{% endfor %}
</ul>
</div>

I’m not sure i explained myself right.

I did create this [u]http://offers.enduraplas.com/topics[/u] on my landing page domain but I can’t figure out how to host it on the blog.enduraplas.com domain.

Would you know how to do this.

I assume blog.enduraplas.com is setup as a Hubspot domain.

Go to the settings tab and under the Page URL and where you see http://offers.enduraplas.com it should be a dropdown list where you can select from the domains you have setup in Hubspot.

Hi @MRF

It looks like you have HubSpot blog tools assigned to blog.endurapls.com and its landing page tools assigned to offers.enduraplas.com - which is a common config.

In this scenario, it’s not possible to publish your topics page to the blog domain since you can’t publish a bespoke page inside the blog tool.

The way around this is to change your domain configuration so that both the blog and landing page tools are assigned to the same subdomain. Then you could add /blog/ to the URL of your topics page and it would appear to be part of the blog.

Hope that helps.

Hello,
1. I am trying to use a variable so that the name of the topic appears in the list, but some hyphens appear in the words:
You can see an example here: https://blog.enzymeadvisinggroup.com/marketing-comercial/tag/data-lake

We are using the shortcode: {{topic}} … with {{topic.name}} does not work.

2. Some of our topics have an accent. When you put them, a 404 error is generated.
for example: https://blog.enzymeadvisinggroup.com/marketing-comercial/topic/**bleep**%C3%ADtica-de-datos

Can we solve it?

Thank you!!