chore: update contribution guideline, issue template (#175)

* chore: change Discussions to GitHub discussions

* chore: add documentation for adding new language
This commit is contained in:
Sid
2024-03-10 13:53:17 +05:30
committed by GitHub
parent 3356999b5b
commit 1983d6433b
2 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ blank_issues_enabled: false
contact_links:
- name: Questions or support
url: https://github.com/hugo-sid/hugo-blog-awesome/discussions/
about: Please use Discussions to ask and answer questions.
about: Please use GitHub discussions to ask and answer questions.
- name: Feature request
url: https://github.com/hugo-sid/hugo-blog-awesome/discussions/categories/feature-requests
about: Please use the feature requests section in GitHub discussions to propose new features or ideas.
about: Please use the feature requests section in GitHub discussions to propose new features or ideas.
+10
View File
@@ -16,6 +16,16 @@ For questions you can visit [Q&A section](https://github.com/hugo-sid/hugo-blog-
- We do recommend PRs to not exceed 200 lines (includes additions and deletions) of code.
- Kindly ensure that you are **NOT** addressing multiple issues in one PR.
## Adding a new language
If you are adding support for a new language, you have to do the following:
1. Add language specific configuration and parameters in `exampleSite/hugo.toml`
2. Translate specific terms by creating a new language-specific file in the `i18n` directory
3. Add translated content in `exampleSite/content` directory
You can take a look at this [Pull request](https://github.com/hugo-sid/hugo-blog-awesome/pull/145) for reference.
## Commits
This project adheres to [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/).