Customizing the Footer
Files: src/layouts/components/global/Footer.astro, src/layouts/components/global/FooterTwo.astro, src/layouts/components/global/footer/, src/i18n/<lang>.json, src/config/config.toml · Skill level: Beginner
In Tina and Sanity, the footer text is under Interface labels > Footer Block (at /admin/ or in the Studio), and the settings are under Site settings > Settings.
Lumio includes two footer variants and pulls most footer content from configuration and translation files.
- Logo – Update your site’s logo
- Social Links – Configure site-wide social links
- Footer Menus – Customize navigation menus
- Subscription – Set up the subscription form
- Copyright & Footer Description – See below
- Ask AI Row – See below
- Theme Credit – See below
- Brand Text – Controlled by
site.logoText
Customizing Copyright Text and Footer Description
Lumio reads its footer copy from the language files:
Example: English (en.json)
"footerBlock": { "description": "Duis aute irure dolor in reprehenderit velit esse cillum dolore in fugiat nulla pariatur, excepteur sint", "copyright": "Copyright © 2024 Lumio All Rights Reserved.", "contactBlockLabel": "Contact", "aboutUsLabel": "About us", "quickLinksLabel": "Quick Links", "officeLabel": "Office", "socialLabel": "Social", "recentPostsLabel": "Recent Posts"}- Open
src/i18n/<lang>.json, such asen.json,fr.json, orar.json. Change it in every language. - Locate the
"footerBlock"object. - Update
"description"and"copyright".
config.toml has values for these too:
footerDescription = ""
[settings.copyright] enable = true text = "Copyright © 2024 Lumio All Rights Reserved."footerDescription: if you fill it in, it replacesfooterBlock.descriptioninFooter.astro.FooterTwo.astroalways showsfooterBlock.description.copyright.text: it shows only whenfooterBlock.copyrightis empty in the language file.copyright.enable:falsehides the copyright line in both footers.
Ask AI Row
src/layouts/components/global/footer/FooterAi.astro is the row that links to AI assistants and the AI-readable files. Change it with [settings.pageActions] and [seo.ai] in config.toml. See AI Links & llms.
Theme Credit
src/layouts/components/global/footer/FooterCredit.astro shows the theme credit, on every page. It is editable in config.toml:
[settings.themeCredit] enable = true text = "..." url = "..."The part of text in [brackets] becomes the link.
Customizing Brand Text
Lumio does not use a separate brandName setting. The visible text next to the logo comes from site.logoText:
[site] logo = "/images/logo.png" logoWhite = "/images/logo-white.png" logoText = "Lumio"That value is rendered by src/layouts/components/global/Logo.astro.
Choosing a Footer Variant
Pages can opt into either footer variant through the base layout:
type Props = { footer?: "one" | "two";};footer="one"usessrc/layouts/components/global/Footer.astrofooter="two"usessrc/layouts/components/global/FooterTwo.astro, the default