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

File Structure

After unzipping the theme, you will find a structure like this:

  • Directorythemes/
    • Directorylooka/ (📌 Main theme folder. Its name can differ by edition)
      • …
  • changelog.html (🔗 Links to online changelog)
  • documentation.html (🔗 Links to online documentation)

Main Theme Directory Structure

This is the Astro edition. The differences in the Tina and Sanity editions are listed below the tree.

  • Directorylooka/
    • Directory.cursor/
      • Directoryrules/
        • theme-architecture.mdc (AI instructions for Cursor)
    • Directory.github/
      • copilot-instructions.md (AI instructions for GitHub Copilot)
    • Directory.vscode/ (Editor settings)
      • …
    • Directory.windsurf/
      • Directoryrules/
        • theme-architecture.md (AI instructions for Windsurf)
    • Directorypublic/ (Files served as they are)
      • Directoryimages/ (Favicons, sharing image, gallery)
        • …
      • Directoryplyr/ (Video player files)
        • …
      • Directoryvideos/
        • …
      • .htaccess
      • _headers
      • umami.is.js
    • Directoryscripts/ (Automation scripts)
      • …
    • Directorysrc/
      • tests / (Unit tests)
      • Directoryassets/
        • Directoryimages/ (Theme images, used in content as /images/…)
          • …
      • Directoryconfig/ (Site-wide settings)
        • config.toml (Global config)
        • fonts.json (Font definitions)
        • language.json (Language settings)
        • menu.en.json (English menu)
        • menu.fr.json (French menu)
        • menu.ar.json (Arabic menu)
        • social.json (Social links)
      • Directorycontent/ (Content. Each folder has english/, french/, and arabic/)
        • Directoryabout/ (About page)
          • …
        • Directoryauthor/ (Blog post authors)
          • …
        • Directoryblog/ (Blog posts)
          • …
        • Directorycareer/ (Job openings)
          • …
        • Directorycase-studies/ (Portfolio / projects)
          • …
        • Directorycontact/ (Contact page content)
          • …
        • Directoryfaq/ (FAQ entries)
          • …
        • Directoryhomepage/ (Homepage)
          • …
        • Directorypages/ (Static pages: elements, terms, privacy)
          • …
        • Directorypricing/ (Pricing page)
          • …
        • Directorysections/ (Default content of each section)
          • …
        • Directoryservices/ (Service entries)
          • …
        • Directoryteam/ (Team members)
          • …
        • Directorywidgets/ (Sidebar call to action)
          • …
        • _file_format.md (Frontmatter docs)
      • Directoryi18n/ (Translations)
        • en.json (English)
        • fr.json (French)
        • ar.json (Arabic)
      • Directorylayouts/ (Page layouts & UI components)
        • Directorycomponents/ (Reusable UI elements)
          • Directorycards/
            • …
          • Directoryglobal/
            • Directoryfooter/ (FooterAi.astro, FooterCredit.astro)
              • …
            • Directoryheader/ (Header.astro, Navbar.astro, and the menu parts)
              • …
            • Footer.astro
            • Head.astro
            • Logo.astro
          • Directorysections/
            • …
          • Directoryseo/
            • …
          • Directorysocial/
            • …
          • Directoryutilities/
            • …
          • Directorywidgets/
            • …
          • BlogListPage.astro
          • CareerSingle.astro
          • CustomButton.astro
          • PortfolioSingle.astro
          • SinglePageLayout.astro
        • Directoryhelpers/ (Icons.astro)
          • …
        • Directoryshortcodes/ (Custom MDX components)
          • …
        • Base.astro
      • Directorylib/ (Shared utilities)
        • …
      • Directorypages/ (Dynamic & static pages)
        • Directory[…lang]/ (Multi-language support)
          • index.astro (Homepage)
          • about.astro
          • contact.astro
          • faq.astro
          • pricing.astro
          • team.astro
          • [page].astro (Privacy, terms, elements)
          • 404.astro
          • Directoryblog/
            • …
          • Directorycareer/
            • …
          • Directorycase-studies/
            • …
          • Directoryservices/
            • …
          • llms.txt.ts
          • llms-full.txt.ts
        • […path].md.ts (Markdown copies of pages)
        • 404.astro
        • robots.txt.ts (Robots.txt generator)
      • Directoryplugins/
        • Directoryodometer/ (Number animations)
          • …
      • Directorystyles/
        • animation.css
        • base.css
        • buttons.css
        • components.css
        • global.css
        • navigation.css
        • rtl.css
        • safe.css
        • theme.css
        • utilities.css
      • Directorytypes/ (TypeScript definitions)
        • …
      • content.config.ts (Content settings)
      • env.d.ts (Env variable types)
    • AGENTS.md (AI instructions for all assistants)
    • CHANGELOG.md
    • CLAUDE.md (AI instructions for Claude Code)
    • GEMINI.md (AI instructions for Gemini CLI)
    • README.md
    • SKILLS.md (Step-by-step recipes for assistants)
    • astro.config.mjs
    • netlify.toml
    • package.json
    • package-lock.json
    • vercel.json
    • vercel.sh
    • wrangler.toml

What Differs By Edition

EditionAddsLeaves out or changes
Tinatina/, scripts/tina/, scripts/cms/, src/lib/tina/, src/layouts/components/tina/, .env.exampleThe blog and case study listing files (-index), the privacy policy, and the terms are .mdx, not .md
Sanitysanity/, sanity.config.ts, sanity.cli.ts, scripts/sanity/, src/lib/sanity/, src/sanity-routes/, src/middleware.ts, .env.exampleNo src/content/, src/i18n/, or src/config/menu.*.json. That content is in your Sanity project, and the demo copy is sanity/seed/demo-content.json

Key Directories & Their Purpose

/public⟶ Static Assets
  • Stores favicons, the sharing image, videos, and other files that must be served as they are.
  • Files inside this folder are accessible via direct URLs (e.g., /images/og-image.png).
/src⟶ Main Codebase
  • Contains all Astro components, pages, content, images, and styles.
  • A new entry in src/content/ with only a title won’t break the site, and it builds. Its card or page shows what you filled in, and images and other fields stay empty until you add them, so fill them in before you publish.
  • Customize layouts, pages, and components here.
  • Images in src/assets/images/ are used in content as /images/..., such as /images/logo.svg.
/scripts⟶ Automation Scripts
  • Optimizes workflows with utilities like:
    • generate-favicons.mjs → Generates favicons for all devices.
    • generate-multilingual-content.mjs → Adds a language.
    • remove-draft-from-sitemap.mjs → Removes pages with draft: true or excludeFromSitemap: true from the sitemap.
    • remove-multilingual.mjs → Removes every language except your default one.
    • toml-watcher.mjs → Reads config.toml for the site. npm run dev and npm run build run it for you.

⚙️ Key Configuration Files

astro.config.mjs- Astro Configuration
  • Manages integrations, build settings, and markdown processing.
  • For general site settings, modify config.toml instead.
config.toml- Global Settings

The file is src/config/config.toml, and each setting has a comment. In the Tina edition, you edit it in Site settings at /admin/. In the Sanity edition, a value in Site settings in the Studio wins over the same value here, and the language settings and folder names stay in this file.

SectionWhat it controls
[site]title, description, tagline, taglineSeparator, baseUrl, the logo values, and trailingSlash
[site.favicon]path and image, used by npm run generate-favicons
[seo]author, keywords, and robots
[seo.robotsTxt]enable, disallow, aiSearch, and aiTraining, for /robots.txt
[seo.ai]llmsTxt and markdownPages. See AI Links & llms
[seo.sitemap]enable and exclude
[settings]blogFolder, servicesFolder, portfolioFolder, pagination, stickyHeader, brandName, contactFormAction, contactFormProvider, and footerDescription
[settings.themeCredit]enable, text, and url for the theme credit. See Footer
[settings.copyright]enable and text
[settings.subscription]The footer signup. See Subscription
[settings.multilingual]enable, defaultLanguage, disableLanguages, and showDefaultLangInUrl. See Internationalization
[settings.contactInfo]phone, email, and address. The phone shows in a mega menu bottom row, and all three are listed in llms.txt
[settings.pageActions]enable, footer, and providers, for the Ask AI links
[settings.smoothScroll]The 11 smooth scroll settings. See Smooth Scroll
[settings.navigationButton]The header button. See Header
[settings.markup.tableOfContents]enable, expanded, startLevel, endLevel, and ordered
[opengraph]image, ogLocale, ogType, twitter, and twitterCard
[head]content: tags for the head of every page, such as analytics

Don’t change blogFolder, servicesFolder, or portfolioFolder on their own. A new name also needs the folders and routes renamed.

Styling & Fonts
  • Colors and typography live in src/styles/theme.css.
  • Fonts are defined in src/config/fonts.json and loaded automatically.

Other Important Files

  • package.json → Manages dependencies & npm scripts (npm run dev).
  • wrangler.toml / netlify.toml / vercel.json, vercel.sh → Configuration for deployments (Looka ships with Cloudflare Pages, Netlify, and Vercel configs).

Now that you understand the project structure, it’s time to customize the site’s identity and logo.

Type something to search...