From aa8f7fd97175e53ef1bb178a78c20f9fedaaef7d Mon Sep 17 00:00:00 2001
From: NianHhhh <849694905@qq.com>
Date: Mon, 26 Aug 2024 18:46:45 +0800
Subject: [PATCH] 2024-8-26
---
README.md | 9 --------
config/_default/menus.en.toml | 22 +++++++++----------
config/_default/params.toml | 2 +-
content/english/authors/_index.md | 3 ---
content/english/authors/john-doe.md | 9 --------
content/english/authors/sam-wilson.md | 9 --------
content/english/authors/william-jacob.md | 9 --------
.../pages/{Maize lab.md => Maize-lab.md} | 0
content/english/pages/genomes.md | 22 ++++++++++++-------
.../english/pages/literature/literature.md | 7 ++----
content/english/variety/_index.md | 5 -----
hugo.toml | 2 +-
layouts/partials/essentials/footer.html | 4 ++--
13 files changed, 31 insertions(+), 72 deletions(-)
delete mode 100644 README.md
delete mode 100644 content/english/authors/_index.md
delete mode 100644 content/english/authors/john-doe.md
delete mode 100644 content/english/authors/sam-wilson.md
delete mode 100644 content/english/authors/william-jacob.md
rename content/english/pages/{Maize lab.md => Maize-lab.md} (100%)
delete mode 100644 content/english/variety/_index.md
diff --git a/README.md b/README.md
deleted file mode 100644
index 72c92ec..0000000
--- a/README.md
+++ /dev/null
@@ -1,9 +0,0 @@
-<<<<<<< HEAD
-<<<<<<< HEAD
-# maizeiinfo
-=======
-# maizeiinfo.github.io
->>>>>>> origin/main
-=======
-# maizeiinfo.github.io
->>>>>>> origin/main
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
index c96c0c9..d9c4679 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -3,17 +3,17 @@
# main menu
[[main]]
name = "HOME"
-pageRef = "/"
+url = "/"
weight = 1
[[main]]
name = "GENOMES"
-pageRef = "/genomes"
+url = "genomes/"
weight = 2
[[main]]
name = "VARIETIES"
-pageRef = "/variety"
+url = "/variety"
weight = 3
[[main]]
@@ -23,13 +23,13 @@ name = "RESOURCES"
[[main]]
parent = "RESOURCES"
name = "Online resource"
-pageRef = "/mzor"
+url = "mzor/"
weight = 1
[[main]]
parent = "RESOURCES"
name = "Maize lab"
-pageRef = "/Maize lab"
+url = "Maize-lab/"
weight = 2
@@ -41,38 +41,38 @@ name = "NEWS"
[[main]]
parent = "NEWS"
name = "科研人物"
-pageRef = "/news1"
+url = "news1/"
weight = 3
[[main]]
parent = "NEWS"
name = "科研动态"
-pageRef = "/news2"
+url = "news2/"
weight = 3
[[main]]
parent = "NEWS"
name = "论文推荐"
-pageRef = "/news3"
+url = "news3/"
weight = 3
[[main]]
parent = "NEWS"
name = "育种动态"
-pageRef = "/news4"
+url = "news4/"
weight = 3
[[main]]
parent = "NEWS"
name = "玉米生产"
-pageRef = "/news5"
+url = "news5/"
weight = 3
[[main]]
name = "LITERATURE"
-pageRef = "/literature"
+url = "literature/"
weight = 6
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 24cc85f..25d5b19 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -26,7 +26,7 @@ google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx
# custom script on header, example: custom_script= ""
custom_script = ""
# copyright
-copyright = "Designed & Developed by [Yihan Dong](https://github.com/maizeinfo/maizeinfo.github.io)"
+copyright = "Designed & Developed by [Li Jialei](https://nianhhhh.github.io/)"
# Preloader
# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader
diff --git a/content/english/authors/_index.md b/content/english/authors/_index.md
deleted file mode 100644
index 62eae44..0000000
--- a/content/english/authors/_index.md
+++ /dev/null
@@ -1,3 +0,0 @@
----
-title: "Authors"
----
diff --git a/content/english/authors/john-doe.md b/content/english/authors/john-doe.md
deleted file mode 100644
index 98f7f0c..0000000
--- a/content/english/authors/john-doe.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: John Doe
-email: johndoe@email.com
-image: "/images/avatar.png"
-description: this is meta description
-
----
-
-lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua.
diff --git a/content/english/authors/sam-wilson.md b/content/english/authors/sam-wilson.md
deleted file mode 100644
index 2115a9c..0000000
--- a/content/english/authors/sam-wilson.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: Sam Wilson
-email: samwilson@email.com
-image: "/images/avatar.png"
-description: this is meta description
-
----
-
-lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua.
diff --git a/content/english/authors/william-jacob.md b/content/english/authors/william-jacob.md
deleted file mode 100644
index a533424..0000000
--- a/content/english/authors/william-jacob.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: William Jacob
-email: williamjacob@email.com
-image: "/images/avatar.png"
-description: this is meta description
-
----
-
-lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua.
diff --git a/content/english/pages/Maize lab.md b/content/english/pages/Maize-lab.md
similarity index 100%
rename from content/english/pages/Maize lab.md
rename to content/english/pages/Maize-lab.md
diff --git a/content/english/pages/genomes.md b/content/english/pages/genomes.md
index 1a2355a..1983c8f 100644
--- a/content/english/pages/genomes.md
+++ b/content/english/pages/genomes.md
@@ -1,15 +1,21 @@
---
-title: ""
-# meta title
-meta_title: ""
-# meta description
-description: "This is meta description"
-# save as draft
-draft: false
-
+title: "GENOMES"
---
+{{< accordion "Zm-A632-REFERENCE-CAAS_FIL-1.0" >}}
+
+- Assembly identifier: Zm00092a
+- Project name: CAAS Founder Inbred Lines
+- GenBank BioProject: PRJNA755430
+- Sample name: A632
+- DOI: [https://dx.doi.org/10.1038/s41588-022-01283-w](https://dx.doi.org/10.1038/s41588-022-01283-w)
+- Data download:
+[https://download.maizegdb.org/Zm-A632-REFERENCE-CAAS_FIL-1.0](https://download.maizegdb.org/Zm-A632-REFERENCE-CAAS_FIL-1.0)
+
+
+{{< /accordion >}}
+
{{< accordion "Zm-B73-REFERENCE-GRAMENE-4.0 (also known as B73v4)" >}}
- Assembly identifier: Zm00001d
diff --git a/content/english/pages/literature/literature.md b/content/english/pages/literature/literature.md
index fc6d320..365dc02 100644
--- a/content/english/pages/literature/literature.md
+++ b/content/english/pages/literature/literature.md
@@ -1,10 +1,7 @@
---
-title: ""
-# meta title
-meta_title: ""
-# meta description
+title: "LITERATUREC"
+meta_title:
description: "This is meta description"
-# save as draft
draft: false
---
diff --git a/content/english/variety/_index.md b/content/english/variety/_index.md
deleted file mode 100644
index 89e0668..0000000
--- a/content/english/variety/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: ""
-meta_title: ""
-description: "this is meta description"
----
diff --git a/hugo.toml b/hugo.toml
index 1757632..8537ba7 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,6 +1,6 @@
######################## default configuration ####################
# The base URL of your site (required). This will be prepended to all relative URLs.
-baseURL = "/"
+baseURL = "https://maizeinfo.netlify.app/"
# Title of your website (required).
title = "MaizeInfo"
# Your theme name
diff --git a/layouts/partials/essentials/footer.html b/layouts/partials/essentials/footer.html
index bfce2d0..2f34725 100644
--- a/layouts/partials/essentials/footer.html
+++ b/layouts/partials/essentials/footer.html
@@ -92,13 +92,13 @@
>Hugo
- | 2024 Maizeinfo (YiHan Dong)
+ >Maizeinfo (Li Jialei)