445d3f0a33
* Prevent next-head class from being added to title * Add test for title updating when navigating with next/link
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
import React from 'react'
|
|
import Head from 'next/head'
|
|
import Link from 'next/link'
|
|
|
|
export default (props) => <div id='head-2'>
|
|
<Head>
|
|
<meta
|
|
name='description'
|
|
content='Head Two'
|
|
/>
|
|
<title>this is head-2</title>
|
|
</Head>
|
|
<Link href='/nav/head-1'>
|
|
<a id='to-head-1'>to head 1</a>
|
|
</Link>
|
|
</div>
|