Skip to content

Introduction

Yas is a theme for Ghost 6, written for long reading in Arabic and set so English feels at home too. Arabic fonts ship inside the theme, writing direction follows the publication language, and dark mode is the reader’s choice.

The edition in this repository is free under the MIT licence. Yas Pro is a separate paid edition: extra layouts, a membership page, and save-for-later. Neither edition times out or watermarks the site.

Demo: ghost.yasser.ae.

  • Sets lang and dir from Ghost’s publication language. Arabic, Persian, Urdu, Hebrew and the other languages listed later are right to left; everything else is left to right.
  • Translates every visible string. locales/ar.json and locales/en.json ship with the theme.
  • Offers light, dark, or system, plus a header switch that remembers the reader’s choice.
  • Offers four open Arabic families: IBM Plex Sans Arabic, Noto Naskh Arabic, Noto Kufi Arabic, and Amiri.
  • Draws the paywall from the post’s access level, and a newsletter band.
  • Provides page templates for tags, authors, and contact.
  • On a post: contents, a progress bar, a lightbox, sharing, related posts, and comments that load as the reader reaches them.
Yas Yas Pro
Direction from the publication language, Arabic and English translations ✓ ✓
Light / dark / system, and a reader switch ✓ ✓
Arabic font picker (four families) ✓ ✓
Paywall, newsletter band, tags, authors, contact ✓ ✓
Lightbox, contents, progress, share, related posts, comments ✓ ✓
Homepage layouts: Classic, Opener, Magazine — ✓
Essay template for long text — ✓
Load more, or continuous loading — ✓
Membership page with a monthly / yearly switch — ✓
Save for later, print stylesheet, fallback share description — ✓

The free edition defines 15 custom settings. Pro adds 5 and reaches Ghost’s cap of 20, including license_key. The tables are on the settings reference.

Screenshots are from the demo publication. The free homepage opens with an intro, then a card grid whose first card is larger.

Arabic homepage in light mode: header with navigation, search and theme switch, site title, intro, tag chips, and a post grid

Classic homepage. Tag chips are the busiest public tags. The grid is the latest posts.

The same homepage in dark mode, with a warm ink background and darker cards

Dark mode is its own palette, not an inversion of the light one.

English homepage, left to right, with the same cards following the new direction

Publication language en. Direction flips. Mixed titles inside cards stay readable.

Homepage on a phone, one column, navigation collapsed

On a phone the menu collapses and cards stack.

A post: title, feature image, contents box, body, share buttons, newsletter, and related posts

A post. The contents box appears when the body has three or more second-level headings.

A full-screen image viewer over the post, with a close button and a caption

Clicking an image in the post opens the viewer. Arrows and swipe follow the page direction.

You need Ghost 6.0 or newer, on Ghost(Pro) or on a server you run.

  1. Install from the release zip. Do not unzip it.
  2. Set the publication language to ar for an Arabic site. See navigation and locale.
  3. Walk through settings, then membership if you take subscribers.
  4. If you bought Pro, read its features and then licence activation.

Yas is free under the MIT licence. Yas Pro is a paid edition. By Yasser Maadan.