Skip to content
New: Customize your theme with an AI assistant. Read the guide

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.

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"
}
  1. Open src/i18n/<lang>.json, such as en.json, fr.json, or ar.json. Change it in every language.
  2. Locate the "footerBlock" object.
  3. Update "description" and "copyright".

config.toml has values for these too:

src/config/config.toml
footerDescription = ""
[settings.copyright]
enable = true
text = "Copyright © 2024 Lumio All Rights Reserved."
  • footerDescription: if you fill it in, it replaces footerBlock.description in Footer.astro. FooterTwo.astro always shows footerBlock.description.
  • copyright.text: it shows only when footerBlock.copyright is empty in the language file.
  • copyright.enable: false hides 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:

src/config/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:

src/config/config.toml
[site]
logo = "/images/logo.png"
logoWhite = "/images/logo-white.png"
logoText = "Lumio"

That value is rendered by src/layouts/components/global/Logo.astro.

Pages can opt into either footer variant through the base layout:

src/layouts/Base.astro
type Props = {
footer?: "one" | "two";
};
  • footer="one" uses src/layouts/components/global/Footer.astro
  • footer="two" uses src/layouts/components/global/FooterTwo.astro, the default
Type something to search...