conventionalcommits.org/themes/conventional-commits
dependabot[bot] 3229cf412f
build(deps): bump yaml and cssnano in /themes/conventional-commits
Bumps [yaml](https://github.com/eemeli/yaml) to 2.2.2 and updates ancestor dependency [cssnano](https://github.com/cssnano/cssnano). These dependencies need to be updated together.


Updates `yaml` from 2.1.3 to 2.2.2
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.1.3...v2.2.2)

Updates `cssnano` from 5.1.13 to 6.0.0
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.1.13...cssnano@6.0.0)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
- dependency-name: cssnano
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 19:22:25 +00:00
..
archetypes style: Move to new UI 2018-09-16 23:40:02 +02:00
layouts fix(theme): remove translations length from dropdown menu (#478) 2022-11-03 14:12:23 -04:00
static fix: menu overflow in small screens 2022-10-27 21:17:37 +02:00
.editorconfig style: Move to new UI 2018-09-16 23:40:02 +02:00
.gitignore build(dev-deps): bump themes dev-deps + anchor-js (#475) 2022-10-23 13:16:58 +02:00
LICENSE style: Move to new UI 2018-09-16 23:40:02 +02:00
package-lock.json build(deps): bump yaml and cssnano in /themes/conventional-commits 2023-04-25 19:22:25 +00:00
package.json build(deps): bump yaml and cssnano in /themes/conventional-commits 2023-04-25 19:22:25 +00:00
README.md style: Move to new UI 2018-09-16 23:40:02 +02:00
theme.toml style: Move to new UI 2018-09-16 23:40:02 +02:00

hugo conventional commits theme

Copy hugo-conventional-commits-theme inside your my-hugo-site/theme

config.yaml example

All config params are optionals.

baseURL: 'http://conventional-commits.org/'
languageCode: en-us
title: Conventional Commits
theme: conventional-commits

# Language
defaultContentLanguageInSubdir: true
defaultContentLanguage: "en"
languages:
  en:
    weight: 1
    languageName: "English"
  it:
    weight: 2
    languageName: "Italian"

# Content
params:
  versions:
    current: 1.0.0-beta.2
    list:
    - label: 1.0.0-beta
      url: 'https://github.com/conventional-commits/conventionalcommits.org'
    - label: 1.0.0-beta.1
      url: 'https://github.com/conventional-commits/conventionalcommits.org'
    - label: 1.0.0-beta.2
      url: 'https://github.com/conventional-commits/conventionalcommits.org'

  welcome:
    description: A specification made for write standardized and useful commit messages
    image: 'https://path-to-image'
    actions:
    - label: Read the specs
      url: 'https://github.com/conventional-commits/conventionalcommits.org'
    - label: GitHub
      url: 'https://github.com/conventional-commits/conventionalcommits.org'

  license:
    title: License
    action:
      label: Creative Commons - CC BY 3.0
      url: 'https://creativecommons.org/licenses/by/3.0/'

  footer:
    logos:
    - name: github
      url: 'https://github.com/conventional-commits/conventionalcommits.org'

Apply theme changes

Development script

npm run start

Production script

npm run build

Shortcodes

  • banner-image
    • src (optional) | default: static/img/git-flow.png