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