Skip to content

Commit

Permalink
social links, section and publisher name to app (#44)
Browse files Browse the repository at this point in the history
* social links, section and publisher name to app

These values are used by every app and should be in the Malibu.

* social links, section and publisher name to app

These values are used by every app and should be in the Malibu.
  • Loading branch information
asimqt authored Nov 18, 2018
1 parent 44f9a6e commit f6fbb1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/server/load-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ import { catalogDataLoader } from "@quintype/framework/server/data-loader-helper
import { getNavigationMenuArray } from "./data-loaders/menu-data";
import { PAGE_TYPE } from "../isomorphic/constants";

const WHITELIST_CONFIG_KEYS = ["cdn-image", "polltype-host", "layout"];
const WHITELIST_CONFIG_KEYS = [
"cdn-image",
"polltype-host",
"layout",
"sections",
"social-links",
"publisher-name"
];

export function loadErrorData(error, config) {
const errorComponents = { 404: "not-found" };
Expand Down

0 comments on commit f6fbb1a

Please sign in to comment.