mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-06-07 00:29:55 +00:00
added key to tag list
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
c2dbe618c7
commit
7f06c1b368
@ -40,7 +40,7 @@ export default class PostPage extends Component<Props, States> {
|
|||||||
<p>Tags:</p>
|
<p>Tags:</p>
|
||||||
<ul>
|
<ul>
|
||||||
{this.props.post.header.tags.map((el) => (
|
{this.props.post.header.tags.map((el) => (
|
||||||
<li>
|
<li key={el}>
|
||||||
<Link href="/tag/[tag]" as={'/tag/'+el.toLowerCase()}>
|
<Link href="/tag/[tag]" as={'/tag/'+el.toLowerCase()}>
|
||||||
<a className="button">{el}</a>
|
<a className="button">{el}</a>
|
||||||
</Link>
|
</Link>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user