From 799618fd3e7ec5139dc253449d8941dc0c913a1a Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sun, 10 May 2026 23:42:59 +0800 Subject: [PATCH] docs: update contributing guide and pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 14 ++++++++------ .gitignore | 3 +++ CONTRIBUTING.md | 7 +++++++ layouts/_partials/init/index.html | 2 +- layouts/_partials/layouts/head.html | 1 + 5 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b68cc5d9..8934879c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,14 +1,16 @@ - + ### Description -### Before submitting the PR, please make sure you do the following - -- [ ] Read the [Contributing Guidelines](https://github.com/hugo-fixit/FixIt/blob/main/CONTRIBUTING.md). -- [ ] Provide a description in this PR that addresses **what** the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. `close #123`). - ### What is the purpose of this pull request? - [ ] Bug fix diff --git a/.gitignore b/.gitignore index d5f84606..d3c4660e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,9 @@ node_modules/ !.vscode/extensions.json !.vscode/settings.json +# Trae +.trae/ + # OS Files ## Windows Thumbs.db diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c6ae4af6..037a46a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -135,6 +135,13 @@ We follow the [Conventional Commits](https://www.conventionalcommits.org/) speci |___________________ Type: Indicates the kind of change. ``` +> [!NOTE] +> +> - Keep the subject line concise and ideally within 72 characters. +> - If the change is more than a sentence, add a body. +> - Do not include secrets (tokens/keys) or personal data in commit messages. +> - Do not invent issue/PR numbers or facts that are not present in the diff. + ### Allowed Types - `feat`: A new feature. diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index b5b4bf89..9db092ae 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.5" -}} +{{- hugo.Store.Set "version" "v0.4.6-20260510154300-dd6d3206" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/_partials/layouts/head.html b/layouts/_partials/layouts/head.html index da983ff1..37365742 100644 --- a/layouts/_partials/layouts/head.html +++ b/layouts/_partials/layouts/head.html @@ -77,6 +77,7 @@ {{- end -}} {{- /* Favicon links */ -}} +{{/* [todo] 先判断有图片资源时才加载,没有时提示引导 https://realfavicongenerator.net/ */}} {{- if not .Site.Params.app.noFavicon -}} {{- $relURL := relURL "" -}} {{- with .Site.Params.app.svgFavicon -}}