Hello. I am newbie with Zola. And the first steps go wrong. So, please, show me somebody the light.
I use Windows 10. zola.exe version 0.13.0
First part:
Lets build already done blog example…
I have dowloaded theme:
git clone ...blabla/zola-clean-blog.git "D:\Dev\Zola\"
zola.exe -r "D:\Dev\Zola\zola-clean-blog\" build
…
It does nothing - after 10 min trying and failing - the last backslash is wrong! WTF?
New try:
zola.exe -r "D:\Dev\Zola\zola-clean-blog" build
Building site... 'highlight_code' has been moved to a [markdown] section. Top level 'highlight_code' and 'highlight_theme' will stop working in 0.14. -> Creating 13 pages (0 orphan), 2 sections, and processing 0 images Failed to build the site Error: Failed to render page '//?/D:/Dev/Zola/zola-clean-blog/content/pages\about.md' Reason: Tried to render
about.html but the template wasn't found
I don’t get it. What is wrong? It is example from official site… Backslash again in front of about.md? Because my friend did the same stuff on Linux and success - he is lucky with princess now…
Second part:
Lets say, that first part is clear and I am able to build example…
What steps I have todo, if I want my own functional blog with this theme?
My goal is to have the same content but first page will be “Hello František” (not Start bootstrap)
zola.exe init "D:\Dev\Zola\blog"
creates dir structure.
git clone https://github.com/dave-tucker/zola-clean-blog.git "D:\Dev\Zola\blog\themes"
I have changed config.toml - this is my version
#The URL the site will be built for
base_url = “https://example.com”theme = “zola-clean-blog”
taxonomies = [
{name = “categories”, rss = true, paginate_by=5},
{name = “tags”, rss = true, paginate_by=5},
]#Whether to automatically compile all Sass files in the sass directory
compile_sass = true#Whether to build a search index to be used later on by a JavaScript library
build_search_index = true[markdown]
#Whether to do syntax highlighting
#Theme can be customised by setting the ‘highlight_theme’ variable to a theme supported by Zola
highlight_code = true[extra]
#Put all your custom variables here
Now, if I want similar content like exists in theme, I have to copy MD files from theme to my structure and modify it?
Then run this and I am done?
zola.exe -r "D:\Dev\Zola\blog" build
Because it doesn’t work.
Thx