<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hide a blog from listing page in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633955#M28715</link>
    <description>&lt;P&gt;It is custom &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 07:55:58 GMT</pubDate>
    <dc:creator>trishnguyent</dc:creator>
    <dc:date>2022-05-17T07:55:58Z</dc:date>
    <item>
      <title>Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633870#M28710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a listing page built on HubSpot where all demo videos are listed. However, we'd like to hide one demo video from the listing page while leaving it to remain active and accessible. How can we do this?&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 01:17:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633870#M28710</guid>
      <dc:creator>trishnguyent</dc:creator>
      <dc:date>2022-05-17T01:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633928#M28711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/386681"&gt;@trishnguyent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add an if statement to your blog listing based on the topics, so if you give that post a topic called 'hidden', you can do something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% for content in contents %}
  {% if 'hidden' in content.topic_list|map('name') %}
    // Render something of a placeholder here, like a CTA
  {% else %}
    // Add your regular post html here
  {% endif %}
{% endfor %}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 May 2022 06:28:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633928#M28711</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2022-05-17T06:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633944#M28712</link>
      <description>&lt;P&gt;Hi Teun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt response. Should I add the code above in the following box (Head HTML) which sits under the Setting of that blog (not the page listing) or anywhere else? Please advise.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-05-17 at 2.28.22 pm.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/66518iEF8C443B85DED286/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-05-17 at 2.28.22 pm.png" alt="Screen Shot 2022-05-17 at 2.28.22 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 07:31:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633944#M28712</guid>
      <dc:creator>trishnguyent</dc:creator>
      <dc:date>2022-05-17T07:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633945#M28713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/386681"&gt;@trishnguyent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use the default blog content module in your blog listing template? Or is it a custom module?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 07:33:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633945#M28713</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2022-05-17T07:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633955#M28715</link>
      <description>&lt;P&gt;It is custom &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 07:55:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633955#M28715</guid>
      <dc:creator>trishnguyent</dc:creator>
      <dc:date>2022-05-17T07:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a blog from listing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633958#M28717</link>
      <description>&lt;P&gt;In that module, you should have a loop where you go through all 'contents' to display the posts in your listing. Add the HubL with the if statement there.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can select a topic for each blog posts in the 'settings' when editing the post. Add a new topic/tag called hidden for the post you want to hide.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 08:00:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hide-a-blog-from-listing-page/m-p/633958#M28717</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2022-05-17T08:00:22Z</dc:date>
    </item>
  </channel>
</rss>

