description: Try to understand and identify unmet needs to explain why something is happening the way it is.

hb:
  # js_bundle_name: main # the JS bundle name.
  # css_bundle_name: main # the CSS bundle name.
  header:
    # brand: HB # the brand name, leave it empty to use site's title.
    # logo_bg: '#712cf9' # logo background color, used by logo with transparent background.
    # see https://hbstack.dev/en/docs/modules/socials/.
    socials:
      github: ditatompel
      twitter: ditatompel
  footer:
    # see https://hbstack.dev/en/docs/modules/socials/.
    socials:
      github: ditatompel
      twitter: ditatompel
  blog:
    paginate: 12 # paginate.
    # post_thumbnail: false # whether to show the thumbnails.
    # post_date_format: ":date_long" # see https://gohugo.io/functions/dateformat/#datetime-formatting-layouts.
    home: # homepage settings.
      featured_posts: 5 # the number of the featured posts.
      main_sections: # leave it empty to include all regular pages.
        - docs
        - blog
        - tutorials
    giscus:
      repo: ditatompel/insights
      repo_id: R_kgDOJnjREg
      category_id: DIC_kwDOJnjREs4CXRWP
  docs:
    giscus:
      repo: ditatompel/insights
      repo_id: R_kgDOJnjREg
      category_id: DIC_kwDOJnjREs4CXRWP
  content_panel:
    repo:
      service: github # github or gitlab.
      repo: ditatompel/insights
      branch: main
      # subpath: exampleSite
  # gallery:
  #   thumbnail_size: "x640"

seo:
  favicons: # see https://hugomods.com/en/docs/seo/#favicons-module
    icon: images/logo.png # use logo as favicon.
    svg_icon: images/logo.svg
    mask_icon: images/logo.svg
    mask_icon_color: '#712cf9'
    sizes:
      - size: 180x180
        rel: apple-touch-icon

# PWA settings, see https://hugomods.com/en/docs/pwa/#site-parameters.
pwa:
  debug: false
  icon_path: images/logo.png
  icon_sizes:
    - 48
    - 64
    - 128
    - 144
    - 256
    - 512
  precaches:
    - url: /en/
    - url: /id/
  manifest:
    background_color: '#712cf9'
    theme_color: '#712cf9'
    short_name: 'ditatompel Insights'

# see https://hugomods.com/en/docs/search/#site-parameters
search:
  stall_threshold: 300
  min_match_char_length: 2
  case_sensitive: false
  shortcut_search: ["/"] # vim like  search shortcut

mermaid:
  # replace it with other CDNs or self-hosted URLs.
  js_url: https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs

hugopress:
  modules:
    hb-custom:
      hooks:
        # see layouts/partials/hugopress/modules/hb-custom/hooks/head-end.html.
        head-end:
          cacheable: true
        # see layouts/partials/hugopress/modules/hb-custom/hooks/body-end.html.
        body-end:
          cacheable: true
