Make category pages work.
This commit is contained in:
14
app/src/templates/categoryTemplate.js
Normal file
14
app/src/templates/categoryTemplate.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
import { Link } from "gatsby";
|
||||
|
||||
const basicTemplate = props => {
|
||||
const { pageContext } = props
|
||||
const { categoryName } = pageContext
|
||||
|
||||
return (
|
||||
<div>
|
||||
{categoryName}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
export default basicTemplate
|
||||
Reference in New Issue
Block a user