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

Q: using Poet as a static site generator #65

Open
shaneknysh opened this issue Dec 30, 2013 · 3 comments
Open

Q: using Poet as a static site generator #65

shaneknysh opened this issue Dec 30, 2013 · 3 comments

Comments

@shaneknysh
Copy link
Contributor

I'd like to create (or steal) a plugin to extend Poet to generate the pages as a static site.

a) is this something that would fit in with Poet?
2) any advice on where to start?

@jsantell
Copy link
Owner

This should be possible. Pretty much generating all the views upfront and putting them in directories that match the routing urls (so by default, rendered post views would be stored in a directory "posts/"), and all the tag, category, etc. views, then you'll have a structured directory that you could drop into apache or something. Actually this doesn't seem too bad! And pretty useful.

@shaneknysh
Copy link
Contributor Author

Excellent I was looking for a way to make a useful contribution. Once I have a handle on it I'll put up a pull request. I'll close this until I get something testable set up.

@jsantell
Copy link
Owner

Awesome, I think i'd use this too! Not sure if it'd be better to be a separate project or a part of this, depends on the size I guess. But should be pretty independent I think in its own module (in or out of poet). Either way, if there is functionality that's needed in the core to be exposed, let me know!

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

2 participants