How can I Link a category entry to a Subsite? 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.
{% set home = craft.entries.section('pages').one() %}
{% set sub1 = home.getChildren().one() %}
link: &lt;a href="{{ sub1.getUrl() }}"&gt;{{ sub.title }}&lt;/a&gt;