RatanShreshtha / DeepThought

A simple blog theme focused on writing powered by Bulma and Zola.
https://deepthought-theme.netlify.app/
MIT License
177 stars 92 forks source link

Can't use DeepThought as a theme - doesn't render anything in content/ #2

Closed jdeibele closed 3 years ago

jdeibele commented 3 years ago

First, I've looked and installed Zola themes and DeepThought looks great. Thank you for sharing it.

I've installed DeepThought into ~/zola/themes, then changed config.toml
theme = "DeepThought"

I added the extra configuration options needed.

The problem is, when I do "zola serve" I get a blank site.

The first image is the home page. ( http://127.0.0.1:1111/ )

Screen Shot 2020-10-07 at 13 48 41

The second image is the /posts link. ( http://127.0.0.1:1111/posts )

Screen Shot 2020-10-07 at 13 46 57

If I go into themes/DeepThought and then do "zola serve" I get your sample site.

As I understand it, I should leave your theme alone so I can check out updates from GitHub. I should not put my content in your directory. I've tried both ~/zola/content

zola serve                   
Building site...
-> Creating 6 pages (0 orphan), 0 sections, and processing 0 images
Done in 37ms.

and ~/zola/content/posts

zola serve                  
Building site...
-> Creating 6 pages (6 orphan), 0 sections, and processing 0 images
Done in 30ms.

So ~/zola/content seems better.

Am I doing something wrong?

RatanShreshtha commented 3 years ago

You need a file content/_index.md which contains content for your index page and for posts add a file content/posts/_index.md. You can use the content directory of DeepThought as reference.

Also, share your directory structure.