getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.62k stars 450 forks source link

Make three skeleton sites – blog, gallery, and website #1760

Open da2x opened 9 years ago

da2x commented 9 years ago

It should be easier to start a new blog or website. Simpler stuff to get people started faster.

Leave init --demo as is it is. Supplement with typical minimum purpose based sites.

init --blog – two demo posts, menu contains tags, archives, rss (blog stuff) using POSTS

init --website – content/index.html, content/about.html, content/employees/jane-doe.html using PAGES – simple menu

mckea commented 7 years ago

Or even:

nikola init-blog
nikola init-blog --demo

nikola init-website
nikola init-website --demo

etc.

MetalDent commented 5 years ago

Hi, anyone working on this?

Kwpolska commented 5 years ago

@MetalDent No, contributors are welcome!

MetalDent commented 5 years ago

@Kwpolska okay! Where'll these demo blog and website files go?

Kwpolska commented 5 years ago

Figuring this out and implementing support in nikola init is part of the task. Our demo site currently lives in nikola/data/samplesite.

nickvence commented 3 years ago

This is an important step towards making good on the Handbook's claim: "DON'T READ THIS MANUAL. IF YOU NEED TO READ IT I FAILED, JUST USE THE THING."

jasonbraganza commented 3 years ago

Can I try tackling this? I’m new to programming. Learning Python. But I use Nikola and love and would love to contribute, even if in a small manner. I want to do this in the hope this will help me sharpen my programming skills.

Kwpolska commented 3 years ago

@jasonbraganza Sure, go ahead! We welcome all contributions, and if you get stuck, we can help. (If you have any code, it’s best to start a pull request and discuss / continue developing in it).

jasonbraganza commented 3 years ago

@Kwpolska and pre code, is it ok if i discuss, pick your brains in the irc channel?

Kwpolska commented 3 years ago

@jasonbraganza Sure, although I’d prefer a more persistent place (a GitHub Pull Request, or this issue).

diliphiremath commented 1 month ago

Challenge is the code is not dynamic around filters. Tightly coupled with quite and demo filters. Need to refactor that part. As blog and website requires THEME_CONF in conf.py changes.

Raised a PR for this, Please review.