Move config.json

This commit is contained in:
LordMathis 2017-10-31 17:20:12 +01:00
parent b6f6ba9072
commit 9884782386
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import config from '../static/config/config.json'; import config from '../utils/config.json';
export default class Home extends Component { export default class Home extends Component {

View File

@ -5,7 +5,7 @@ const moment = require('moment');
const jsonfile = require('jsonfile'); const jsonfile = require('jsonfile');
const async = require('async'); const async = require('async');
const fm = require('front-matter'); const fm = require('front-matter');
const config = require('../static/config/config.json'); const config = require('../utils/config.json');
function render(file) { function render(file) {
const md = new MarkdownIt(); const md = new MarkdownIt();

View File

@ -7,8 +7,9 @@
"name": "Matúš Námešný", "name": "Matúš Námešný",
"email": "matus@namesny.com", "email": "matus@namesny.com",
"social": { "social": {
"github": "https://github.com/LordMathis",
"twitter": "https://twitter.com/matus_n", "twitter": "https://twitter.com/matus_n",
"github": "https://github.com/LordMathis",
"codepen": "https://codepen.io/LordMathis/",
"linkedin": "https://www.linkedin.com/in/mat%C3%BA%C5%A1-n%C3%A1me%C5%A1n%C3%BD-3903b6128/" "linkedin": "https://www.linkedin.com/in/mat%C3%BA%C5%A1-n%C3%A1me%C5%A1n%C3%BD-3903b6128/"
}, },
"contentPath": "./content", "contentPath": "./content",

View File

@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path'); const path = require('path');
const async = require('async'); const async = require('async');
const Compiler = require('./compiler'); const Compiler = require('./compiler');
const config = require('../static/config/config.json'); const config = require('../utils/config.json');
const data = require('./data.json'); const data = require('./data.json');
module.exports = function() { module.exports = function() {