diff --git a/.gitignore b/.gitignore index b45f0b7..87934e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ public resources backups +.hugo_build.lock diff --git a/.gitmodules0 b/.gitmodules0 deleted file mode 100644 index b426a68..0000000 --- a/.gitmodules0 +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/hugo-theme-lowtech"] - path = themes/hugo-theme-lowtech - url = https://git.weko.io/kosssi/hugo-theme-lowtech.git diff --git a/Dockerfile b/Dockerfile index 3f66d28..322c3a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.weko.io/nginx-lowtech:0.0.9 +FROM registry.weko.io/nginx-lowtech:0.1.0 # Copie des sources du site COPY public /usr/share/nginx/html diff --git a/home.html b/home.html deleted file mode 100644 index 84f6be0..0000000 --- a/home.html +++ /dev/null @@ -1,75 +0,0 @@ -{{ define "main" }} - -{{ with site.Data.homepage.banner }} -
-
-

{{ .title | markdownify }}

- {{with .image}}Le futur du numérique responsable{{end}} -

{{ .content | markdownify }}

- {{ if .button.enable }} - {{ with .button }} -

{{ .label }}

- {{ end }} - {{ end }} -
-
-{{ end }} - -{{ if site.Data.homepage.valeur.enable }} -{{ with site.Data.homepage.valeur }} -
-
-

{{ .title | markdownify }}

-
-
- {{ range .valeur_item }} -
- {{ .name | title }} -

{{ .name | title }}

-

{{ .content | markdownify }}

-
- {{ end }} -
-
-{{ end }} -{{ end }} - -{{ if site.Data.homepage.presentations.enable }} -{{ with site.Data.homepage.presentations }} -{{ range $i,$p := .presentations_item }} -{{ with $p }} -
-
- {{ if modBool $i 2 }} - {{ .Title }} - {{ else }} - {{ .content | markdownify }} - {{ end }} -
-
- {{ if modBool $i 2 }} - {{ .content | markdownify }} - {{ else }} - {{ .Title }} - {{ end }} -
-
-{{ end }} -{{ end }} -{{ end }} -{{ end }} - -
-
-

Accompagné par l'incubateur Ronalpia

-

« J’ai le plaisir de vous annoncer qu’en 2021, mon entreprise va bénéficier d’un accompagnement personnalisé par Ronalpia !
- Cela va me permettre de développer mon projet et contribuer à réduire les impacts environnementaux du numérique sur mon territoire ! »

-
-
- - Ronalpia, incubation 2021 - -
-
- -{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3bda652..5787f61 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,3 +2,7 @@

Ce site est optimisé, il émet seulement 0.05g de CO2 à chaque visite.

©Weko 2021

+{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }} + + +{{ end }} diff --git a/run b/run index 26d5fa7..909df44 100755 --- a/run +++ b/run @@ -7,14 +7,14 @@ set -eu . ./.env . ./themes/hugo-theme-lowtech/scripts/run -echo " _" -echo " | |" -echo "__ _____| | _____" -echo "\ \ /\ / / _ \ |/ / _ \\" -echo " \ V V / __/ < (_) |" -echo " \_/\_/ \___|_|\_\___/" +echo ' _' +echo '__ _____| | _____' +echo '\ \ /\ / / _ | |/ / _ \' +echo ' \ V V | __| | (_) |' +echo ' \_/\_/ \___|_|\_\___/' echo echo +# https://duckduckgo.com/?q=Figlet+weko if [ $# -ge 1 ]; then $@