From 380a5df1636a36dc9950e046a30e6b334d389fdb Mon Sep 17 00:00:00 2001
From: Alexandre Meyer <alexandre.meyer@univ-lyon1.fr>
Date: Fri, 18 Nov 2022 10:19:35 +0100
Subject: [PATCH] ...web

---
 web/{config.toml => config.toml.old}          |  0
 web/config.yaml                               | 65 +++++++++++++++++++
 web/content/{_index.md => index.md}           |  0
 web/content/posts/index.md                    | 14 ++++
 .../{config.yaml => config.yaml.old}          | 13 +++-
 .../hugo-flex/{theme.toml => theme.toml.old}  |  0
 6 files changed, 90 insertions(+), 2 deletions(-)
 rename web/{config.toml => config.toml.old} (100%)
 create mode 100644 web/config.yaml
 rename web/content/{_index.md => index.md} (100%)
 create mode 100644 web/content/posts/index.md
 rename web/themes/hugo-flex/{config.yaml => config.yaml.old} (93%)
 rename web/themes/hugo-flex/{theme.toml => theme.toml.old} (100%)

diff --git a/web/config.toml b/web/config.toml.old
similarity index 100%
rename from web/config.toml
rename to web/config.toml.old
diff --git a/web/config.yaml b/web/config.yaml
new file mode 100644
index 0000000..e6d29e4
--- /dev/null
+++ b/web/config.yaml
@@ -0,0 +1,65 @@
+baseURL: 'http://alexandre.meyer.pages.univ-lyon1.fr/m1if37-animation/'
+title: Animation en synthèse d'images
+author: Alexandre Meyer
+languageCode: fr-FR
+pygmentsCodeFences: true
+enableRobotsTXT: true
+theme: hugo-flex
+publishDir: docs
+
+permalinks:
+  posts: '/:filename/'
+  pages: '/:filename/'
+
+params:
+  color: gray
+  width: 42rem
+  description: M1if37 Animation en synthèse d'images
+  # footer: Except where otherwise noted, content on this site is licensed under a
+  #   a <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">
+  #   Creative Commons Attribution 4.0 International License</a>.
+  # rss: >-
+  #   To subscribe to this RSS feed, copy the address in the address bar and paste
+  #   it into your favorite feed reader.
+  divider: '\2015\2015' # Set to false to remove divider below posts on homepage
+  schema: true
+  opengraph: true
+  twittercards: true
+  summaries: false
+  utterances:
+    repo:               # Set to Utterances repo URL to add Utterances comments
+    issueterm: pathname
+    theme: github-light
+  netlify:
+    honeypot: false     # Set to true to add honeypot field in contact form
+    recaptcha: false    # Set to true to add recaptcha challenge in contact form
+  # css:                # Uncomment to add custom CSS from a list of files
+  #   - css/foo.css
+  #   - bar.css
+  # js:                 # Uncomment to add custom JS from a list of files
+  #   - js/foo.js
+  #   - bar.js
+
+
+menu:
+  nav:
+  - name: M1if37
+    url: 
+    weight: 1
+
+
+
+# menu:
+#   nav:
+#     - name: About
+#       url: about/
+#       weight: 1
+#     - name: Blog
+#       url: posts/
+#       weight: 2
+#     - name: Tags
+#       url: tags/
+#       weight: 3
+#     - name: Categories
+#       url: categories/
+#       weight: 4
\ No newline at end of file
diff --git a/web/content/_index.md b/web/content/index.md
similarity index 100%
rename from web/content/_index.md
rename to web/content/index.md
diff --git a/web/content/posts/index.md b/web/content/posts/index.md
new file mode 100644
index 0000000..d6342ae
--- /dev/null
+++ b/web/content/posts/index.md
@@ -0,0 +1,14 @@
+---
+title: My First blog post
+date: 2019-07-22
+description: An example blog post.
+categories:
+- demo
+tags:
+- hello-world
+---
+
+This is a first blog post.
+Thanks to GoHugo for providing blazing fast static site generation.
+
+{{< figure src="/hugo-logo-wide.svg" title="GoHugo" alt="GoHugo logo" >}}
\ No newline at end of file
diff --git a/web/themes/hugo-flex/config.yaml b/web/themes/hugo-flex/config.yaml.old
similarity index 93%
rename from web/themes/hugo-flex/config.yaml
rename to web/themes/hugo-flex/config.yaml.old
index f406242..18a5c83 100644
--- a/web/themes/hugo-flex/config.yaml
+++ b/web/themes/hugo-flex/config.yaml.old
@@ -27,11 +27,20 @@ params:
   #   - bar.js
 
 
+
 menu:
   nav:
-  - name: Animation en synthèse d'images
-    url: 
+  - name: About
+    url: about/
     weight: 1
+
+# menu:
+#   nav:
+#   - name: Animation en synthèse d'images
+#     url: 
+#     weight: 1
+
+
   # - name: Evaluation
   #   url: content3/
   #   weight: 2
diff --git a/web/themes/hugo-flex/theme.toml b/web/themes/hugo-flex/theme.toml.old
similarity index 100%
rename from web/themes/hugo-flex/theme.toml
rename to web/themes/hugo-flex/theme.toml.old
-- 
GitLab