import { PlugyPage , PageFlags } from "./types" ; export function makeIndex ( page , main ? ) { if ( typeof page . flags === "undefined" ) { return ; } page . flags += PageFlags . INDEX ; if ( main ) { page . flags += PageFlags . MAIN_INDEX ; } }