text: const meta = require("./site/meta");
  const settings = require("./site/settings");
  const author = require("./site/author");
  
  const config = {
    ...meta,
    ...settings,
    ...author,
  };
  
  /* VALIDATION */
  
  // Make sure pathPrefix is empty if not needed
  if (config.pathPrefix === "/") {
    config.pathPrefix = "";
  } else {
    // Make sure pathPrefix only contains the first forward slash
    config.pathPrefix = `/${config.pathPrefix.replace(/^\/|\/$/g, "")}`;
  }
  
  // Make sure siteUrl doesn't have an ending forward slash
  if (config.siteUrl.substr(-1) === "/")
    config.siteUrl = config.siteUrl.slice(0, -1);
  
  module.exports = config;
  