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"]
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

View File

@ -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"

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