# Pretty easy way to do linked list posts (e.g. Daring Fireball-style link posts)

**URL:** <https://forum.ghost.org/t/pretty-easy-way-to-do-linked-list-posts-e-g-daring-fireball-style-link-posts/18922>\
**Category:** Themes\
**Created:** [December 15, 2020, 8:26pm UTC](https://forum.ghost.org/t/pretty-easy-way-to-do-linked-list-posts-e-g-daring-fireball-style-link-posts/18922 "2020-12-15T20:26:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexpriest](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/alexpriest/32/10678_2.png) [@alexpriest](https://forum.ghost.org/u/alexpriest)\
**Post date:** [December 15, 2020, 8:26pm UTC](https://forum.ghost.org/t/pretty-easy-way-to-do-linked-list-posts-e-g-daring-fireball-style-link-posts/18922/1 "2020-12-15T20:26:57Z")

</div>

This may be old news to some of you but I didn’t see it documented so thought I’d share.

I managed to build in “linked list” style posts (e.g. [Daring Fireball](https://daringfireball.net)-style link posts) using the canonical URL override and a simple [`#has` statement](https://ghost.org/docs/api/v3/handlebars-themes/helpers/has/?_ga=2.101638531.30801926.1607961677-130893717.1607651024#simple-example) on my main content template (`content.hbs` in my case). Quick how-to:

1. **Choose a tag to denote link posts.** This can be internal (I used `#link`).

2. **Use {{#has}} to change the formatting only for link posts and link to the canonical URL.** In my case, I also added an SVG symbol to the title. The canonical URL can be called using the `{{canonical_url}}` tag.

```plaintext
        {{#has tag="#link"}}
            <a href="{{canonical_url}}"><h1 class="single-title">{{title}} <svg class="icon-title single-icon"><use xlink:href="#title-link"></use></svg></h1></a>
        {{else}}
            <h1 class="single-title">{{title}}</h1>
        {{/has}}

```

1. **Update the canonical URL under “post settings” and “meta data”.** As seen here:

 ![CleanShot 2020-12-15 at 14.23.23@2x](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/e/e68b3ce0f2cd34d97f0f8681a766a625ece795ce.png)

1. (Optional) **You can also use {{#has}} in the loop, if you want to denote link posts in your list of posts.**

* * *

You can see this in action in the loop on [my website](https://alexpriest.com) — click “load more” if you don’t see one at the top. [Here](https://alexpriest.com/blog/2020/04/21/a-speck-of-dust/) is an example of a link post directly.

Hope this is helpful!
