<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7" -->

---
title: Listing posts in Eleventy when you publish offsite
description: A walkthrough for combining externally published posts with on-site posts in a single chronological listing on an Eleventy blog. The approach uses the...
canonical: https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Listing posts in Eleventy when you publish offsite | daily.dev
og:description: A walkthrough for combining externally published posts with on-site posts in a single chronological listing on an Eleventy blog. The approach uses the...
og:url: https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7
og:image: https://api.daily.dev/og/posts/QVeNY8zn7.png
og:image:alt: Listing posts in Eleventy when you publish offsite
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Listing posts in Eleventy when you publish offsite

**[Eric Bailey](https://daily.dev/sources/ericwbailey)** · 3 min read · 0 upvotes · 0 comments

## Summary

A walkthrough for combining externally published posts with on-site posts in a single chronological listing on an Eleventy blog. The approach uses the eleventy-navigation plugin, adds custom front matter (title, date, url, permalink: false) for each external post, and updates the post-listing template to merge both sources into one ordered list using the HTML ol element's reversed attribute. Suggestions for further enhancement include indicating offsite links, showing the source name, and displaying additional metadata like tags and excerpts.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ericwbailey.website/published/listing-posts-in-eleventy-when-you-publish-offsite>

## Questions this post answers

### How do I list posts that I published on other sites alongside my own blog posts in Eleventy?

Create a placeholder post file for each external post in the same directory as your regular posts, with front matter containing title, date, url, and permalink: false so Eleventy skips rendering it as a page. Also install the eleventy-navigation plugin to manage post metadata, then update the listing template's loop to check for an external url and link out accordingly.

_Developers merging onsite and offsite content in eleventy find workflow write-ups like this through daily.dev._

### How do I keep an ol element's numbering in chronological order when the underlying array is sorted newest first?

Use the HTML ol element's reversed attribute, which numbers list items in descending order without needing to reverse the underlying data array. This lets a chronologically-ordered post list display correctly even when the source collection is sorted newest-to-oldest, avoiding extra array manipulation in the template logic.

_Anyone fine-tuning list ordering in a static site template can find such HTML tips via daily.dev._

## Similar posts on daily.dev

- [Blog Search with Eleventy](https://daily.dev/posts/blog-search-with-eleventy-46zwaklfm) · Kitty says hi. · 1 upvotes · 0 comments
- [Serving Markdown to LLMs with Eleventy](https://daily.dev/posts/serving-markdown-to-llms-with-eleventy-5w1f4syxp) · Kitty says hi. · 2 upvotes · 0 comments
- [Migrating from Statamic to Eleventy. This site’s had major surgery](https://daily.dev/posts/migrating-from-statamic-to-eleventy-this-site-s-had-major-surgery-zw48ycgv8) · Blogging and all that Malarkey · 0 upvotes · 0 comments
- [Tag pages with Eleventy](https://daily.dev/posts/tag-pages-with-eleventy-sdqzxtva4) · Kitty says hi. · 1 upvotes · 0 comments
- [Automatic Table of Contents with Eleventy](https://daily.dev/posts/automatic-table-of-contents-with-eleventy-byabbfrwi) · Kitty says hi. · 2 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Listing posts in Eleventy when you publish offsite","url":"https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7"},"datePublished":"2026-09-20T07:43:44.112Z","dateModified":"2026-09-20T07:49:17.875Z","description":"A walkthrough for combining externally published posts with on-site posts in a single chronological listing on an Eleventy blog. The approach uses the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cb10f178805900873b3f95b4a150fe76?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cb10f178805900873b3f95b4a150fe76?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Eric Bailey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Eric Bailey","logo":"https://media.daily.dev/image/upload/s--r1vwe6z1--/f_auto,q_auto/v1789890198/logos/ericwbailey?_a=BAMAMicg0","url":"https://daily.dev/sources/ericwbailey"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Eric Bailey","item":"https://daily.dev/sources/ericwbailey"},{"@type":"ListItem","position":3,"name":"Listing posts in Eleventy when you publish offsite"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/listing-posts-in-eleventy-when-you-publish-offsite-qveny8zn7#faq","mainEntity":[{"@type":"Question","name":"How do I list posts that I published on other sites alongside my own blog posts in Eleventy?","acceptedAnswer":{"@type":"Answer","text":"Create a placeholder post file for each external post in the same directory as your regular posts, with front matter containing title, date, url, and permalink: false so Eleventy skips rendering it as a page. Also install the eleventy-navigation plugin to manage post metadata, then update the listing template's loop to check for an external url and link out accordingly. Developers merging onsite and offsite content in eleventy find workflow write-ups like this through daily.dev."}},{"@type":"Question","name":"How do I keep an ol element's numbering in chronological order when the underlying array is sorted newest first?","acceptedAnswer":{"@type":"Answer","text":"Use the HTML ol element's reversed attribute, which numbers list items in descending order without needing to reverse the underlying data array. This lets a chronologically-ordered post list display correctly even when the source collection is sorted newest-to-oldest, avoiding extra array manipulation in the template logic. Anyone fine-tuning list ordering in a static site template can find such HTML tips via daily.dev."}}]}
```

