Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Capitals vs Non-Capitals for Categories?

Started by Muut Archive 12 years ago · 12 replies · 554 views
12 years ago

All of my categories are assigned ad lowercase like this:

YAML
taxonomy:
  category:
    - photography
    - Admin
    - Stuff
  tag:
    - aperture
    - opinion

I have this block of code calling for category summary pages in my blog"

HTML
<li>
    <a href="{{ base_url }}/category:Admin">Admin</a>
</li>
<li>
    <a href="{{ base_url }}/category:Photography">Photography</a>
</li>
<li> 
    <a href="{{ base_url }}/category:Web Development">Web Development</a>
</li>

The Admin and Web Development links work as expected. But the Photography link brings up a blank page unless I do it like this:

HTML
<li>
    <a href="{{ base_url }}/category:photography">Photography</a>
</li>

But if I call for the Admin category page like this:

HTML
<li>
    <a href="{{ base_url }}/category:admin">Admin</a>
</li>

I get a blank page.

So Admin wants to be called as Admin but Photography wants to be called as photography.

Why should that be?

12 years ago

Looks suspiciously like your cache issue again :) Can you try clearing that first.

12 years ago

Not that. I cleared it and am not running through the CodeKit cache. Grav's caching is turned off.

12 years ago

And it's consistent. Admin always wants to be Admin and Photography always wants to be photography.

12 years ago

If you send me a zip of your site I can try to replicate it (devs at getgrav.org)

12 years ago

Also tell me where specifically to look to find the issue.

12 years ago

Nope. Error:

TXT
<[email protected]>: host ASPMX.L.GOOGLE.COM[74.125.129.27] said: 552-5.7.0 This
   message was blocked because its content presents a potential 552-5.7.0
   security issue. Please visit 552-5.7.0
   http://support.google.com/mail/bin/answer.py?answer=6590 to review our 552
   5.7.0 message content and attachment content guidelines.
   bl11si7319297pdb.125 - gsmtp (in reply to end of DATA command)

Another way?

12 years ago

I was tempted to try Yosemite's AirDrop, but went with Dropbox. See your email.

12 years ago

Ooops! Don't spend any time on this. The inconsistency in capitalization was my own in the different blog post yaml.

Sorry.

12 years ago

Yes, thanks. I hate wasting your time. Sometimes I just need to spend a little longer stewing on a problem before asking. :(

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1281 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago