From 1e8348d088671298edc09f6e50a486e0d7c8fcdc Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 10 Feb 2021 17:03:02 +0800 Subject: update: license --- .editorconfig | 12 ++++++++++++ .gitattributes | 1 + .gitignore | 2 +- .prettierrc | 2 +- LICENSE | 2 +- README.md | 22 +++++++++++----------- README_CN.md | 22 +++++++++++----------- package.json | 8 ++++---- theme.toml | 6 +++--- 9 files changed, 45 insertions(+), 32 deletions(-) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4a7ea30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.gitignore b/.gitignore index 6d188bd..fddef40 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ Thumbs.db ehthumbs.db Desktop.ini $RECYCLE.BIN/ -.DS_Store \ No newline at end of file +.DS_Store diff --git a/.prettierrc b/.prettierrc index ba97ca5..8c2ec7c 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,7 +5,7 @@ "semi": true, "singleQuote": true, "quoteProps": "as-needed", - "jsxSingleQuote": false, + "jsxSingleQuote": true, "trailingComma": "es5", "bracketSpacing": true, "jsxBracketSameLine": false, diff --git a/LICENSE b/LICENSE index 481257c..648d2d2 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2020 DSRKafuU + Copyright 2019-present DSRKafuU Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 5925774..84e54b3 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ Fuji is a minimal Hugo theme with full dark mode support and GitHub Primer markdown style. -![GitHub release](https://img.shields.io/github/v/release/amzrk2/hugo-theme-fuji) -![GitHub build status](https://img.shields.io/github/workflow/status/amzrk2/hugo-theme-fuji/build-test) -![GitHub license](https://img.shields.io/github/license/amzrk2/hugo-theme-fuji) +![GitHub release](https://img.shields.io/github/v/release/dsrkafuu/hugo-theme-fuji) +![GitHub build status](https://img.shields.io/github/workflow/status/dsrkafuu/hugo-theme-fuji/build-test) +![GitHub license](https://img.shields.io/github/license/dsrkafuu/hugo-theme-fuji) -[English](https://github.com/amzrk2/hugo-theme-fuji#readme) | [简体中文](https://github.com/amzrk2/hugo-theme-fuji/blob/master/README_CN.md) +[English](https://github.com/dsrkafuu/hugo-theme-fuji#readme) | [简体中文](https://github.com/dsrkafuu/hugo-theme-fuji/blob/master/README_CN.md) -> Checkout the brand new [VSCode Aofuji Light Theme](https://github.com/amzrk2/vscode-theme-aofuji) which has similar color scheme to [Aofuji](https://github.com/amzrk2/hugo-template-aofuji)! +> Checkout the brand new [VSCode Aofuji Light Theme](https://github.com/dsrkafuu/vscode-theme-aofuji) which has similar color scheme to [Aofuji](https://github.com/dsrkafuu/hugo-template-aofuji)! Supported languages: `cs`, `en`, `ja`, `nl`, `pt-pt`, `zh-hans`, `zh-hant`. Check the i18n folder to add more languages. @@ -35,7 +35,7 @@ Supported languages: `cs`, `en`, `ja`, `nl`, `pt-pt`, `zh-hans`, `zh-hant`. Chec [**Live Demo (gohugo.io)**](https://themes.gohugo.io/theme/hugo-theme-fuji/) -![Screenshot of Fuji](https://raw.githubusercontent.com/amzrk2/hugo-theme-fuji/master/images/screenshot.png) +![Screenshot of Fuji](https://raw.githubusercontent.com/dsrkafuu/hugo-theme-fuji/master/images/screenshot.png) ## ❗ Notice @@ -248,13 +248,13 @@ To override SCSS rules, create `[SITEROOT]/assets/scss/_custom_rules.scss`. This ## ✏️ Issue und contributing -Feel free to use the [issue tracker](https://github.com/amzrk2/hugo-theme-fuji/issues). The theme has only been fully tested on Firefox, so if there are some problems when accessing with Chrome or others please also report an issue. +Feel free to use the [issue tracker](https://github.com/dsrkafuu/hugo-theme-fuji/issues). The theme has only been fully tested on Firefox, so if there are some problems when accessing with Chrome or others please also report an issue. ## 📝 License -FOSSA + -The theme is released under the `Apache License 2.0`, for more information read the [License](https://github.com/amzrk2/hugo-theme-fuji/blob/master/LICENSE). +The theme is released under the `Apache License 2.0`, for more information read the [License](https://github.com/dsrkafuu/hugo-theme-fuji/blob/master/LICENSE). - [Primer CSS - MIT](https://github.com/primer/css/blob/master/LICENSE) - [APlayer - MIT](https://github.com/MoePlayer/APlayer/blob/master/LICENSE) @@ -265,10 +265,10 @@ The theme is released under the `Apache License 2.0`, for more information read - [cloudflare-workers-async-google-analytics - MIT](https://github.com/SukkaW/cloudflare-workers-async-google-analytics/blob/master/LICENSE) - [art-template - MIT](https://github.com/aui/art-template/blob/master/LICENSE) -**Copyright © 2020-present DSRKafuU ** +**Copyright © 2019-present DSRKafuU ** ## 🤝 Annotations -Thanks to [community contributors](https://github.com/amzrk2/hugo-theme-fuji/graphs/contributors) for great help. +Thanks to [community contributors](https://github.com/dsrkafuu/hugo-theme-fuji/graphs/contributors) for great help. Learned a lot in [Sukka's Blog](https://blog.skk.moe/). diff --git a/README_CN.md b/README_CN.md index 9b14fcc..da61af6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -2,13 +2,13 @@ 简单的 Hugo 主题,支持夜间模式,Markdown 样式来自 GitHub Primer。 -![GitHub release](https://img.shields.io/github/v/release/amzrk2/hugo-theme-fuji) -![GitHub build status](https://img.shields.io/github/workflow/status/amzrk2/hugo-theme-fuji/build-test) -![GitHub license](https://img.shields.io/github/license/amzrk2/hugo-theme-fuji) +![GitHub release](https://img.shields.io/github/v/release/dsrkafuu/hugo-theme-fuji) +![GitHub build status](https://img.shields.io/github/workflow/status/dsrkafuu/hugo-theme-fuji/build-test) +![GitHub license](https://img.shields.io/github/license/dsrkafuu/hugo-theme-fuji) -[English](https://github.com/amzrk2/hugo-theme-fuji#readme) | [简体中文](https://github.com/amzrk2/hugo-theme-fuji/blob/master/README_CN.md) +[English](https://github.com/dsrkafuu/hugo-theme-fuji#readme) | [简体中文](https://github.com/dsrkafuu/hugo-theme-fuji/blob/master/README_CN.md) -> 介绍一个全新的亮色 VSCode 主题 [Aofuji Light Theme](https://github.com/amzrk2/vscode-theme-aofuji),它的配色方案继承自 [Aofuji](https://github.com/amzrk2/hugo-template-aofuji)! +> 介绍一个全新的亮色 VSCode 主题 [Aofuji Light Theme](https://github.com/dsrkafuu/vscode-theme-aofuji),它的配色方案继承自 [Aofuji](https://github.com/amzrk2/hugo-template-aofuji)! 支持的 i18n 语言:`cs`, `en`, `ja`, `nl`, `pt-pt`, `zh-hans`, `zh-hant`。i18n 文件夹内为所有语言文件。 @@ -35,7 +35,7 @@ [**Live Demo (gohugo.io)**](https://themes.gohugo.io/theme/hugo-theme-fuji/) -![Fuji 截图](https://raw.githubusercontent.com/amzrk2/hugo-theme-fuji/master/images/screenshot.png) +![Fuji 截图](https://raw.githubusercontent.com/dsrkafuu/hugo-theme-fuji/master/images/screenshot.png) ## ❗ 注意事项 @@ -246,13 +246,13 @@ To override SCSS rules, create `[SITEROOT]/assets/scss/_custom_rules.scss`. This ## 👓 批判一番和贡献代码 -[Issue](https://github.com/amzrk2/hugo-theme-fuji/issues)。主题本身只在 Firefox 上完整测试过,因此要是遇到了什么问题也可以随便批判。 +[Issue](https://github.com/dsrkafuu/hugo-theme-fuji/issues)。主题本身只在 Firefox 上完整测试过,因此要是遇到了什么问题也可以随便批判。 ## 📝 License -FOSSA + -The theme is released under the `Apache License 2.0`, for more information read the [License](https://github.com/amzrk2/hugo-theme-fuji/blob/master/LICENSE). +The theme is released under the `Apache License 2.0`, for more information read the [License](https://github.com/dsrkafuu/hugo-theme-fuji/blob/master/LICENSE). - [Primer CSS - MIT](https://github.com/primer/css/blob/master/LICENSE) - [APlayer - MIT](https://github.com/MoePlayer/APlayer/blob/master/LICENSE) @@ -263,10 +263,10 @@ The theme is released under the `Apache License 2.0`, for more information read - [cloudflare-workers-async-google-analytics - MIT](https://github.com/SukkaW/cloudflare-workers-async-google-analytics/blob/master/LICENSE) - [art-template - MIT](https://github.com/aui/art-template/blob/master/LICENSE) -**Copyright © 2020-present DSRKafuU ** +**Copyright © 2019-present DSRKafuU ** ## 🤝 Annotations -Thanks to [community contributors](https://github.com/amzrk2/hugo-theme-fuji/graphs/contributors) for great help. +Thanks to [community contributors](https://github.com/dsrkafuu/hugo-theme-fuji/graphs/contributors) for great help. Learned a lot in [Sukka's Blog](https://blog.skk.moe/). diff --git a/package.json b/package.json index cce27ac..2f559bd 100644 --- a/package.json +++ b/package.json @@ -4,19 +4,19 @@ "description": "A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。", "repository": { "type": "git", - "url": "git+https://github.com/amzrk2/hugo-theme-fuji.git" + "url": "git+https://github.com/dsrkafuu/hugo-theme-fuji.git" }, "keywords": [ "hugo", "theme", "fuji" ], - "author": "DSRKafuU (https://amzrk2.cc/)", + "author": "DSRKafuU (https://dsrkafuu.co/)", "license": "Apache-2.0", "bugs": { - "url": "https://github.com/amzrk2/hugo-theme-fuji/issues" + "url": "https://github.com/dsrkafuu/hugo-theme-fuji/issues" }, - "homepage": "https://github.com/amzrk2/hugo-theme-fuji#readme", + "homepage": "https://github.com/dsrkafuu/hugo-theme-fuji#readme", "dependencies": { "@primer/css": "15.1.0" } diff --git a/theme.toml b/theme.toml index a7440f5..bc68a2a 100644 --- a/theme.toml +++ b/theme.toml @@ -3,13 +3,13 @@ name = "Fuji" license = "Apache-2.0" -licenselink = "https://github.com/amzrk2/hugo-theme-fuji/blob/master/LICENSE" +licenselink = "https://github.com/dsrkafuu/hugo-theme-fuji/blob/master/LICENSE" description = "A minimal Hugo theme with nice theme color." -homepage = "https://github.com/amzrk2/hugo-theme-fuji/" +homepage = "https://github.com/dsrkafuu/hugo-theme-fuji/" tags = ["blog", "minimal", "responsive", "dark mode"] features = ["blog", "minimal", "responsive", "dark mode"] min_version = "0.74.0" [author] name = "DSRKafuU" - homepage = "https://amzrk2.cc/" + homepage = "https://dsrkafuu.co/" -- cgit v1.2.3