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

An attempt to fix docs to prevent "`item.code` not found in context" #22

Closed eopb closed 3 years ago

eopb commented 3 years ago

When following the README I got an error.

lazy.codes on  zola-deep-thought [$!+?]
❯ zola build
Building site...
-> Creating 1 pages (0 orphan), 1 sections, and processing 0 images
Failed to build the site
Error: Failed to render section '/home/ethan/Documents/git/eopb/lazy.codes/content/_index.md'
Reason: Failed to render 'index.html' (error happened in a parent template)
Reason: Variable `item.code` not found in context while rendering 'index.html'

When I add code = "en" to navbar_items that solves the issue.

RatanShreshtha commented 3 years ago

What is the Zola version you are using ?

eopb commented 3 years ago
❯ zola --version
zola 0.13.0
RatanShreshtha commented 3 years ago

@eopb Thanks