Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Resolve "Add CheatSheet form on internal page"

Merged Christophe Chaudier requested to merge 63-add-cheatsheet-form-on-internal-page into master
1 file
+ 20
2
Compare changes
  • Side-by-side
  • Inline
+ 20
2
import React from 'react';
import Layout from "@theme/Layout";
import Link from "@docusaurus/Link";
// import injectHTMLTags from @docusaurus
function GitAntiseche() {
return (
<>
<Layout title='=Mon antisèche Git' description='Page antisèche Git'>
<div
style={{
@@ -18,8 +20,24 @@ function GitAntiseche() {
</p>
<script id="form-script-tag-2235710" src="https://systeme.io/public/remote/page/3299399c01759e24377bd1ead360e1cda40992e.js"></script>
</div>
</Layout>
</Layout>;
</>
);
};
export default GitAntiseche;
\ No newline at end of file
export default GitAntiseche;
module.exports = function (context, options) {
return {
name: 'docusaurus-plugin',
loadContent: async () => {
return {remoteHeadTags: await fetchHeadTagsFromAPI()};
},
//content = plugin créée - lien avec config
injectHtmlTags({content}) {
return {
postBodyTags: [`<div> Ceci est le corps de l'article </div>`],
};
},
};
};
\ No newline at end of file
Loading