Homa Theme Documentation

Version 1.0.x

Welcome to Homa! This guide helps you install, customize, and get the most out of your new Ghost theme.

Homa Theme

If you’re new to Ghost, you might find the official Ghost documentation helpful.

Installation and Updates

Installing the Theme

Follow these steps to add Homa to your Ghost site:

  1. Log in to your Ghost Admin.
  2. Go to Settings > Design & branding > Customize.
  3. Click Change theme (bottom right).
  4. Select Upload theme and choose the Homa.zip file you downloaded.
  5. Once uploaded, click Activate.

Removing the Theme

If you need to remove Homa:

  1. Go to Settings > Design & branding > Customize.
  2. Click Change theme.
  3. Find Homa in the list. Before deleting, activate a different theme (you can’t delete an active theme).
  4. Click the ... menu next to Homa and select Delete. Confirm the deletion.

Updating the Theme

Keep Homa up-to-date with the latest features and improvements:

  1. Download the latest version of the Homa theme zip file.
  2. Go to Settings > Design & branding > Customize.
  3. Click Change theme.
  4. Select Upload theme and choose the new Homa.zip file.
  5. Activate the updated theme.

Important: Updating overwrites any direct code changes you’ve made to theme files. If you’ve customized the code, back up your changes before updating.

Customization

Set your site’s logo for branding:

  1. Go to Settings > Design & branding.
  2. Under Brand, find Publication logo.
  3. Click Upload logo and select your image file. Use a transparent background (like .png) for best results.
  4. Click Save.

If you plan to use dark mode (see Color Scheme section), you can add a separate logo optimized for dark backgrounds:

  1. Go to Settings > Design & branding > Customize.
  2. Find Logo for dark color scheme.
  3. Upload your dark mode logo variant.
  4. Click Save.

Customize the copyright notice shown in your site footer:

  1. Go to Settings > Design & branding > Customize.
  2. Find Copyright text.
  3. Enter your desired copyright information (e.g., © 2024 Your Site Name. All rights reserved.).
  4. Click Save.

If left empty, the default ”© [Year] Published with Ghost” will be displayed.

Color Scheme

Choose how your site handles light and dark modes:

Light Color Scheme
Light Color Scheme
Dark Color Scheme
Dark Color Scheme
  1. Go to Settings > Design & branding > Customize.
  2. Expand the Site-wide section.
  3. Find Color scheme and choose:
    • Light: Always use the light theme.
    • Dark: Always use the dark theme.
    • System: Automatically match the visitor’s device setting.
  4. Click Save.

You can also allow visitors to switch modes themselves:

  1. Find Show color scheme switcher.
  2. Toggle it on to display a switcher icon in the site header.
  3. Click Save.

You can choose to always display the site header and footer using the dark color scheme, even if the rest of the site is set to light or system mode.

Homa Theme
  1. Go to Settings > Design & branding > Customize.
  2. Expand the Site-wide section.
  3. Find Use dark color scheme for header and footer.
  4. Toggle the setting on if you want the header and footer to always be dark.
  5. Click Save.

This provides contrast and can help visually anchor the top and bottom of your pages.

Fonts

Homa integrates with Ghost’s native font system and also includes built-in options.

Using Ghost Native Fonts (Recommended)

Available in Ghost 5.104.0+, this method provides the best control and consistency:

  1. Ensure you’re using a recent version of Homa and Ghost.
  2. Go to Settings > Design & branding.
  3. Under Brand, find the Typography section.
  4. Select your desired heading and body fonts.
  5. Click Save.

These settings automatically override the theme’s specific font settings.

Using Theme Font Settings

If you prefer not to use Ghost’s native system:

  1. Go to Settings > Design & branding > Customize.
  2. Expand the Site-wide section.
  3. Use the Heading font family and Body font family dropdowns to select fonts.
  4. Click Save.

Available Theme Fonts:

Heading FontsBody Fonts
CardoFira Mono
Chakra PetchFira Sans
Fira MonoIBM Plex Serif
Fira SansInter
IBM Plex SerifJetBrains Mono
InterLora
JetBrains MonoManrope
Libre BaskervilleMerriweather
LoraNoto Sans
ManropeNoto Serif
MerriweatherNunito
Noto SansOld Standard TT
Noto SerifPoppins
NunitoRoboto
PoppinsRufina
RobotoSpace Grotesk
Space MonoSpace Mono
Tenor SansTenor Sans

Display social media icons in your site footer:

Facebook and X (formerly Twitter):

  1. Go to Settings > General.
  2. Scroll to Social accounts.
  3. Enter your Facebook page URL and X profile URL.
  4. Click Save.

Other Platforms (Instagram, LinkedIn, etc.):

  1. Go to Settings > Code injection.
  2. In the Site Header box, add the following script, modifying the links and adding platforms as needed:
<script>
  // Add links for the social platforms you want to display
  window.social = {
    instagram: "https://instagram.com/your_username",
    linkedin: "https://linkedin.com/in/your_profile",
    youtube: "https://youtube.com/your_channel",
    pinterest: "https://pinterest.com/your_username",
    // Add other supported platforms below
  };
</script>
  1. Click Save.

Supported Platforms for Code Injection:

Use the lowercase platform name as the key (e.g., instagram, linkedin).

BehanceFacebookPinterest
BlueskyFlickrReddit
DeezerInstagramSnapchat
DiasporaKickstarterSpotify
DiscordLineTelegram
DribbbleLinkedInThreads
MastodonTikTokWeibo
OKTwitchWhatsApp
PatreonVimeoX
XingYouTubeYelp
Zhihu

Primary Navigation (Header)

Configure the main menu displayed in your site header:

  1. Go to Settings > Navigation.
  2. Edit items under Primary navigation.
  3. To create dropdown submenus:
    • Add a main item (e.g., Resources). Set its URL to #.
    • Add sub-items directly below it, prefixing their labels with a dash - (e.g., - Documentation, - Tutorials). Assign actual URLs to these sub-items.
  4. Click Save.

On smaller screens, menu items that don’t fit horizontally will automatically appear under a “More” dropdown.

Configure the links displayed in your site footer, organized into columns:

  1. Go to Settings > Navigation.
  2. Edit items under Secondary navigation.
  3. To create columns:
    • Add a column header item (e.g., Company). Set its URL to #.
    • Add the links for that column directly below the header (e.g., About Us, Contact).
    • Add another header item with URL # to start the next column (e.g., Legal).
    • Add links for the second column below its header (e.g., Privacy Policy, Terms of Service).
  4. Click Save.

Links to external websites will automatically open in a new tab and show an indicator icon.

Content Loading (Pagination)

Homa uses a “Load More” button for browsing posts:

  • Visitors click Load More at the bottom of post lists.
  • The next set of posts loads smoothly onto the current page.
  • A “You’re all caught up.” message appears when all posts are loaded.

Installable App (PWA)

Allow visitors to install your site like an app on their mobile devices (Progressive Web App):

  1. Go to Settings > Design & branding > Customize.
  2. Find Enable app mode under Site-wide.
  3. Toggle it on.
  4. Click Save.

Compatible mobile browsers will prompt visitors to add the site to their home screen.

Homepage Setup

If you want featured posts to appear only in the featured section and not in the main post list, you can modify your site’s routing:

  1. Go to Settings > Labs in Ghost Admin.
  2. Under Beta features, find the Routes section.
  3. Download your current routes.yaml file (if one exists) as a backup.
  4. Upload a new routes.yaml file with the following content:
routes:
  # Define custom routes here if needed

collections:
  /:
    permalink: /{slug}/
    filter: featured:false  # Exclude featured posts from the main collection
    template: index
  /featured/:
    permalink: /featured/{slug}/
    filter: featured:true     # Create a separate collection for featured posts
    template: index         # Or use a custom template if desired

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/
  1. Save the changes. Featured posts will now be excluded from the main / collection.

Homepage Tags Sections

Homepage Tags Section

Display dedicated sections on your homepage for specific tags you choose:

  1. Go to Settings > Design & branding > Customize.
  2. Under Homepage, find Homepage tags.
  3. Enter a comma-separated list of tag slugs you want to display sections for (e.g., interviews, tutorials, analysis).
  4. Click Save.

For each tag listed, a section will appear on the homepage showing the tag name (linking to the tag page), its description (if available), and the latest 4 posts with that tag.

Highlighted Tag Section

Highlighted Tag Section

Showcase posts from a specific tag in a dedicated homepage section:

  1. Go to Settings > Design & branding > Customize.
  2. Under Homepage, find Highlighted tag.
  3. Enter the slug of the tag you want to highlight (e.g., news, case-studies).
  4. Click Save.

For the best appearance, edit the highlighted tag itself (under Tags in Ghost Admin) and add a Description and Feature image.

Homepage Authors Section

Homepage Authors Section

Optionally display a list of authors on the homepage:

  1. Go to Settings > Design & branding > Customize.
  2. Under Homepage, find Show authors list on home page.
  3. Toggle it on or off.
  4. Click Save.

Ensure author profiles are complete (image, bio) for the best appearance. See the Authors Page template section for details.

Post Settings

Post Layouts

Choose how a post’s feature image and content are arranged:

Text First (Default): Content appears above the feature image.

Post Layout Text First

Image Left: Feature image on the left, title/meta on the right.

Post Layout Image Left

Image Right: Title/meta on the left, feature image on the right.

Post Layout Image Right

Full Width Image: Large feature image above the title/meta.

Post Layout Full Width Image
  1. Edit a post in Ghost Admin.
  2. Open the post settings (gear icon).
  3. Under Template, choose from the available layouts.
  4. Click Update.

Scroll Indicator

Show a progress bar indicating reading progress within posts:

  1. Go to Settings > Design & branding > Customize.
  2. Expand the Post section.
  3. Toggle Enable Scroll Indicator on or off.
  4. Click Save.

Post Suggestions

Display related posts at the bottom of each article:

  1. Go to Settings > Design & branding > Customize.
  2. Under Post, toggle Show post suggestions on or off.
  3. Click Save.

Comments

Enable Ghost’s built-in commenting system:

  1. Go to Settings > Membership.
  2. Under Access, click Edit for Commenting.
  3. Choose who can comment (Nobody, All members, Paid members).
  4. Click Save.

Syntax Highlighting

Automatically format code blocks for readability:

  1. Go to Settings > Design & branding > Customize.
  2. Under Post, toggle Enable Syntax Highlighting on or off.
  3. Click Save.

Page Templates

Homa includes several templates for creating custom pages.

Authors Page

Create a page listing all site authors with their profiles:

Authors Page
  1. Create a new page in Ghost Admin (e.g., title “Our Team”).
  2. Open page settings (gear icon).
  3. Under Template, select Authors.
  4. Publish the page.

Ensure author profiles in Staff settings have a profile image, bio, and any relevant social links filled out.

Tags Page

Create a page listing all tags used on your site:

Tags Page
  1. Create a new page (e.g., title “Topics”).
  2. Open page settings.
  3. Under Template, select Tags.
  4. Publish the page.

Add this page to your site navigation for easy access. For best results, ensure your tags have descriptions and feature images set under Tags in Ghost Admin.

Contact Page

Add a contact form to your site:

Contact Page
  1. Sign up for a form service like Formspree or Getform and get your unique form endpoint URL.
  2. Go to Settings > Design & branding > Customize.
  3. Under Site-wide, find Contact form url.
  4. Paste your form endpoint URL.
  5. Click Save.
  6. Create a new page (e.g., title “Contact Us”).
  7. Add any introductory text or contact details in the page editor.
  8. Open page settings.
  9. Under Template, select Contact.

Development

Homa is a modern Ghost theme built with:

  • Vite for build tooling
  • Tailwind CSS for styling
  • TypeScript for enhanced JavaScript functionality
  • PhotoSwipe for image galleries
  • Infinite scroll for content loading

Development Setup

To edit the theme files:

  1. Download the theme ZIP file from Ghost Admin.
  2. Unzip the file on your local machine.
  3. Open the theme folder in your preferred code editor.

The theme uses Tailwind CSS for styling and TypeScript for scripts. You’ll need to set up a development environment to work with these files.

Setting Up the Development Environment

  1. Ensure you have Node.js installed on your system.
  2. Open a terminal/command prompt in the theme folder.
  3. Run npm install to install the required dependencies.

Working with Tailwind and TypeScript

The theme uses Vite to bundle and compile Tailwind CSS and TypeScript files. To work with these files:

  1. Make your changes in the assets/css/*.css or assets/js/*.ts files.
  2. Run npm run dev to start Vite in watch mode. This will automatically compile your changes.
  3. To build for production, run npm run build.

Important Files and Folders

  • assets/css/: Contains CSS files
  • assets/js/: Contains TypeScript files
  • partials/: Contains reusable Handlebars template parts
  • tailwind.config.cjs: Tailwind configuration
  • vite.config.js: Vite build configuration

Remember to thoroughly test all changes across different devices and browsers before deploying to a live site.

Language Translations

This theme is translated into multiple languages. The translation files are located in the locales/ folder.

LanguageCode
🇿🇦 Afrikaansaf
🇦🇱 Albaniansq
🇧🇦 Bosnianbs
🇧🇬 Bulgarianbg
🇪🇸 Catalanca
🇨🇳 Chinesezh
🇹🇼 Chinese (Traditional)zh-Hant
🇭🇷 Croatianhr
🇨🇿 Czechcs
🇩🇰 Danishda
🇳🇱 Dutchnl
🇬🇧 Englishen
🌍 Esperantoeo
🇫🇮 Finnishfi
🇫🇷 Frenchfr
🇩🇪 Germande
🇨🇭 German (Swiss)de-CH
🇬🇷 Greekel
🇭🇺 Hungarianhu
🇮🇸 Icelandicis
🇮🇩 Indonesianid
🇮🇹 Italianit
🇯🇵 Japaneseja
🇰🇷 Koreanko
🇱🇹 Lithuanianlt
🇲🇰 Macedonianmk
🇲🇾 Malayms
🇲🇳 Mongolianmn
🇳🇴 Norwegianno
🇳🇴 Norwegian Nynorsknn
🇵🇱 Polishpl
🇵🇹 Portuguesept
🇧🇷 Portuguese (Brazil)pt-BR
🇷🇴 Romanianro
🏴󠁧󠁢󠁳󠁣󠁴󠁿 Scottish Gaelicgd
🇷🇸 Serbiansr
🇱🇰 Sinhalasi
🇸🇰 Slovaksk
🇸🇮 Sloveniansl
🇪🇸 Spanishes
🇸🇪 Swedishsv
🇹🇭 Thaith
🇹🇷 Turkishtr
🇺🇦 Ukrainianuk
🇺🇿 Uzbekuz
🇻🇳 Vietnamesevi

To use a different language:

  1. In Ghost Admin, go to Settings > General.
  2. Set the “Site language” to the desired language code (e.g., “es” for Spanish).

To modify translations:

  1. Open the corresponding language file in the locales/ folder (e.g., es.json for Spanish).
  2. Edit the translations as needed.
  3. Save the file and rebuild the theme.

Third Party Materials

These resources helped to make this theme possible. A big thank you to the creators and contributors for their work.

JavaScript && CSS

Fonts


Support

If you need additional help with the theme, please contact me at support@luxethemes.com.

Good luck with your site!

All the best,
Stefan from LuxeThemes


Changelog

All notable changes to this theme will be documented here

1.0.0

  • Initial release of the theme