Comments (3)
Hi @matyalatte, thanks for submitting an issue. To clarify what you're asking for by "disable href", are you asking to add an anchor tag (<a>
) for the page but without an href? I'm not sure if this is a great idea - semantically, we shouldn't have anchor tags that don't link to a page. I may be misunderstanding what you're asking for - feel free to follow up!
In addition, would you still render a page for Group1
in your example? If not, this would break quite a bit of the breadcrumb-related functionality (since you would have a page parent without a generated page). If you do want to render a page, then this seems pretty similar to the existing functionality of using parent pages.
from just-the-docs.
Thank you for the reply.
are you asking to add an anchor tag () for the page but without an href?
I mean, to remove the <a>
tag to make a shared header like what we can do with the collections.
(nav_disable_link
might be a better name than is_group
.)
would you still render a page for Group1 in your example?
Yeah, it's a page, to be exact. But it works like a gruop for users.
It would be perfect if it works in exactly the same way as the collenction method, but removing the <a>
tags is enough for me.
I prefer consistency than perfectness.
I think front matters should be able to do both of parenting and grouping (or _config.yml
should do both of them.)
But it's just a suggestion. I don't mind if you decline it.
from just-the-docs.
I think the suggested enhancement would be useful. Similar features were also discussed in #1345 and #1357.
It seems straightforward to implement the omission of the <a>
tag from the navigation panel.
It would be perfect if it works in exactly the same way as the collection method
Collections have the following additional features:
- They can be non-foldable.
- Collection titles are styled differently from page titles.
- Any collection can be excluded from search.
Perhaps those features should also be specifiable in the front matter of the proposed grouping pages? Then the current (rather clumsy) way of specifying collections might become completely superfluous.
from just-the-docs.
Related Issues (20)
- Add in-page right sidebar HOT 3
- `just-the-docs.com` copyright is out of date HOT 4
- big HOT 1
- Incorrect positioning of clickable area for navigation links in Safari/macOS HOT 6
- Add support for Lunr pre-built indexes HOT 3
- Zion LLC HOT 1
- Support CTRL+k shortcut for triggering the search input HOT 2
- Organize pages using IDs HOT 1
- Log 2023-11-18 00_48_10.txt
- Searching _posts HOT 1
- Indented Markdown diff does not handle empty newlines HOT 2
- t
- Back-to-top link not shown HOT 1
- Only first child in entire site gets expanded/shown in nav bar HOT 8
- How to manipulate DOM with code in `custom.js`? HOT 2
- UI breaking issue in landscape printing HOT 1
- Edit in Github link has extra slash when using collections with no permalink HOT 3
- custom.scss and setup.scss postprocessing issue HOT 4
- Search functionality is not working out of the box, zzzz-search-data.json is getting rendered as a HTML page instead of a JSON file HOT 2
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 just-the-docs.