Answers.Body: <pre><code>{% set home = craft.entries.section('pages').one() %}
  {% set sub1 = home.getChildren().one() %}
  link: &lt;a href="{{ sub1.getUrl() }}"&gt;{{ sub.title }}&lt;/a&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-20T10:38:27.880Z
Answers.LastActivityDate: 2018-04-20T10:38:27.880Z
Answers.UserDisplayName: Robin Schambach
Body: <p>I have a Structure Section:</p>
  
  <ul>
  <li>Home 
  
  <ul>
  <li>Sub 1</li>
  <li>Sub 2 </li>
  </ul></li>
  <li>About
  
  <ul>
  <li>List item</li>
  <li>List item</li>
  </ul></li>
  <li>Info</li>
  </ul>
  
  <p>How can I link the «Home»-Entry in a Structured Section to the «Sub 1»-Entry?</p>
  
  <p>Any help is much appreciated. Thanks in advance.</p>
  
Tags: <craft3><structure>
Title: How can I Link a category entry to a Subsite?
ThreadText: # How can I Link a category entry to a Subsite?
  
  (Asked by: username_0 on 2018-04-20)
  
  I have a Structure Section:
  
  * Home
    + Sub 1
    + Sub 2
  * About
    + List item
    + List item
  * Info
  
  How can I link the «Home»-Entry in a Structured Section to the «Sub 1»-Entry?
  
  Any help is much appreciated. Thanks in advance.
  
  **Tags:** craft3, structure
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-20. Score: 2
  
  ```
  {% set home = craft.entries.section('pages').one() %}
  {% set sub1 = home.getChildren().one() %}
  link: <a href="{{ sub1.getUrl() }}">{{ sub.title }}</a>
  
  ```
  
  
  ---
  
  