🌟 HugoBlox Pro
Pro subscribers can optionally hide the “Powered by HugoBlox” attribution and get priority support.
Configure your HugoBlox site’s global settings in config/_default/params.yaml.
The config/_default/params.yaml file is the control center of your site. It handles everything from your site’s name and SEO description to feature toggles like comments and search.
hugoblox: schema: "2.0" identity: name: "Your Name"That’s it! Everything else has sensible defaults.
Here are the available configuration sections:
hugoblox: # --- Core --- identity: # Who you are (SEO, Name, Social) theme: # Visual appearance -> see Theming Guide
# --- Navigation --- header: # Navbar settings (search, theme toggle) footer: # Footer text and copyright
# --- Content --- typography: # Fonts and sizing layout: # Spacing and shapes content: # Math, TOC, citations settings locale: # Date/time formats
# --- Features --- seo: # SEO overrides search: # Site search provider comments: # Comment systems (Giscus, etc) analytics: # Google Analytics, etc
# --- Technical --- verification: # Search engine verification codes repository: # "Edit this page" links security: # Security headers (CSP) privacy: # Privacy banner & settings debug: # Development tools pro: # Pro subscription featuresTell visitors and search engines who you are. This information appears in your navbar, footer, and SEO meta tags.
hugoblox: identity: # Site name (shown in navbar, footer, browser title) name: "Dr. Jane Smith"
# Optional: Legal entity for copyright (defaults to name) organization: "Stanford University"
# Schema.org type for search engines type: person # person | organization | local_business
# Short headline displayed on your site tagline: "AI Researcher | Stanford"
# Site description for SEO and social sharing description: "AI researcher specializing in machine learning..."
# Social accounts (used for Twitter Cards, etc.) social: twitter: "janesmith" # Without the @ symbolConfigure your site’s navigation bar behavior and features.
hugoblox: header: enable: true style: navbar # navbar | navbar-simple | minimal sticky: true # Stick to top on scroll align: center # left | center | right
# Feature toggles search: true theme_toggle: true theme_picker: false # Show theme chooser dropdown language_switcher: true
# Call-to-action button cta: enable: false text: "Contact" url: "/contact/"Menu links are defined in config/_default/menus.yaml (not params.yaml):
main: - name: Home url: / weight: 10 - name: Publications url: /publications/ weight: 20main: - name: Research identifier: research weight: 30 - name: Publications parent: research url: /publications/ weight: 10 - name: Projects parent: research url: /projects/ weight: 20main: - name: Contact url: "/#contact" # Links to #contact section weight: 40Customize your site footer and copyright notice.
hugoblox: footer: style: minimal # minimal | columns | centered language_switcher: true text: "" # Custom HTML/text
copyright: notice: "© {year} {name}. This work is licensed under {license}" license: type: cc # cc | all_rights | custom allow_derivatives: false share_alike: true allow_commercial: falseTemplate Variables:
{year} - Current year{name} - From identity.organization (or identity.name){license} - Creative Commons license linkAdapt date, time, and address formats for your region.
hugoblox: locale: date_format: "Jan 2, 2006" # Go time format time_format: "3:04 PM" address_format: en-usCommon Formats:
locale: date_format: "Jan 2, 2006" time_format: "3:04 PM" address_format: en-uslocale: date_format: "2 January 2006" time_format: "15:04" address_format: en-gblocale: date_format: "2006-01-02" time_format: "15:04" address_format: en-usConfigure how content is rendered and enhanced.
hugoblox: content: math: enable: false # LaTeX math rendering (KaTeX) toc: enable: true # Table of contents reading_time: enable: true # Reading time estimates citations: style: apa # apa | mla | chicago | ieeeEnable “Edit this page” links for collaborative documentation sites.
hugoblox: repository: enable: true url: "https://github.com/username/repo" branch: main content_dir: contentThen mark pages as editable in their front matter:
---title: My Pageeditable: true---Configure security headers for production (requires blox-plugin-netlify).
hugoblox: security: csp: policy: "" # Content Security Policy report_only: false frame_options: deny # deny | sameorigin | allow permissions_policy: ""🌟 HugoBlox Pro
Pro subscribers can optionally hide the “Powered by HugoBlox” attribution and get priority support.
hugoblox: pro: hide_attribution: false # Requires Pro + HUGO_BLOX_LICENSE env varIf you’re already a Pro user and wish to remove the footer attribution, first set the HUGO_BLOX_LICENSE secret from your Lemon Squeezy license: add it in GitHub (Settings → Secrets and variables → Actions) or as an environment variable in your Netlify site dashboard. For GitHub Pages, check that your GitHub Action includes the license as per this example. After that, enable hugoblox.pro.hide_attribution.
Any user (Pro or not) can join the Creator Program to earn commission on referrals:
hugoblox: pro: affiliate_code: "your-affiliate-code" # Join Creator Program at hugoblox.com/affiliatesHere’s a fully configured params.yaml:
hugoblox: schema: "2.0"
identity: name: "Dr. Jane Smith" type: person description: "AI researcher at Stanford..." social: twitter: "janesmith"
theme: mode: system pack: minimal
typography: font: serif size: md
header: enable: true style: navbar search: true
content: math: enable: true citations: style: apa
analytics: google: measurement_id: "G-XXXXXXXXXX"hugoblox: schema: "2.0"
identity: name: "Stanford AI Lab" organization: "Stanford University" type: organization tagline: "Advancing AI for humanity"
theme: mode: system pack: light: minimal dark: contrast colors: primary: "#8C1515" # Stanford red
header: cta: enable: true text: "Join Our Team" url: "/careers/"
comments: enable: true provider: giscus giscus: repo: "lab/website" repo_id: "..." category: "Comments" category_id: "..."