diff --git a/src/plugins/schemaOrg/nodes/Taxon.js b/src/plugins/schemaOrg/nodes/Taxon.js index 0789ced..25cb6f5 100644 --- a/src/plugins/schemaOrg/nodes/Taxon.js +++ b/src/plugins/schemaOrg/nodes/Taxon.js @@ -13,7 +13,9 @@ function removeEmptyProperties(obj) { } function makeUrlPath(host, path) { - return host && path ? `${host}${path}` : '' + const { hash_mode } = __APP_ENV__ + + return hash_mode ? host + '/#' + path : host + path } export function taxonResolver(