From bf6baa94975ce3dfa5ca1f22a45cf77d88b31e7f Mon Sep 17 00:00:00 2001 From: Lionel Date: Wed, 17 Feb 2021 16:20:53 +0100 Subject: [PATCH] feat(frontend): add canonical link on service-public and travail-emploi document (#3312) --- .../pages/fiche-ministere-travail/[slug].js | 4 ++++ .../pages/fiche-service-public/[slug].js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/code-du-travail-frontend/pages/fiche-ministere-travail/[slug].js b/packages/code-du-travail-frontend/pages/fiche-ministere-travail/[slug].js index 610d6a6eda..03a0a8069c 100644 --- a/packages/code-du-travail-frontend/pages/fiche-ministere-travail/[slug].js +++ b/packages/code-du-travail-frontend/pages/fiche-ministere-travail/[slug].js @@ -2,6 +2,7 @@ import { Accordion } from "@socialgouv/cdtn-ui"; import { decode } from "@socialgouv/fiches-travail-data"; import fetch from "isomorphic-unfetch"; import getConfig from "next/config"; +import Head from "next/head"; import { withRouter } from "next/router"; import React, { useEffect, useState } from "react"; import styled from "styled-components"; @@ -60,6 +61,9 @@ const Fiche = ({ data = { _source: {} }, anchor }) => { return ( + + + + + +