Hugo Profile lets you fine-tune base typography and control whether the home page uses fade-in animations — all throughDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gurusabarish/hugo-profile/llms.txt
Use this file to discover all available pages before exploring further.
hugo.yaml. Font settings are applied directly to the <body> element as inline CSS at build time, so they cascade to every component automatically. The theme ships with three preloaded Google Fonts (Alata, Lora, and Roboto) and uses Bootstrap’s default font stack as a fallback.
Font Configuration
All four fields live underparams.font and map 1-to-1 with CSS properties on body.
Base font size for body text. Accepts any valid CSS size value (
px, rem, em). All other type sizes in the theme are derived from this value using relative units.Base font weight for body text. Standard values are
100, 300, 400, 500, 700, and 900. The preloaded Roboto font supports all of these weights in both normal and italic variants.Base line height as a unitless multiplier relative to
fontSize. The default of 1.5 matches Bootstrap’s body line height.Base text alignment for body content. Accepts standard CSS values:
"left", "center", "right", or "justify".Font YAML Example
These settings affect the base body font only. Headings, the hero name (
h1/h2), and other elements have their own sizes set in the theme’s component CSS files using clamp() for fluid responsiveness.Animation
Enables CSS-based fade animations on the home page. When
true:- The navbar fades down from above (
fade-upkeyframe, 0.5 s ease-in) when the page loads - The hero text block slides in from the left (
fade-leftkeyframe, 1 s ease-out) - The hero image fades in from transparent (
fade-inkeyframe, 1 s ease-out)
false renders all elements immediately with no entrance transition.Custom Scripts
A multi-line string of arbitrary HTML (typically
<script> tags) injected immediately before the closing </body> tag on every page. Use this to add analytics snippets, third-party widgets, or any inline JavaScript that must run after the DOM is ready.MathJax
When
true, the MathJax JavaScript library is loaded on every page of the site, enabling rendering of LaTeX-style math expressions in Markdown content.params.mathjax: false and add the flag to that page’s frontmatter instead:
Bootstrap CDN
params.useBootstrapCDN is technically a global param (covered in the Overview), but it has a direct impact on page load performance and is worth understanding alongside font and animation settings.Set it to true to load both Bootstrap CSS and JS from jsDelivr, "css" for CSS only, or "js" for JS only. Any other value (including the default false) serves Bootstrap from your own static files — the safest choice if you want the site to work fully offline or without external dependencies.