add license, theme.toml

This commit is contained in:
leafee98 2022-09-04 19:45:50 +08:00
parent 1fdfa26364
commit 9a0dd8b179
2 changed files with 50 additions and 0 deletions

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 leafee98
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.

29
theme.toml Normal file
View file

@ -0,0 +1,29 @@
name = "Flat"
license = "MIT"
licenselink = "Link to theme's license"
description = "A theme with light color and multi-section support"
# The home page of the theme, where the source can be found.
homepage = "https://github.com/leafee98/hugo-theme-flat"
# If you have a running demo of the theme.
demosite = "https://leafee98.github.io/hugo-theme-flat/"
tags = ["blog", "personal", "light"]
features = []
# If the theme has multiple authors
#authors = [
# {name = "", homepage = ""},
#]
# If the theme has a single author
[author]
name = "leafee98"
homepage = "https://leafee98.com"
# If porting an existing theme
#[original]
# author = "Name of original author"
# homepage = "His/Her website"
# repo = "Link to source code of original theme"