Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Add archive for tweets contenttype #314

Open
mbootsman opened this issue Dec 20, 2022 · 0 comments
Open

Add archive for tweets contenttype #314

mbootsman opened this issue Dec 20, 2022 · 0 comments

Comments

@mbootsman
Copy link

mbootsman commented Dec 20, 2022

Hi,
I added a contenttype tweets in content and added some md files in the tweets directory.
after that I added a tweets.md file in the content directory. with this content:

---
title : "Tweets archive" 
layout : "list" 
url : "/tweets" 
type : "tweets"
---

In the layouts directory I added a tweets directory and in that folder a list.html file with the content of archive/list.html from the theme


When going to `localhost:1313/tweets` I now see the standard `archive/list.html` layout from the theme but with the posts, instead of the tweets. How do I make sure the `tweets/llist.html` only uses the `tweets` content type?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant