Comments (10)
OK, I got it. I removed paginate_by
from _index.md
in "blog" directory but forgot about _index.md
in "content". I removed section_path
and "latest posts" dissapears from main page.
Thank you once again for blazing fast commits :)
from tabi.
You want to have a blog section but not show it on the main page? Or not have a blog section at all?
from tabi.
I don't know what is possible (if any). My page will be not "pure blog" but I like "projects" section idea - every post illustrated with thumbnail.
from tabi.
Neither option is possible now. Will look into adding this option later!
from tabi.
Thanks for reply. It's not very important feature but would be nice to have an option to enable/disable certain sections by simple key = true/false value in configuration file.
from tabi.
Rather than an option to enable/disable, my idea is:
- Is the path for blog/projects set?
- If not, don't show that section at all (this is how it works for projects)
- If yes, show it
So users only need to set one variable, instead of the path to projects/blog as well as the "enable this feature" flag.
I've implemented the base idea, but now I need to fix some CSS issues. Will be ready soon.
from tabi.
Just added the feature in #317. Let me know if you encounter any issues!
from tabi.
Thank you. It turns off blog posts when I click on "blog" menu entry (I got empty page). But I'd like to turn off "Latest posts" section on main page too. Could you add such option too?
from tabi.
That should not happen. What does your _index.md
look like?
On tabi's demo, if I remove the section_path
, the blog
section still works fine.
Are you trying to serve posts from the base url instead of blog/? If so, that will need another change.
from tabi.
Happy to hear! 🙌
from tabi.
Related Issues (20)
- Feature Request: add Bluesky SVG to social icons HOT 10
- Option for Fediverse (Mastodon) comments? HOT 4
- footer template doesn't handle changed feed config of new 0.19.0 version of Zola HOT 3
- Icons for "info" and "note" admonitions should be the other way around HOT 3
- Feat: make tubi work with Zola 0.19 HOT 6
- Archives template: years ordered descending but posts not ordered at all HOT 3
- Feature suggestion: sort-order setting for Tags listing page HOT 6
- Broken "ToC" link HOT 1
- Broken link to localization article HOT 1
- Inconsistent keyboard and mouse navigation for search
- Suggestion: singularize count-per-tag (in Tags listings) to read "1 post" instead of "1 posts" HOT 7
- Hardcoded feed path on header
- OpenGraph tags? HOT 4
- bug: feed not working (anymore?) HOT 3
- Need help with RSS feed and images in posts HOT 2
- add mermaid support HOT 1
- youtube shortcode is not working. HOT 5
- Galleria shortcode support HOT 4
- Content of `h2` elements overlaps when wrapping on multiple lines HOT 1
- Multiple Languages Messages in 404 page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabi.