Change title

This commit is contained in:
LordMathis 2019-10-13 12:52:58 +02:00
parent 002844f8fb
commit 92bbcec4d0
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
1 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ import { App } from '../components'
import routes from './routes' import routes from './routes'
import serialize from 'serialize-javascript' import serialize from 'serialize-javascript'
import manifest from '../../public/static/manifest.json' import manifest from '../../public/static/manifest.json'
import config from '../../config/config.json'
export function serverRender (req, res, next) { export function serverRender (req, res, next) {
const activeRoute = routes.find((route) => matchPath(req.url, route)) || {} const activeRoute = routes.find((route) => matchPath(req.url, route)) || {}
@ -29,7 +30,7 @@ function renderFullPage (html, data) {
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Matúš Námešný</title> <title>${config.title}</title>
<!-- Google Fonts --> <!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:700&amp;subset=latin-ext" rel="stylesheet" rel="preload"> <link href="https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:700&amp;subset=latin-ext" rel="stylesheet" rel="preload">
<!-- Font Awesome --> <!-- Font Awesome -->