Yoolk Liquid

Home Objects Links

Link

The link object has the following attributes:

listing.links

Returns all links of that listing.

Input

<ul>
  {% for link in listing.links %}
    <li>{{ link.title }}</li>
  {% endfor %}
</ul>

Output

<ul>
  <li>New Generation of Web 2.0</li>
  <li>Think pad, Idea pad</li>
</ul>

link.title

Returns link’s title as type of string.

Input

<h1>{{ link.title }}</h1>

Output

<h1>New Generation of Web 2.0</h1>

Returns link’s link (URL) as type of string.

Input

<a href="{{ link.link }}">Yellow Tower</a>

Output

<a href="http://yellow-tower.com/">Yellow Tower</a>

link.description

Returns link’s description as type of string.

Input

<p>{{ link.description }}</p>

Output

<p>TODAY'S MOST READ 10 Mindsets
That Will Radically Improve Your Business The 10 Most Talked-About
Super Bowl Commercials of 2015 6 Things They Don't Tell You When You Leave the Big Corporate World for Your Own Business</p>