getzola / book Goto Github PK
View Code? Open in Web Editor NEWGitbook theme for Zola
License: MIT License
Gitbook theme for Zola
License: MIT License
Hi,
Would it be feasible to add a color scheme picker like mdBook provides - e.g. with the paintbrush icon at the top here: https://erwabook.com/intro/ ?
I'm not very familiar with CSS or SASS, but I think it'd be a really useful feature if it's not already possible.
I was wondering if it was in the scope of this project to change the menu for multi-lingual sites? Currently the index.html template has:
set index = get_section(path="_index.md")
Is it possible to set the index with this logic:
{% if lang == config.default_language %}{% set index = "_index.md" %}{% else %}{% set indx= "_index." ~ lang ~ ".md" %}{% endif %}
My team is pretty new to zola, so if we are overlooking something with this logic or your implementation please let me know. Right now we override the menu block with this logic. However, we may have a few documentation sites that will need to implement this override. Thanks for a great theme!
Currently, the scroll position is reset to the top on each page load. Having the current position in view when opening a page would make navigation easier. Keeping the current scroll position between page loads would be even better.
Similar how mdbook does it: https://doc.rust-lang.org/stable/book/ch13-01-closures.html
Should be fairly easy
From the template and mention in the readme the theme does not support orphan pages.
Currently the menu is shown on all devices, resulting in mobile devices seeing all menu and no page. It would be much better for usability if the menu could be initially hidden on narrow screens or mobile devices.
Links currently appear HTML-escaped. Not sure if that's intended behavior?
This is a great theme! I wonder if the chapters can be collapsed/hidden?
Like if I am reading chapter 2, I don't want to see the tabs in chapter 1 on the side navigation menu. Also if I am reading section 1 of chapter 2, I want none but only sub sections of section 1 shown on the side menu.
Make menu collapsible is great for reading big document which may have hundreds of sections and sub sections.
Hi,
I have a site with tons of books and want to move it to Zola.
Is there a way to have multiple books, each one with their own chapters?
Example:
content
├── programming
│ ├── index.md
│ ├── compilers.md
│ └── programming-languages.md
│ ├── index.md
│ ├── rust
│ │ ├── index.md
│ │ └── cargo.md
│ ├── python
│ └── index.md
├── mathematics
│ ├── index.md
│ └── algebra.md
└── philosophy
└── index.md
For example, if I’m visiting example.com/programming, on the sidebar, I’d like to see:
On a side note: “books” and “chapters” are just metaphors. I have nested “books” and in each one, on the sidebar, I see the parent, siblings, and children.
When I hide the navigation menu with the hamburger icon, the "previous page" link stays in the same place, covering up some of the text.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.