Skip to content

Commit

Permalink
feat(certifications): Certification badge (#14)
Browse files Browse the repository at this point in the history
Most certifications come with a badge, so I added that option. In the certification details simply add 'badge: https://link.to.badge'

* Update index.html : certifications
* Update config.yml : certification badge
  • Loading branch information
davidem authored Jun 9, 2024
1 parent 624900e commit b4810b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions exampleSite/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ params:
- certName: Example Cert
company: Example Certifying Company
date: Date of Completion
badge: https://www.link.to.badge
#description: Lorem Ipsum

misc:
Expand Down
3 changes: 3 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@
{{ if .description }}
'{{ .description }}\n' +
{{ end }}
{{ if .badge }}
'Badge: \t{{ .badge }}\n' +
{{ end }}
'\r',
{{ end }}
{{ end }}
Expand Down

0 comments on commit b4810b4

Please sign in to comment.