- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
9 lines
343 B
JavaScript
9 lines
343 B
JavaScript
import { normalizePathTrailingSlash } from './normalize-trailing-slash';
|
|
export const addLocale = (path, ...args)=>{
|
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
return normalizePathTrailingSlash(require('../shared/lib/router/utils/add-locale').addLocale(path, ...args));
|
|
}
|
|
return path;
|
|
};
|
|
|
|
//# sourceMappingURL=add-locale.js.map
|