From fb4c275bff15108d8efa6bcf8ff0349f39215414 Mon Sep 17 00:00:00 2001 From: Alexandre Meyer <alexandre.meyer@univ-lyon1.fr> Date: Fri, 18 Nov 2022 17:02:11 +0100 Subject: [PATCH] ...web --- web/config.toml | 27 +++++++++++---- web/config.yaml | 34 +++++++++++-------- .../{NP_controle.md => controle/_index.md} | 0 web/content/{ => home}/_index.md | 0 web/theme.toml | 12 +++++++ 5 files changed, 51 insertions(+), 22 deletions(-) rename web/content/{NP_controle.md => controle/_index.md} (100%) rename web/content/{ => home}/_index.md (100%) create mode 100644 web/theme.toml diff --git a/web/config.toml b/web/config.toml index d4c533c..76e56de 100644 --- a/web/config.toml +++ b/web/config.toml @@ -14,14 +14,26 @@ publishDir = "public" copyright = "" dark = "auto" highlight = true + color = "gray" # Any color in CSS syntax + width = "42rem" # Any length in CSS syntax + +# - name: Aboutaaa +# url: about/ +# weight: 1 [menu] - # [[menu.main]] - # identifier = "posts" - # name = "posts" - # title = "posts" - # url = "/posts" - # weight = 10 + [[menu.nav]] + identifier = "home" + name = "home" + title = "home" + url = "home/" + weight = 1 + [[menu.nav]] + identifier = "controle" + name = "controle" + title = "controle" + url = "controle/" + weight = 2 [permalinks] @@ -32,4 +44,5 @@ publishDir = "public" unsafe = true [markup.tableOfContents] - ordered = true \ No newline at end of file + ordered = true + diff --git a/web/config.yaml b/web/config.yaml index d4bb13a..674baaf 100644 --- a/web/config.yaml +++ b/web/config.yaml @@ -1,24 +1,28 @@ -baseURL: 'http://alexandre.meyer.pages.univ-lyon1.fr/m1if37-animation/' -#baseURL: 'http://alexandre.meyer.pages.univ-lyon1.fr/' -title: Animation en synthèse d'images -author: Alexandre Meyer -languageCode: fr-FR -pygmentsCodeFences: true -enableRobotsTXT: true -theme: hugo-flex -publishDir: public -permalinks: - posts: '/:filename/' - pages: '/:filename/' -params: - color: gray # Any color in CSS syntax - width: 42rem # Any length in CSS syntax + +# baseURL: 'http://alexandre.meyer.pages.univ-lyon1.fr/m1if37-animation/' +# #baseURL: 'http://alexandre.meyer.pages.univ-lyon1.fr/' +# title: Animation en synthèse d'images +# author: Alexandre Meyer +# languageCode: fr-FR +# pygmentsCodeFences: true +# enableRobotsTXT: true +# theme: hugo-flex +# publishDir: public + + + + + + +# params: +# color: gray # Any color in CSS syntax +# width: 42rem # Any length in CSS syntax # footer: >- # HTML spaces ( ) are needed before HTML elements # Except where otherwise noted, content on this site is licensed under a   # <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">Creative diff --git a/web/content/NP_controle.md b/web/content/controle/_index.md similarity index 100% rename from web/content/NP_controle.md rename to web/content/controle/_index.md diff --git a/web/content/_index.md b/web/content/home/_index.md similarity index 100% rename from web/content/_index.md rename to web/content/home/_index.md diff --git a/web/theme.toml b/web/theme.toml new file mode 100644 index 0000000..c799d07 --- /dev/null +++ b/web/theme.toml @@ -0,0 +1,12 @@ +name = "Hugo Flex" +license = "Apache-2.0" +licenselink = "https://github.com/de-souza/hugo-flex/blob/master/LICENSE" +description = "A lightweight Hugo theme leveraging CSS Flexbox" +homepage = "https://github.com/de-souza/hugo-flex/" +tags = ["responsive", "minimal", "flexbox", "no-javascript"] +features = ["posts"] +min_version = "0.55" + +[author] + name = "Alexandre myere" + homepage = "https://github.com/de-souza/" \ No newline at end of file -- GitLab