grav-theme-antimatter icon indicating copy to clipboard operation
grav-theme-antimatter copied to clipboard

Non-routable option not working

Open simmonsr opened this issue 7 years ago • 2 comments

When selecting Routable: disabled with Antimatter, it has no effect. The following change fixes the issue.

simmonsr avatar Mar 27 '17 21:03 simmonsr

I can see the issue that a routable page (should be in menu, can't reach the page) could be handled better in Antimatter (all themes probably), but I think it can be done with a lot less copy/paste style code. In fact a non-routable page should have no <a> at all, and should use a <span>, but these means some tweaks to the scss also.

rhukster avatar Mar 27 '17 23:03 rhukster

I can just create an issue for the theme if you would prefer. Currently Routable: Disabled simply does not work w/ antimatter. It continues to be routable.

But yes, I agree it should use span and if there is smoother option than great.

simmonsr avatar Mar 28 '17 03:03 simmonsr