Skip to content

Commit

Permalink
chore: update contribution guideline, issue template (#175)
Browse files Browse the repository at this point in the history
* chore: change Discussions to GitHub discussions

* chore: add documentation for adding new language
  • Loading branch information
hugo-sid authored Mar 10, 2024
1 parent 3356999 commit 1983d64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down

0 comments on commit 1983d64

Please sign in to comment.