You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if'state/'inURL:
replace('state/(\w{2})', 'state'+'\1'.toUpperCase)
elif'doc/'inURL: # handle URLs that got a month/day addedURL.rstrip('/')
doc_list= [iforiinsite.docsifURLini] # i.e. get doc/seattle-wa-2016-02-01 since it contains doc/seattle-wa-2016iflen(doc_list) ==0:
# show normal 404 pageeliflen(doc_list) ==1:
# redirect to that pageeliflen(doc_list) >1:
# redirect to state or place page# or list these policies on the 404 page# Only if I change the URL structure for places, as suggested in issue #44:elif'place/'inURL:
redirecttoURL.replace('place/', 'docs/')
Also: 404 page should now say to check out Browse or Search, not just Browse.
https://amreldib.com/blog/FixJekyllCaseSensitiveUrlsOnGitHubPages
The text was updated successfully, but these errors were encountered: