gbv / jskos-proxy

HTTP proxy to serve JSKOS objects
https://uri.gbv.de/terminology/
MIT License
3 stars 2 forks source link

Show sub-path of selected vocabulary in navbar #18

Closed nichtich closed 1 year ago

nichtich commented 1 year ago

If the request URL starts with (or is equal to) the current vocabulary URI (e.g. http://uri.gbv.de/terminology/bk/42.00 starts with http://uri.gbv.de/terminology/bk/) and the vocabulary URI starts with but is longer than the NAMESPACE and it ends with / then show the path section in the navigation bar (e.g. bk/).