Move config.json
This commit is contained in:
parent
b6f6ba9072
commit
9884782386
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
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 {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ const moment = require('moment');
|
|||
const jsonfile = require('jsonfile');
|
||||
const async = require('async');
|
||||
const fm = require('front-matter');
|
||||
const config = require('../static/config/config.json');
|
||||
const config = require('../utils/config.json');
|
||||
|
||||
function render(file) {
|
||||
const md = new MarkdownIt();
|
||||
|
|
|
@ -7,8 +7,9 @@
|
|||
"name": "Matúš Námešný",
|
||||
"email": "matus@namesny.com",
|
||||
"social": {
|
||||
"github": "https://github.com/LordMathis",
|
||||
"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/"
|
||||
},
|
||||
"contentPath": "./content",
|
|
@ -2,7 +2,7 @@ const fs = require('fs');
|
|||
const path = require('path');
|
||||
const async = require('async');
|
||||
const Compiler = require('./compiler');
|
||||
const config = require('../static/config/config.json');
|
||||
const config = require('../utils/config.json');
|
||||
const data = require('./data.json');
|
||||
|
||||
module.exports = function() {
|
||||
|
|
Loading…
Reference in New Issue