add exemple openstreetmap

This commit is contained in:
greglebreton 2023-01-20 17:49:33 +01:00
parent bcdba8536a
commit 43ffc420e7
5 changed files with 12 additions and 19 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "themes/zen"] [submodule "themes/zen"]
path = themes/zen path = themes/zen
url = https://github.com/frjo/hugo-theme-zen.git url = https://github.com/frjo/hugo-theme-zen.git
[submodule "themes/osm"]
path = themes/osm
url = https://github.com/Hanzei/hugo-component-osm.git

View File

@ -6,9 +6,9 @@ publishdir = "public"
title = "GREGANDEV" title = "GREGANDEV"
canonifyurls = true canonifyurls = true
# Configuration du language et thème # CONFIG LANGAGE ET THEME
DefaultContentLanguage = "fr" DefaultContentLanguage = "fr"
theme = "beautifulhugo" theme = ["osm", "beautifulhugo"]
metaDataFormat = "yaml" metaDataFormat = "yaml"
pygmentsUseClasses = true pygmentsUseClasses = true
pygmentCodeFences = true pygmentCodeFences = true
@ -27,17 +27,6 @@ pygmentCodeFences = true
rss = false rss = false
comments = true 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 # ICONES RESEAUX SOCIAUX
[Author] [Author]
name = "Greg Lebreton" name = "Greg Lebreton"
@ -63,8 +52,6 @@ pygmentCodeFences = true
##### MENU ##### ##### MENU #####
# Accueil # Accueil
[[menu.main]] [[menu.main]]
name = "Accueil" name = "Accueil"
@ -83,8 +70,7 @@ pygmentCodeFences = true
url = "page/liens" url = "page/liens"
weight = 3 weight = 3
# sous menu CV ##### SOUS MENU #####
# liens # liens
[[menu.main]] [[menu.main]]
parent = "CV" parent = "CV"
@ -98,8 +84,8 @@ pygmentCodeFences = true
url = "https://cv.gregandev.fr" url = "https://cv.gregandev.fr"
weight = 4 weight = 4
# sous menu PROJETS
##### SOUS MENU PROJETS #####
[[menu.main]] [[menu.main]]
parent = "Projets" parent = "Projets"
name = "LA 2029" name = "LA 2029"

View File

@ -59,4 +59,4 @@ Le CNAM est un partenaire dans la formation des jeunes aux métiers de demain, i
#### VR GAMES #### VR GAMES
![VR](../../images/jeux/vr.gif) ![VR](../../images/jeux/vr.gif)

3
content/page/exemple.md Normal file
View File

@ -0,0 +1,3 @@
#### OPENSTREET MAP EXEMPLE
{{< openstreetmap mapName="cnam_859513" >}}

1
themes/osm Submodule

@ -0,0 +1 @@
Subproject commit 012844b9d4e1ce3eab34766ec125a492adfcaafa