<?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: Limit listing articles in blog homepage in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434337#M22871</link>
    <description>&lt;P&gt;Hi Kevin, thank you so much!&lt;/P&gt;
&lt;P&gt;I didn't know it was so simple!&lt;/P&gt;
&lt;P&gt;Sorry, but I'm quite new in hubspot templating and still learning how to work correctly!&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Camilla&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 13:42:03 GMT</pubDate>
    <dc:creator>CSarzana</dc:creator>
    <dc:date>2021-05-05T13:42:03Z</dc:date>
    <item>
      <title>Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/433835#M22848</link>
      <description>&lt;P&gt;Hi there, I'm working on a blog listing template made by other developers.&lt;/P&gt;
&lt;P&gt;What I need is to limit to 4 items the articles under the title "Articoli scelti per te".&lt;/P&gt;
&lt;P&gt;I don't know how the loop.index works so I'm not able to do what I want.&lt;/P&gt;
&lt;P&gt;Can someone help me, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my page code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;
&amp;lt;div class="blog-section"&amp;gt;
	&amp;lt;div class="blog-listing-wrapper cell-wrapper"&amp;gt;
		&amp;lt;div class="blog-section"&amp;gt;
			&amp;lt;div class="blog-listing-wrapper cell-wrapper"&amp;gt;
				{# simple_list_page indicates the "blog/all" page, which is a list of links to every blog post #}
				&amp;lt;div class="post-listing{% if simple_list_page %}-simple{% endif %}"&amp;gt;
					{% if blog_author %}
					&amp;lt;div class="hs-author-profile"&amp;gt;
						&amp;lt;h2 class="hs-author-name"&amp;gt;{{ blog_author.display_name }}&amp;lt;/h2&amp;gt;
						{% if blog_author.avatar %} &amp;lt;div class="hs-author-avatar"&amp;gt; &amp;lt;img src="{{ blog_author.avatar }}" alt="{{ blog_author.display_name }}"&amp;gt; &amp;lt;/div&amp;gt; {% endif %}
						&amp;lt;div class="hs-author-bio"&amp;gt;{{ blog_author.bio }}&amp;lt;/div&amp;gt;
						{% if blog_author.has_social_profiles %}
						&amp;lt;div class="hs-author-social-section"&amp;gt;
							&amp;lt;span class="hs-author-social-label"&amp;gt;Find me on:&amp;lt;/span&amp;gt;
							&amp;lt;div class="hs-author-social-links"&amp;gt;
								{% if blog_author.facebook %}
								&amp;lt;a href="{{ blog_author.facebook }}" target="_blank" class="hs-author-social-link hs-social-facebook"&amp;gt;&amp;amp;nbsp;&amp;lt;/a&amp;gt;
								{% endif %}
								{% if blog_author.linkedin %}
								&amp;lt;a href="{{ blog_author.linkedin }}" target="_blank" class="hs-author-social-link hs-social-linkedin"&amp;gt;&amp;amp;nbsp;&amp;lt;/a&amp;gt;
								{% endif %}
								{% if blog_author.twitter %}
								&amp;lt;a href="{{ blog_author.twitter }}" target="_blank" class="hs-author-social-link hs-social-twitter"&amp;gt;&amp;amp;nbsp;&amp;lt;/a&amp;gt;
								{% endif %}
								{% if blog_author.google_plus %}
								&amp;lt;a href="{{ blog_author.google_plus }}?rel=author" target="_blank" class="hs-author-social-link hs-social-google-plus"&amp;gt;&amp;amp;nbsp;&amp;lt;/a&amp;gt;
								{% endif %}
							&amp;lt;/div&amp;gt;
						&amp;lt;/div&amp;gt;
						{% endif %}
					&amp;lt;/div&amp;gt;
					&amp;lt;h3 class="hs-author-listing-header"&amp;gt;Recent Posts&amp;lt;/h3&amp;gt;
					{% endif %}
					{% for content in contents %}

					{% if loop.index == '1' %}
					&amp;lt;div class="postTop disFlex fullwidth"&amp;gt;
						&amp;lt;div class="post-item" style="background:{% if content.post_list_summary_featured_image %}url({{ content.post_list_summary_featured_image }}) no-repeat center top/cover;{% else %}#e7e7e7{% endif %}"&amp;gt;

							{% if content.post_list_summary_featured_image %}
							&amp;lt;div class="hs-featured-image-wrapper"&amp;gt;
								&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link"&amp;gt;
									&amp;lt;img src="{{ content.post_list_summary_featured_image }}" class="hs-featured-image" alt="{{ content.name }}"&amp;gt;
								&amp;lt;/a&amp;gt;
								&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link top-of-link"&amp;gt;
								&amp;lt;/a&amp;gt;
							&amp;lt;/div&amp;gt;
							{% endif %}

							{% if not simple_list_page %}
							&amp;lt;div class="post-header"&amp;gt;
								&amp;lt;h2&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
								{% if content.topic_list %}
								&amp;lt;p id="hubspot-topic_data"&amp;gt;
									{% for topic in content.topic_list %}
									&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt;{{ topic.name }}&amp;lt;/a&amp;gt;{% if not loop.last %}{% endif %}
									{% endfor %}
								&amp;lt;/p&amp;gt;
								{% endif %}
							&amp;lt;/div&amp;gt;
							{% else %}
							&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
							{% endif %}
						&amp;lt;/div&amp;gt;
						&amp;lt;div class="psPosts"&amp;gt;
							&amp;lt;div class="popularPosts o2 fullwidth"&amp;gt;
								{% set pop_posts = blog_popular_posts('30597594664', 2) %}
								&amp;lt;h5&amp;gt;I più popolari&amp;lt;/h5&amp;gt;
								{% for pp in pop_posts %}
								{# {% if loop.index &amp;gt; '1' and loop.index &amp;lt; '4' %} #}
								&amp;lt;div class="post-item no"&amp;gt;
									{% if pp.post_list_summary_featured_image %}
									&amp;lt;div class="hs-featured-image-wrapper fullwidth" style="background:{% if pp.post_list_summary_featured_image %}url({{ pp.post_list_summary_featured_image }}) no-repeat center top/cover;{% else %}#e7e7e7{% endif %}"&amp;gt;
										&amp;lt;a href="{{pp.absolute_url}}" title="" class="hs-featured-image-link"&amp;gt;
											&amp;lt;img src="{{ pp.post_list_summary_featured_image }}" class="hs-featured-image" alt="{{ content.name }}"&amp;gt;
										&amp;lt;/a&amp;gt;
										&amp;lt;a href="{{pp.absolute_url}}" title="" class="hs-featured-image-link top-of-link"&amp;gt;
										&amp;lt;/a&amp;gt;
									&amp;lt;/div&amp;gt;
									{% endif %}

									{% if not simple_list_page %}
									&amp;lt;div class="post-header fullwidth"&amp;gt;
										&amp;lt;h2&amp;gt;&amp;lt;a href="{{pp.absolute_url}}"&amp;gt;{{ pp.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
										{% if pp.topic_list %}
										&amp;lt;p id="hubspot-topic_data"&amp;gt;
											{% for topic in pp.topic_list %}
											&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt;{{ topic.name }}&amp;lt;/a&amp;gt;{% if not loop.last %},{% endif %}
											{% endfor %}
										&amp;lt;/p&amp;gt;
										{% endif %}
									&amp;lt;/div&amp;gt;
									{% else %}
									&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{pp.absolute_url}}"&amp;gt;{{ pp.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
									{% endif %}
								&amp;lt;/div&amp;gt;
								{# {% endif %} #}
								{% endfor %}
							&amp;lt;/div&amp;gt;
							&amp;lt;div class="pSubscribe fullwidth"&amp;gt;  
								&amp;lt;h2&amp;gt;Iscriviti al nostro blog&amp;lt;/h2&amp;gt;
								&amp;lt;h6&amp;gt;Le novità e i migliori suggerimenti su marketing, vendite e servizi.&amp;lt;/h6&amp;gt;
								{# {% blog_subscribe "subscribe_designers_blog" select_blog='30597594664', title='Subscribe to the Designers Blog', response_message='Thanks for Subscribing!', label='Blog Email Subscription', overrideable=False %} #}
								&amp;lt;!--[if lte IE 8]&amp;gt;
&amp;lt;script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;![endif]--&amp;gt;
								&amp;lt;script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"&amp;gt;&amp;lt;/script&amp;gt;
								&amp;lt;script&amp;gt;
									hbspt.forms.create({
										portalId: "6823630",
										formId: "b2953687-f500-47e1-a2b4-61f4e06c4094",
										css: ''
									});
								&amp;lt;/script&amp;gt;
							&amp;lt;/div&amp;gt;
						&amp;lt;/div&amp;gt;
					&amp;lt;/div&amp;gt;
					{# {% elif loop.index &amp;gt; '1' and loop.index &amp;lt; '4' %} #}
					{% elif loop.index == '5' %}
					&amp;lt;div class="post-item showmeLast" style="background:{% if content.post_list_summary_featured_image %}url({{ content.post_list_summary_featured_image }}) no-repeat center top/cover;{% else %}#e7e7e7{% endif %}"&amp;gt;

						{% if content.post_list_summary_featured_image %}
						&amp;lt;div class="hs-featured-image-wrapper"&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link"&amp;gt;
								&amp;lt;img src="{{ content.post_list_summary_featured_image }}" class="hs-featured-image" alt="{{ content.name }}"&amp;gt;
							&amp;lt;/a&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link top-of-link"&amp;gt;
							&amp;lt;/a&amp;gt;
						&amp;lt;/div&amp;gt;
						{% endif %}

						{% if not simple_list_page %}
						&amp;lt;div class="post-header"&amp;gt;
							&amp;lt;h2&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
							{% if content.topic_list %}
							&amp;lt;p id="hubspot-topic_data"&amp;gt;
								{% for topic in content.topic_list %}
								&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt;{{ topic.name }}&amp;lt;/a&amp;gt;{% if not loop.last %}{% endif %}
								{% endfor %}
							&amp;lt;/p&amp;gt;
							{% endif %}
						&amp;lt;/div&amp;gt;
						{% else %}
						&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
						{% endif %}
					&amp;lt;/div&amp;gt;
					{% elif loop.index &amp;gt; '5' and loop.index &amp;lt;= '10' %}
					{% if loop.index == '6' %}
					&amp;lt;h5 class="articoli"&amp;gt;Articoli scelti per te&amp;lt;/h5&amp;gt;
					{% endif %}

					&amp;lt;div class="post-item simpleListing"&amp;gt;
						{% if not simple_list_page %}
						&amp;lt;div class="post-header fullwidth"&amp;gt;
							&amp;lt;h2&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
							{% if content.topic_list %}
							&amp;lt;p id="hubspot-topic_data"&amp;gt;
								{% for topic in content.topic_list %}
								&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt;{{ topic.name }}&amp;lt;/a&amp;gt;{% if not loop.last %},{% endif %}
								{% endfor %}
							&amp;lt;/p&amp;gt;
							{% endif %}
						&amp;lt;/div&amp;gt;
						{% else %}
						&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
						{% endif %}
					&amp;lt;/div&amp;gt;

					{% else %}
					&amp;lt;div class="post-item no"&amp;gt;

						{% if content.post_list_summary_featured_image %}
						&amp;lt;div class="hs-featured-image-wrapper fullwidth" style="background:{% if content.post_list_summary_featured_image %}url({{ content.post_list_summary_featured_image }}) no-repeat center top/cover;{% else %}#e7e7e7{% endif %}"&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link"&amp;gt;
								&amp;lt;img src="{{ content.post_list_summary_featured_image }}" class="hs-featured-image" alt="{{ content.name }}"&amp;gt;
							&amp;lt;/a&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link top-of-link"&amp;gt;
							&amp;lt;/a&amp;gt;
						&amp;lt;/div&amp;gt;
						{% endif %}

						{% if not simple_list_page %}
						&amp;lt;div class="post-header fullwidth"&amp;gt;
							&amp;lt;h2&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
							{% if content.topic_list %}
							&amp;lt;p id="hubspot-topic_data"&amp;gt;
								{% for topic in content.topic_list %}
								&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt;{{ topic.name }}&amp;lt;/a&amp;gt;{% if not loop.last %}{% endif %}
								{% endfor %}
							&amp;lt;/p&amp;gt;
							{% endif %}
						&amp;lt;/div&amp;gt;
						{% else %}
						&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
						{% endif %}
					&amp;lt;/div&amp;gt;
					{% endif %}
					{% endfor %} 

				&amp;lt;/div&amp;gt;

				&amp;lt;div class="blogListing tagShow fullwidth"&amp;gt;
					{% for content in contents %}
					&amp;lt;div class="post-item no"&amp;gt;
						{% if content.post_list_summary_featured_image %}
						&amp;lt;div class="hs-featured-image-wrapper fullwidth" style="background:{% if content.post_list_summary_featured_image %}url({{ content.post_list_summary_featured_image }}) no-repeat center top/cover;{% else %}#e7e7e7{% endif %}"&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link"&amp;gt;
								&amp;lt;img src="{{ content.post_list_summary_featured_image }}" class="hs-featured-image" alt="{{ content.name }}"&amp;gt;
							&amp;lt;/a&amp;gt;
							&amp;lt;a href="{{content.absolute_url}}" title="" class="hs-featured-image-link top-of-link"&amp;gt;
							&amp;lt;/a&amp;gt;
						&amp;lt;/div&amp;gt;
						{% endif %}

						{% if not simple_list_page %}
						&amp;lt;div class="post-header fullwidth"&amp;gt;
							&amp;lt;h2&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
							 
							{% if content.topic_list %}
							&amp;lt;p id="hubspot-topic_data"&amp;gt;
								{% for topic in content.topic_list %}
								&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, topic.slug) }}"&amp;gt; 
									  {{ topic.name }}&amp;lt;/a&amp;gt; {% if not loop.last %}{% endif %}
								{% endfor %}
							&amp;lt;/p&amp;gt;
							{% endif %}
         &amp;lt;!--  Blog category page --&amp;gt;
							{% if is_listing_view %}
							&amp;lt;p id="hubspot-topic_data" class="catpage-tag"&amp;gt;
							{% for t in contents_tags %}
							{% if t.slug == topic %}
								&amp;lt;a class="topic-link" href="{{ blog_tag_url(group.id, t.slug) }}"&amp;gt; {{ t.name }}&amp;lt;/a&amp;gt;
							{% endif %}
							{% endfor %}
							&amp;lt;/p&amp;gt;
							{% endif %}
							
						&amp;lt;/div&amp;gt;
						{% else %}
						&amp;lt;h2 class="post-listing-simple"&amp;gt;&amp;lt;a href="{{content.absolute_url}}"&amp;gt;{{ content.name }}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
						{% endif %}
					&amp;lt;/div&amp;gt;
					{% endfor %}
				&amp;lt;/div&amp;gt;
				{% if not simple_list_page %}
                &amp;lt;div class="blog-pagination fullwidth p50-0 textCenter"&amp;gt;
                    {% if last_page_num %}
                        &amp;lt;a class="previous-posts-link" href="{{ blog_page_link(last_page_num) }}"&amp;gt;Previous&amp;lt;/a&amp;gt;
                    {% endif %}
                        
                    {% if next_page_num %}
                        &amp;lt;a class="next-posts-link" href="{{ blog_page_link(next_page_num) }}"&amp;gt;Next&amp;lt;/a&amp;gt;
                    {% endif %}
                &amp;lt;/div&amp;gt;
                {% endif %} 
			&amp;lt;/div&amp;gt;
		&amp;lt;/div&amp;gt;
	&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;script type="text/javascript"&amp;gt;
	$(document).ready(function() {
		if (window.location.href.indexOf("/tag") &amp;gt; -1) {
			$('body').addClass('showtags');
		}
		if (window.location.href.indexOf("/author") &amp;gt; -1) {
			$('body').addClass('showAuthor');
			$('body').addClass('showtags');
		}
	});
&amp;lt;/script&amp;gt;



&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 04 May 2021 09:09:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/433835#M22848</guid>
      <dc:creator>CSarzana</dc:creator>
      <dc:date>2021-05-04T09:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434184#M22866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/157952"&gt;@CSarzana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Developers Forum!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/93787"&gt;@Theodor&lt;/a&gt;&amp;nbsp;, would you mind sharing your advice for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/157952"&gt;@CSarzana&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 04:20:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434184#M22866</guid>
      <dc:creator>natsumimori</dc:creator>
      <dc:date>2021-05-05T04:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434332#M22870</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63029"&gt;@natsumimori&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/157952"&gt;@CSarzana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you actually shouldn't need to modify any code for this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you navigate to Settings(cog) &amp;gt; Website &amp;gt; Blog &amp;gt; Templates,&lt;/P&gt;
&lt;P&gt;about halfway down the page is a section titled "Listing Page" with a number field.&lt;/P&gt;
&lt;P&gt;You can input the number of blog posts you would like to show on the list pages.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:29:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434332#M22870</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2021-05-05T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434337#M22871</link>
      <description>&lt;P&gt;Hi Kevin, thank you so much!&lt;/P&gt;
&lt;P&gt;I didn't know it was so simple!&lt;/P&gt;
&lt;P&gt;Sorry, but I'm quite new in hubspot templating and still learning how to work correctly!&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Camilla&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:42:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434337#M22871</guid>
      <dc:creator>CSarzana</dc:creator>
      <dc:date>2021-05-05T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434383#M22872</link>
      <description>&lt;P&gt;Nothing to be sorry for! Lots to be learned and little time to learn it haha!&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 14:16:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434383#M22872</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2021-05-05T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434849#M22906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/157952"&gt;@CSarzana&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You have to add the below code:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Please add Blow the Code:&lt;BR /&gt;&lt;BR /&gt;{% if loop.index &amp;lt; 4 %}{% endif %}.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we were able to answer your query, kindly help the community by marking it as a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sharing&amp;nbsp; screenshot to set limit accordinly&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;A class="c-link" href="https://prnt.sc/12il48w" target="_blank" rel="noopener noreferrer" data-stringify-link="https://prnt.sc/12il48w" data-sk="tooltip_parent" aria-describedby="sk-tooltip-2897"&gt;https://prnt.sc/12il48w&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 12:22:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/434849#M22906</guid>
      <dc:creator>webdew</dc:creator>
      <dc:date>2021-05-06T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647116#M29044</link>
      <description>&lt;P&gt;In the settings page, is there a way to differentiate between mobile and desktop? Say 8 for desktop but only 4 for mobile, for example?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 16:18:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647116#M29044</guid>
      <dc:creator>BRichards</dc:creator>
      <dc:date>2022-06-09T16:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647387#M29058</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/399230"&gt;@BRichards&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Not that im aware of natively. This could be done using hubl&amp;nbsp; with css or via the API, but it going to be a lot of work for something that might “devalue” your &lt;A href="https://developers.google.com/search/blog/2016/11/mobile-first-indexing" target="_blank"&gt;search engine rankings&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 00:28:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647387#M29058</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2022-06-10T00:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Limit listing articles in blog homepage</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647406#M29059</link>
      <description>Thank you for the update.&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jun 2022 01:17:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Limit-listing-articles-in-blog-homepage/m-p/647406#M29059</guid>
      <dc:creator>BRichards</dc:creator>
      <dc:date>2022-06-10T01:17:34Z</dc:date>
    </item>
  </channel>
</rss>

