Badges

This page demonstrates the badge integration feature of the Hugo Techie Personal theme. The theme supports displaying professional certifications and badges from multiple platforms:

Badge Display Options

The theme supports three badge sizes:

Normal Size (Default - 250x250px)

Big Size (500x500px)

Small Size (64x64px - Icon Only)

DEF CON 33 Training Instructor
HackingPoint Trainer
Network Pentesting Basics
Network Scanning Basics
Check Point Ambassador 2018
GIAC Web Application Penetration Tester (GWAPT)

Configuration

To display your own badges, configure your config.toml:

[params]
  # Credly badge integration
  credly_username = "your-credly-username"
  credly_image_dir = "images/CredlyBadges"
  
  # Accredible badge integration
  accredible_username = "your-accredible-username"
  accredible_image_dir = "images/AccredibleBadges"
  
  # Badgr badge integration (optional)
  badgr_username = "your-badgr-username"
  badgr_api_token = "your-api-token"  # Required for API access
  badgr_image_dir = "images/BadgrBadges"
  
  # Bugcrowd badge integration (optional)
  bugcrowd_username = "your-bugcrowd-username"
  bugcrowd_image_dir = "images/BugcrowdBadges"
  
  # HackerOne badge integration (optional)
  hackerone_username = "your-hackerone-username"
  hackerone_image_dir = "images/HackerOneBadges"

Manual Badges

Add custom badges by creating data/ManualBadges.json:

{
  "badges": [
    {
      "id": "custom-1",
      "name": "Custom Badge Name",
      "description": "Badge description",
      "image_url": "https://example.com/badge-image.png",
      "issued_at": "2024-01-15T00:00:00Z",
      "expires_at": "2025-01-15T00:00:00Z",  # Optional
      "url": "https://example.com/badge-link"
    }
  ]
}

Open Badges

Add Open Badges (JSON-LD format) by creating data/OpenBadges.json:

{
  "badges": [
    {
      "@context": "https://w3id.org/openbadges/v2",
      "type": "Assertion",
      "id": "https://example.com/badges/badge-1",
      "badge": {
        "type": "BadgeClass",
        "name": "Badge Name",
        "description": "Badge description",
        "image": "https://example.com/badge-image.png"
      },
      "issuedOn": "2024-01-15T00:00:00Z",
      "url": "https://example.com/badge-link"
    }
  ]
}

Features

Usage Examples

Display all badges (normal size)

{{< badges >}}

Display big badges

{{< badges size="big" >}}

Display small badges

{{< badges size="small" >}}
DEF CON 33 Training Instructor
HackingPoint Trainer
Network Pentesting Basics
Network Scanning Basics
Check Point Ambassador 2018
GIAC Web Application Penetration Tester (GWAPT)

Hide expired badges

{{< badges hide_expired="true" >}}

Show only expired badges

{{< badges show_expired="true" >}}

Display only Credly badges

{{< badges show_accredible="false" >}}

Display only Accredible badges

{{< badges show_credly="false" >}}

Display only Manual badges

{{< badges show_credly="false" show_accredible="false" show_openbadges="false" show_badgr="false" >}}

Display only Open Badges

{{< openbadges-badges >}}

Display only Badgr badges

{{< badgr-badges >}}

Display only Bugcrowd badges

{{< bugcrowd-badges >}}

Display only HackerOne badges

{{< hackerone-badges >}}

Display Bugcrowd badges with statistics and hall of fame

{{< bugcrowd-badges show_statistics="true" show_hall_of_fame="true" >}}

Note

Bugcrowd integration automatically fetches and caches performance statistics and hall of fame data, but only displays awarded badges by default. Use show_statistics="true" and show_hall_of_fame="true" to display additional information.

Note

This demo site doesn’t have actual badge credentials configured. In a real implementation, you would add your Credly and/or Accredible usernames to the config.toml file to display your actual badges.