Skip to content

Commit

Permalink
Merge pull request #41 from EvanNotFound/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
EvanNotFound authored Jan 5, 2023
2 parents b46e751 + 5f748f8 commit 2ff86e6
Show file tree
Hide file tree
Showing 16 changed files with 333 additions and 70 deletions.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: "[Bug]"
labels: bug
assignees: ''

---

**Describe the bug 描述Bug**
A clear and concise description of what the bug is. 清晰地描述一下这个 bug 是什么

**To Reproduce 复现方法**
Steps to reproduce the behavior 复现该 Bug 的步骤:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error


**Expected behavior 预期结果**
A clear and concise description of what you expected to happen. 清晰简明的描述预期的结果是什么


**Screenshots 截图**
If applicable, add screenshots to help explain your problem. 如果有必要,请添加截图以帮助解释您的问题

**Desktop (please complete the following information) 系统环境**
- OS: [e.g. iOS, macOS, Windows, Ubuntu]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information) 移动端环境**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. safari, chrome]
- Version [e.g. 22]

**Additional context 其他内容**
Add any other context about the problem here. 增加其他你想描述的内容
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[email protected].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Bug 提交方法

如果你需要提交一个 Bug issue,请遵循以下步骤

### Issue 提交前检查
请执行

```bash
$ hexo clean
```
再看看问题是否解决

### Issue 所需资料文件

请提供
- hexo 根目录的网站配置文件 `_config.yml`
- 主题配置文件 `_config.redefine.yml``_config.yml` 中有关的项目。如果有敏感信息请打码(替换一些字符
- Bug 复现方法(我要如何做才能复现这个 Bug)

### Issue 命名规则

格式:

```
[Bug] + 标题
```
注意
- 请打上 Bug 的 `label`
- 请在标题中大概概括一下 Bug 内容
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

## 🌐 Online Demo

- [Anonymous Land](https://www.evanluo.top)
- [Theme Redefine Demo](https://redefine.evanluo.top)
- [Anonymous Land](https://ohevan.com)
- [Theme Redefine Demo](https://redefine.ohevan.com)

## ⛰️ Some functions

Expand Down Expand Up @@ -101,7 +101,7 @@ It's very easy to understand.

Feel free to **pull request** and **send issues**.

If you have any questions, please send an email to [[email protected]](mailto:contact@evanluo.top). I will reply in time.
If you have any questions, please send an email to [[email protected]](mailto:contact@ohevan.com). I will reply in time.

Please **give me a star** to support me, thanks!

Expand Down
6 changes: 3 additions & 3 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

## 🌐 在线演示站

- [Anonymous Land](https://www.evanluo.top)
- [Theme Redefine Demo](https://redefine.evanluo.top)
- [Anonymous Land](https://ohevan.com)
- [Theme Redefine Demo](https://redefine.ohevan.com)

## ⛰️ 部分功能

Expand Down Expand Up @@ -99,7 +99,7 @@ $ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redef

欢迎 **pull request** 或者 提交 **issues**.

如有问题,请发邮件到 [[email protected]](mailto:contact@evanluo.top). 我会及时回复
如有问题,请发邮件到 [[email protected]](mailto:contact@ohevan.com). 我会及时回复

如果我做的主题还不错的话,欢迎给我 Github 点个 Star,谢谢

Expand Down
6 changes: 3 additions & 3 deletions README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

## 🌐 在線演示站

- [Anonymous Land](https://www.evanluo.top)
- [Theme Redefine Demo](https://redefine.evanluo.top)
- [Anonymous Land](https://ohevan.com)
- [Theme Redefine Demo](https://redefine.ohevan.com)

## ⛰️ 部分功能

Expand Down Expand Up @@ -105,6 +105,6 @@ $ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redef

歡迎 **pull request** 或者 提交 **issues**.

如有問題,請發郵件到 [[email protected]](mailto:contact@evanluo.top). 我會及時回复
如有問題,請發郵件到 [[email protected]](mailto:contact@ohevan.com). 我會及時回复

如果我做的主題還不錯的話,歡迎給我 Github 點個 Star,謝謝
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
base_info:
title: Theme Redefine # Site title
author: The Redefine Team # Author name
url: https://redefine.evanluo.top # Site url
url: https://redefine.ohevan.com # Site url
# Logo image (You can use local image, image external link or don’t fill)
logo_img: # logo image on the left of the navigation bar

Expand Down Expand Up @@ -107,6 +107,7 @@ menu: #you can customize, i18n files are in the theme's languages folder. fa-reg
# Home page article block display settings
# ---------------------------------------------------------------------------------------
home_article:
date_format: auto # date format in home page article block, value: auto | relative | YYYY-MM-DD | YYYY.MM.DD HH:mm:ss | DD/MM/YYYY | and etc. Support moment js format, see: https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
category:
enable: true # show category in home page article block
limit: 3 # max number of categories shown in home page article block
Expand Down Expand Up @@ -263,4 +264,4 @@ footer:
# Redefine Theme version (Please dont modify it)
# Please go to github to update the latest version frequently
# ---------------------------------------------------------------------------------------
version: 0.4.6
version: 0.5.0
Loading

0 comments on commit 2ff86e6

Please sign in to comment.