Comments (7)
I'm not sure I completely follow what you are looking for. This seems like two requests as well. Can you file the second request in a different ticket and expand it a bit?
from hugo.
Yes, two requests. This one should just be "don't change the case of the index values" ... I'll submit another one.
from hugo.
The intent here is to retain whatever string was entered, but group them case insensitively.
So it will be displayed as inputted, but 'MongoDB' and 'mongodb' would both match the same index key.
Does this work for you. I think the cases where you would want them to match the same key are pretty strong, but I could imagine not wanting this all the time. Help me understand a good use case for keeping them different and we could add a knob in the config that will let you do case sensitive indexes.
from hugo.
Imagine I'm using an index for menu creation. The menu item name should be as entered, the string used for links, etcetera, could be lower case with blanks removed
from hugo.
This is exactly the way I intended it to work (and how I've described it in
this ticket). If it doesn't this is an oversight and needs to be fixed.
Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13
On Thu, Oct 3, 2013 at 11:47 AM, Michael Johas Teener <
[email protected]> wrote:
Imagine I'm using an index for menu creation. The menu item name should be
as entered, the string used for links, etcetera, could be lower case with
blanks removed—
Reply to this email directly or view it on GitHubhttps://github.com//issues/82#issuecomment-25632125
.
from hugo.
See the recent commit to the docs site, particularly the menu.html file which does what you are looking to do quite well.
from hugo.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from hugo.
Related Issues (20)
- Bump version of tdewolff / minify to fix new line bug HOT 3
- Server-side rendering of math using KaTeX HOT 4
- Add hash.XxHash
- Error in Hugo Server Build: Nil Pointer Evaluation in Template Partial HOT 1
- Check site.GetPage /news vs /tags/news
- Encountering "The system cannot find the path specified" error when using `nul` as taxonomy on Windows. HOT 1
- Reimplement the browser livereload logic HOT 1
- Edit of of functions/_common/* in Hugo Docs not reflected on server rebuilds HOT 1
- livereload.ForceRefresh doesn't (always) work in Chrome HOT 1
- hugo server -N behaves oddly when editing headless content
- Apple MacOS ARM64 broken build for large sites "Error: error building site: TOCSS: failed to transform" HOT 5
- navigation.Page is nil for taxonomy pages (Hugo v0.128.2+) HOT 3
- List page publish date now defaults to that of the latest subpage HOT 5
- Performance Improvements in Template Execution HOT 3
- Deferred template crashes server HOT 5
- Fingerprint appended twice causing file name too long
- Adjust gitmap execution HOT 1
- Ability to customize the fingerprint delimiter that goes in between the filename and extension
- extend version on Mac gives "ld: warning: ignoring duplicate libraries: '-lc++', '-lm'" error massed on go install HOT 3
- Emoji :melting_face: Unable to render 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 hugo.