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

Files: src/i18n/<lang>.json, src/config/menu.<lang>.json, src/config/config.toml, src/layouts/components/global/ · Skill level: Beginner

In the Tina edition, these are Interface labels, Menus, and Site settings at /admin/, and every page’s form has a Footer layout field. In the Sanity edition, they are Interface labels and Menus under your language in the Studio, and Site settings > Settings. Which footer a page uses stays in code.

Techbyte includes two footers, Footer.astro and FooterTwo.astro in src/layouts/components/global/, and pulls most footer content from configuration and language files.

  • Logo – Both footers use logoAlternate from [site], the light logo
  • Social Links – Configure your social links. Footers show the first four that are enabled
  • Footer Menus – Defined in src/config/menu.<lang>.json
  • Contact Details – Footer 1 shows [settings.contactInfo]

Pages opt into a footer through Base.astro:

<Base {...page?.data} footerLayout="footer-1">
<!-- sections -->
</Base>
  • footer-1 renders a contact section (ContactSection.astro) directly above Footer.astro. Home 01 uses this. Below the logo and description, it has a Company menu, your contact details, and images of your latest six projects.
  • footer-2 (the default) renders FooterTwo.astro, with the logo, a large description, a row of links, and social icons. It accepts a footerDecorativeColor prop for the shape above it: "accent" by default, "light", "transparent", or "none".

Techbyte reads its footer copy from the language files, so each language has its own.

Example: English (en.json)

"footer": {
"menuTitleLinks": "Links",
"freeSupport": "Free Support",
"description": "Managed IT, cloud, cybersecurity, and software delivery for growing businesses.",
"descriptionSecondary": "We help teams reduce technology risk, improve uptime, and ship better digital systems.",
"contact": "Contact",
"copyright": "Copyright © {{ year }} Techbyte. All Rights Reserved."
}
  • description is used by Footer 1, and descriptionSecondary by Footer 2.
  • The {{ year }} placeholder in copyright is replaced with the current year automatically, and the text supports inline Markdown links.
  1. Open each language file, such as src/i18n/en.json.
  2. Locate the "footer" object.
  3. Update "description", "descriptionSecondary", and "copyright".

Some labels in the footer are in the common object: company, getInTouch, workHourValue, and recentProjects.

Two settings in config.toml change the footer too:

src/config/config.toml
[settings]
footerDescription = ""
footerBackgroundImage = "/images/others/footer-bg.png"
  • footerDescription shows on every language, in both footers, when it isn’t empty.
  • footerBackgroundImage sets the decorative background image used by Footer 1.

The enable and text keys under [settings.copyright] have no effect. Change footer.copyright in each language file.

Techbyte’s footer links live in src/config/menu.<lang>.json across three groups:

{
"footerPrimary": [
{ "enable": true, "name": "About Us", "url": "/about/" },
{ "enable": true, "name": "Services", "url": "/services/" }
],
"footerSecondary": [
{ "enable": true, "name": "Home", "url": "/" },
{ "enable": true, "name": "Contact", "url": "/contact/" }
],
"footerPrivacy": [
{ "enable": true, "name": "Privacy Policy", "url": "/privacy-policy/" },
{ "enable": true, "name": "Terms of Use", "url": "/terms-conditions/" }
]
}
  • footerPrimary → the Company menu in Footer 1
  • footerSecondary → the row of links in Footer 2
  • footerPrivacy → the policy links in the copyright row of both

In the footer, enable doesn’t hide a link. To remove a link, delete its row. See Menus.

Both footers end with the same row (FooterCopyright.astro). It holds three things:

  • The Ask AI row (footer/FooterAi.astro). Turn it off with footer = false under [settings.pageActions]. See AI Links & llms.
  • The copyright line and the footerPrivacy links.
  • The theme credit (footer/FooterCredit.astro), editable in config.toml:
src/config/config.toml
[settings.themeCredit]
enable = true
text = "..."
url = "..."

Do It With AI

Update my footer. In each file in src/i18n/, set footer.description, footer.descriptionSecondary, and
footer.copyright to [TEXT], in that file's language. Keep the {{ year }} placeholder. In each
src/config/menu.<lang>.json file, set footerPrimary, footerSecondary, and footerPrivacy to these links:
[LINKS]. Don't change the footer components. Then run npm run astro-check.
Type something to search...