Answers.Body: <p>Hi Magnus and welcome to Craft.</p>
  
  <p>Your homepage should ideally be a <a href="http://buildwithcraft.com/docs/sections-and-entries#section-types">Single</a>. As the Craft site says these are one-off pages that have no special requirements or hierarchy.</p>
  
  <p>You would then create a <a href="http://buildwithcraft.com/docs/sections-and-entries#section-types">Channel</a> called News (or Blog, whatever you require) and here you would have entries for each news article on your site.</p>
  
  <p>Once you have everything set up, outputting the latest news article on your homepage is a very simple process:</p>
  
  <pre><code>{% set latestNews = craft.entries.section('news').limit(1) %}
  
  {% if latestNews|length %}
  
      {% for article in latestNews %}
          &lt;p&gt;{{ article.title }}&lt;/p&gt;
      {% endfor %}
  
  {% endif %}
  </code></pre>
  
  <p>This code would sit in your <code>index.twig</code> template and grabs the 1st entry in the News section. Simple!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-25T14:33:26.730Z
Answers.Text: Great! A clear answer that even I understand
Answers.UserDisplayName: Magnus von Bromsen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-17T20:44:15.687Z
Answers.Text: I have this same issue, except im trying to pull in a matrix block. :(
Answers.UserDisplayName: Spheriri
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-25T14:24:48.943Z
Answers.LastActivityDate: 2015-02-25T14:24:48.943Z
Answers.UserDisplayName: Jamie Wade
Body: <p>I have started my very first Craft project (coming from EE) - so, apologies if this is a to simple question.</p>
  
  <p>On the homepage I want to display the latest news entry - and short excerpts from a few older ones. No other type of entries on the page.</p>
  
  <p>Question: Should the section type of the homepage be a "channel" then, or a "single"? Or is there a something completely different way to do this?</p>
  
Tags: <entries>
Title: Display news (from a channel) on the Homepage
ThreadText: # Display news (from a channel) on the Homepage
  
  (Asked by: username_0 on 2015-02-25)
  
  I have started my very first Craft project (coming from EE) - so, apologies if this is a to simple question.
  
  On the homepage I want to display the latest news entry - and short excerpts from a few older ones. No other type of entries on the page.
  
  Question: Should the section type of the homepage be a "channel" then, or a "single"? Or is there a something completely different way to do this?
  
  **Tags:** entries
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-02-25. Score: 7 | Accepted answer
  
  Hi username_0 and welcome to Craft.
  
  Your homepage should ideally be a [Single](http://buildwithcraft.com/docs/sections-and-entries#section-types). As the Craft site says these are one-off pages that have no special requirements or hierarchy.
  
  You would then create a [Channel](http://buildwithcraft.com/docs/sections-and-entries#section-types) called News (or Blog, whatever you require) and here you would have entries for each news article on your site.
  
  Once you have everything set up, outputting the latest news article on your homepage is a very simple process:
  
  ```
  {% set latestNews = craft.entries.section('news').limit(1) %}
  
  {% if latestNews|length %}
  
      {% for article in latestNews %}
          <p>{{ article.title }}</p>
      {% endfor %}
  
  {% endif %}
  
  ```
  
  This code would sit in your `index.twig` template and grabs the 1st entry in the News section. Simple!
  
  > **Comments:**
  > **username_0**: Great! A clear answer that even I understand  
  > **username_2**: I have this same issue, except im trying to pull in a matrix block. :(  
  
  ---
  
  