Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Being able to list all the articles in another template than index.html #220

Closed
almet opened this issue Feb 29, 2012 · 10 comments
Closed

Being able to list all the articles in another template than index.html #220

almet opened this issue Feb 29, 2012 · 10 comments

Comments

@almet
Copy link
Member

almet commented Feb 29, 2012

When generating the content, it could be useful to be able to have the list of articles in another location than index.html, and to have index.html being a particular page (one of the ones defined in pages/).

@bbinet
Copy link
Contributor

bbinet commented Apr 6, 2012

+1 for index.html being a particular page

@bbinet
Copy link
Contributor

bbinet commented May 7, 2012

I'm currently interested in this issue.

#330 will allow us to save the list of articles in another location than index.html, but what would be the plan to have index.html being a particular page (one of the ones defined in pages/)?
The pages are currently saved depending on the PAGE_SAVE_AS config, which is common for all pages, so we cannot force a particular page to be saved at /index.html

I would be happy to provide a patch, but I would appreciate some guidance.

@almet
Copy link
Member Author

almet commented Jun 9, 2012

we probably can have something that allows to make a mapping of templates sources to destination (in the output directory).

The first thing to do IMO is to provide a way for the page listing all the articles to be saved in a different location, the second thing is simple and I think already implemented by the PAGE_SAVE_AS feature.

@bbinet still willing to work on this?

@justinmayer
Copy link
Member

@bbinet Just wondering if you might be able to find some time to provide your patch within the next few days. We are trying to put together a 3.0 release very soon, and it would be helpful to know whether we should mark this issue for inclusion in 3.0. Would you please let me know? Thanks!

@bbinet
Copy link
Contributor

bbinet commented Jul 9, 2012

Sorry, I'm not working on this right now (I've hacked a workaround for my own website) and I won't be able to provide a patch before a while: time is missing when holidays are coming ;-)
I think that this issue is the same as #400 so maybe @tbunnyman or @ametaireau would have some time to work on this..?

Technical concerns: Don't you think the most flexible approach would be to allow to override the default PAGE_SAVE_AS config directly from the page metadata (as it will possible to provide a custom template in the metadata with #404)?

@onlyhavecans
Copy link
Contributor

#404 put the template wanted as an attribute as the page object itself.

I am interested in pulling this in as part of #400 but just like 400 it is not on my milestone list, that one is too long already.

@domenkozar
Copy link

+1 on this one :)

@ghost ghost assigned onlyhavecans Jul 14, 2012
@onlyhavecans
Copy link
Contributor

I'm putting it officially on the list!

@almet
Copy link
Member Author

almet commented Jul 14, 2012

yeah :)

@bbinet
Copy link
Contributor

bbinet commented Dec 6, 2012

Closing this one since with #330, we are already able to save the list of articles in another location than index.html.

The other part of the issue description was:
"[be able to] have index.html being a particular page (one of the ones defined in pages/)"
So this is addressed in #400.

@bbinet bbinet closed this as completed Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants