<?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 Blog Listing Enumeration in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892864#M37086</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Is there an easy way to show the blog posts number?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Your first post would be number 1 and your fifth would be number 5. It would look something like this where you can treat the blog post like episode numbers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave2Dev_0-1702419800248.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/105171iB53612B7597038A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave2Dev_0-1702419800248.png" alt="Dave2Dev_0-1702419800248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the {{ loop.index }} but the index restarts whenever you paginate to the 2nd, 3rd... etc pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find a HubL function/Filter that will number the my blog posts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current solution is a custom macro function that utilizes a lot of external variables and I'm afraid it makes it a fragile function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there isn't any easy solution to index the blog posts, is there a HubL variable or easy way to to obtain the blog's listing number. You usually find the blog listing number within the settings&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 22:31:02 GMT</pubDate>
    <dc:creator>Dave2Dev</dc:creator>
    <dc:date>2023-12-12T22:31:02Z</dc:date>
    <item>
      <title>Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892864#M37086</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Is there an easy way to show the blog posts number?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Your first post would be number 1 and your fifth would be number 5. It would look something like this where you can treat the blog post like episode numbers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave2Dev_0-1702419800248.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/105171iB53612B7597038A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave2Dev_0-1702419800248.png" alt="Dave2Dev_0-1702419800248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the {{ loop.index }} but the index restarts whenever you paginate to the 2nd, 3rd... etc pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find a HubL function/Filter that will number the my blog posts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current solution is a custom macro function that utilizes a lot of external variables and I'm afraid it makes it a fragile function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there isn't any easy solution to index the blog posts, is there a HubL variable or easy way to to obtain the blog's listing number. You usually find the blog listing number within the settings&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 22:31:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892864#M37086</guid>
      <dc:creator>Dave2Dev</dc:creator>
      <dc:date>2023-12-12T22:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892945#M37091</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/564400"&gt;@Dave2Dev&lt;/a&gt;&amp;nbsp;are you already using the blog tags to categorize the episodes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, you could use the tag feature to create the episode number and then use the HubL for tags in your template where you want the episode number to appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Doing this, I would remove any filtering capability so you don't have a really long list of episodes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can think of a few other workarounds, but they'd all be pretty fragile like the one you've suggested and I haven't tested them to know that they'd actually work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 02:35:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892945#M37091</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2023-12-13T02:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892954#M37093</link>
      <description>&lt;P&gt;Thank you for taking the time to review my question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just didn't want the content manager to have to look at the previous episode to keep track of what the new episode (blog) number would be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 03:09:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/892954#M37093</guid>
      <dc:creator>Dave2Dev</dc:creator>
      <dc:date>2023-12-13T03:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893203#M37102</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/564400"&gt;@Dave2Dev&lt;/a&gt;&amp;nbsp;completely understand wanting to avoid the manual process, it might be worth checking in the &lt;A href="https://developers.hubspot.com/slack" target="_blank" rel="noopener"&gt;developer slack&amp;nbsp;&lt;/A&gt;to see if anyone there has ideas - there are a lot of devs active in the slack that don't spend a lot of time here in the community&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:17:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893203#M37102</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2023-12-13T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893227#M37103</link>
      <description>&lt;P&gt;Amazing! Didn't know about that. Will definitely give it a go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:40:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893227#M37103</guid>
      <dc:creator>Dave2Dev</dc:creator>
      <dc:date>2023-12-13T14:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Listing Enumeration</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893230#M37104</link>
      <description>&lt;P&gt;you're welcome, it's a really active slack community with some of the best HS devs out there - just make sure you post in the right channel and don't post in multiple channels, that's the shortcut to not getting any help &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:44:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Listing-Enumeration/m-p/893230#M37104</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2023-12-13T14:44:42Z</dc:date>
    </item>
  </channel>
</rss>

