CMS Development

Draqos
参加者

Author_data: "Posted in <Blogs>" not "Posted in <topics>"

解決

Hello everyone,

 

I have a question regarding the posts header > author_data. I've tried to search and find in documentation an solution that solve that, but yet, no success. 


I run multiple (multi-language & multi-solutions) blogs and want to add in the post(s) author_data "Posted in <BLOG>" instead of "Posted in <TOPICS>".

 

Example, what i have now: "Posted by <AUTHOR> in <TOPICS> on <DATE>"

 

Is there any solution?


Thank you very much in advance,

Draqos

0 いいね!
1件の承認済みベストアンサー
Draqos
解決策
参加者

Author_data: "Posted in <Blogs>" not "Posted in <topics>"

解決

Thanks for your feedback Anthony.

 

Here is what I do by myself and it seems that works:

 in <a href="{{ post.parent_blog.absolute_url }}">{{ post.parent_blog.public_title }}</a>

元の投稿で解決策を見る

0 いいね!
3件の返信
anthonypizzurro
HubSpot製品開発チーム
HubSpot製品開発チーム

Author_data: "Posted in <Blogs>" not "Posted in <topics>"

解決

Hi Draqos, 

 

You might be able to accomplish this by editing your template and replacing {{ content.topic_list }} with {{ group.public_title }}.

 

This would replace the list of topics associated with a post with the name of the blog.

 

I hope that helps,

Anthony

0 いいね!
Draqos
解決策
参加者

Author_data: "Posted in <Blogs>" not "Posted in <topics>"

解決

Thanks for your feedback Anthony.

 

Here is what I do by myself and it seems that works:

 in <a href="{{ post.parent_blog.absolute_url }}">{{ post.parent_blog.public_title }}</a>
0 いいね!
anthonypizzurro
HubSpot製品開発チーム
HubSpot製品開発チーム

Author_data: "Posted in <Blogs>" not "Posted in <topics>"

解決

Perfect! Glad you got that sorted.

 

-Anthony

0 いいね!