commit 2a323e39f33ceb94f9d2d11e663c2544d963f70d Author: 凡梦星尘 Date: Tue May 3 18:39:03 2022 +0800 Start a new journey for Hugo theme. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc7ba5d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +exampleSite/* \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a7e79bc --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2022 lisenhui + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..69b92a8 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Hugo theme of NexT + +Start a new journey for Hugo's theme of NexT. + +# Our Vision + +Make it easily & powerful. \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..8aa69db --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,19 @@ +--- +title: '{{ replace .Name "-" " " | title }}' +description: '不超过65个汉字的文章简要概述' +keywords: '文章关键词1,文章关键词2,文章关键词3' +isCJKLanguage: true + +lastmod: '{{ .Date }}' +publishDate: '{{ .Date }}' + +categories: + - +tags: + - + - + +toc: false +draft: true +url: '{{ now.Unix }}.html' +--- diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..9c4ec3b --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,10 @@ + + +
+ Hugo theme of NexT +
+ +

Start a new journey for Hugo's theme of NexT.

+

Easily & powerful theme for Hugo engine.

+ + \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..dba7898 --- /dev/null +++ b/theme.toml @@ -0,0 +1,13 @@ +name = "Hugo Theme Next" +license = "MIT" +licenselink = "https://github.com/hugo-next/hugo-theme-next/blob/main/LICENSE" +description = "Easily & powerful theme for Hugo engine." +homepage = "https://example.com/" +tags = ["blog", "simple", "dark", "personal", "fast", "theme"] +features = ["some", "awesome", "features"] +min_version = "0.92.0" +demosite = "https://lisenhui.cn" + +[author] + name = "lisenhui" + homepage = "https://lisenhui.cn"