diff --git a/.gitmodules b/.gitmodules index dc19131..d60ed3a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/zen"] path = themes/zen url = https://github.com/frjo/hugo-theme-zen.git +[submodule "themes/osm"] + path = themes/osm + url = https://github.com/Hanzei/hugo-component-osm.git diff --git a/config.toml b/config.toml index 90e24a2..59c0fd0 100644 --- a/config.toml +++ b/config.toml @@ -6,9 +6,9 @@ publishdir = "public" title = "GREGANDEV" canonifyurls = true -# Configuration du language et thème +# CONFIG LANGAGE ET THEME DefaultContentLanguage = "fr" -theme = "beautifulhugo" +theme = ["osm", "beautifulhugo"] metaDataFormat = "yaml" pygmentsUseClasses = true pygmentCodeFences = true @@ -27,17 +27,6 @@ pygmentCodeFences = true rss = false comments = true -#[[Params.bigimg]] -# src = "img/triangle.jpg" -# desc = "Triangle" -#[[Params.bigimg]] -# src = "img/sphere.jpg" -# desc = "Sphere" -#[[Params.bigimg]] -# src = "img/hexagon.jpg" -# desc = "Hexagon" - - # ICONES RESEAUX SOCIAUX [Author] name = "Greg Lebreton" @@ -63,8 +52,6 @@ pygmentCodeFences = true ##### MENU ##### - - # Accueil [[menu.main]] name = "Accueil" @@ -83,8 +70,7 @@ pygmentCodeFences = true url = "page/liens" weight = 3 -# sous menu CV - +##### SOUS MENU ##### # liens [[menu.main]] parent = "CV" @@ -98,8 +84,8 @@ pygmentCodeFences = true url = "https://cv.gregandev.fr" weight = 4 -# sous menu PROJETS +##### SOUS MENU PROJETS ##### [[menu.main]] parent = "Projets" name = "LA 2029" diff --git a/content/page/about.md b/content/page/about.md index 4a24add..e190995 100644 --- a/content/page/about.md +++ b/content/page/about.md @@ -59,4 +59,4 @@ Le CNAM est un partenaire dans la formation des jeunes aux métiers de demain, i #### VR GAMES -![VR](../../images/jeux/vr.gif) +![VR](../../images/jeux/vr.gif) diff --git a/content/page/exemple.md b/content/page/exemple.md new file mode 100644 index 0000000..6f064f2 --- /dev/null +++ b/content/page/exemple.md @@ -0,0 +1,3 @@ +#### OPENSTREET MAP EXEMPLE + +{{< openstreetmap mapName="cnam_859513" >}} diff --git a/themes/osm b/themes/osm new file mode 160000 index 0000000..012844b --- /dev/null +++ b/themes/osm @@ -0,0 +1 @@ +Subproject commit 012844b9d4e1ce3eab34766ec125a492adfcaafa