Open da2x opened 9 years ago
Or even:
nikola init-blog
nikola init-blog --demo
nikola init-website
nikola init-website --demo
etc.
Hi, anyone working on this?
@MetalDent No, contributors are welcome!
@Kwpolska okay! Where'll these demo blog and website files go?
Figuring this out and implementing support in nikola init
is part of the task. Our demo site currently lives in nikola/data/samplesite
.
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."
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.
@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).
@Kwpolska and pre code, is it ok if i discuss, pick your brains in the irc channel?
@jasonbraganza Sure, although I’d prefer a more persistent place (a GitHub Pull Request, or this issue).
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.
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 POSTSinit --website
– content/index.html, content/about.html, content/employees/jane-doe.html using PAGES – simple menu