conventionalcommits.org/themes/conventional-commits
dependabot[bot] 06bffc7f6a
build(deps): bump browserslist in /themes/conventional-commits
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.1.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.1.0...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:29:15 +02:00
..
archetypes style: Move to new UI 2018-09-16 23:40:02 +02:00
layouts Add netlify logo (#233) 2020-02-19 01:49:22 +01:00
static fix(themes): prevent welcome title overlap on image 2019-09-07 14:43:15 +02:00
.editorconfig style: Move to new UI 2018-09-16 23:40:02 +02:00
.gitignore chore: Remove compiled js and css files 2018-10-25 01:07:20 +02:00
LICENSE style: Move to new UI 2018-09-16 23:40:02 +02:00
package-lock.json build(deps): bump browserslist in /themes/conventional-commits 2021-06-09 14:29:15 +02:00
package.json fix(security): address security warnings in deps (#258) 2020-04-09 18:03:47 -07: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