Skip to main content

    Side content

    Logo, title, subtitle

    Side content can also be customized ! Logo, title and subtitle may be defined as followed in configuration file hugo.(yaml|toml):

    params:
      hugo_primer:
        nav_logo: /logo.webp
        profile_logo:
          sizes: "(max-width: 768px) 170px, 290px"
          src: /logo/20.webp
          srcset: /logo/10.webp 192w, /logo/20.webp 384w
        subtitle: Subtitle
        title: Title
    

    Additionally, extras links may be defined with Hugo menu profile:

    menus:
      profile:
        - identifier: company
          params:
            aria_label: My Company
            class: text-bold
          name: "@example"
          pre: /static/primer/organization-16.svg
    
        - identifier: mail
          name: example@example.com
          pre: /static/primer/mail-16.svg
          url: mailto:example@example.com
    
        - identifier: website
          name: https://example.com
          pre: /static/primer/link-16.svg
          url: https://example.com
    
        - identifier: linkedin
          name: in/example
          pre: /static/primer/in-16.svg
          url: https://example.com
    

    Is is as such possible to define as many links as wished 😀.

    You can find more information on menus here.

    Extras

    Aside profile menu and extras links, it is possible to override layout layouts/partials/hugo-primer/side.html to add content below extras links.