SOLFIND
Web Lens
Portal home

πŸ‘©β€πŸŽ¨ Build with Ghost: The art of the post template

https://ghost.org/tutorials/post-time/ • 123 KB fetched
Open original page


πŸ‘©β€πŸŽ¨ Build with Ghost: The art of the post template

Open menu

Product

For Creators

YouTubers, bloggers, podcasters, musicians & artists

For Publishers

Writers, journalists, local news and new media outlets

For Business

Modern brands & companies with ambitious content marketing

For Developers

Source code, documentation, guides and tutorials

Explore

Resources

Marketplace

Professional themes, custom integrations and qualified experts

Start here New

A huge library of guides, stories, interviews and tips for success

Themes

Hundreds of beautifully designed publication templates

Help center

Get help with product features and answers to common questions.

Integrations

Connect thousands of apps and services with your website

Product updates

All the latest changes and improvements to Ghost

Experts

Get help building your site from certified Ghost developers

About us

Learn more about the people behind the platform (We're hiring!)

Pricing

Sign in
Get Started β€” free

Close menu

For Creators

Join thousands of creators using Ghost to share their work

For Publishers

The platform for independent publishers

For Business

Content marketing for modern business

For Developers

Source code, documentation, guides and tutorials

Explore
Pricing
Marketplace
Themes
Integrations
Resources
Help center
Product updates
Developers
About us

Get Started β€” free

Existing customer?
Sign in

Tutorials Newsletter
5 min read
πŸ‘©β€πŸŽ¨ Build with Ghost: The art of the post template

Dive into Issue 8 of our Ghost development newsletter! Explore the art of crafting the perfect post template, discover the latest CSS updates, and journey with Thimira as he takes Ghost headless. Plus, tutorials on custom settings, sign-up forms, and more.

Welcome to Issue #8! Some of what we have in store:

* Our new tutorial shows you how to showcase your content by building the perfect post template

* Updates to CSS that will blow your mind 🀯

* Taking Ghost headless with Thimira

The art of the post template

It's the heart and soul of your theme. It's where authors bring their creative content to life, and where readers immerse themselves in these narratives.

It's the post template, and, in our latest tutorial, we cover everything you need to know to build one. We focus on the following:

* The basic anatomy of a post template

* Understanding the data available in the post context

* Steps to designing a captivating post header

* Bringing in your content

* Tips & tricks for creating a beautiful reading experience

Check it out πŸ‘‰

The art of the post template in Ghost
Creating gorgeous post layouts has never been easier in Ghost. Dive into our step-by-step guide to learn everything you need to know about creating a custom post template.
Tutorials Team Ghost

But wait! There's more.

We also released tutorials on using custom settings and building custom sign-up forms.

Custom settings are the ultimate power-up for Ghost themes
Want to elevate your Ghost theme? Dive into custom settings with this complete guide. Choose typefaces, color schemes, and more. Your theme, your rules!
Tutorials Team Ghost

πŸ‹οΈ
Pro tip: When adding custom settings to your theme, use the new description key to communicate the setting's purpose to your users

How to build custom sign-up forms in Ghost
Learn to create a custom sign-up form with Ghost. This guide covers all steps, including HTML integration, CSS styling, and user engagement strategies.
Tutorials Team Ghost

Did you know we have a YouTube channel ? Our most recent video includes a complete guide to using partials in Ghost. Don't forget to like and subscribe 😜

Just shipped 🚒

* Header cards got a massive upgrade, giving you more power to create beautiful pages and posts. (Header cards are full-width cards perfect for creating a division between sections or making a large call to action.)

* In the same spirit, it's now possible to hide the title and feature image for pages , making it possible to build radically different landing pages.

🚧
Custom theme developers will need to update their themes to support the new @page helper that makes toggling the title and feature image possible.

Ideas and tools πŸ› οΈ

* Meta recently launched Threads, its Twitter X competitor. Ahmad Shadeed took the launch as an opportunity to dive deeply into their CSS .

* Core Web Vitals is a set of Google metrics for measuring your site's user experience. Harry Roberts discusses their implications for SEO .

* Probably more than you want to know about using emoji on the web πŸ«₯ 🍾πŸͺ€

* View transitions (or incredibly cool ways of showing and hiding content) are coming to the browser. Get ahead of the curve on this new API.

* Animating on scroll used to be a JavaScript-only affair. No longer! Check out scroll progress animations in CSS .

Getting technical with Thimira

Thimira Thenuwara recently relaunched Android Wedakarayo , a Sinhala publication about technology based in Sri Lanka. The relaunch is notable because Thimira shifted to using Ghost headlessly, implementing a Nuxt frontend with Tailwind styling, oAuth sign-in, and Algolia search. We'll explain all of this in a minute, but let's start at the beginning.

Android Wedakarayo
By day, Thimira is a Deputy Manager of Finance for a group of companies in Sri Lanka. By night, certified Ghost Expert 🦸

His foray into Ghost development began when Android Wedakarayo transitioned from WordPress to Ghost. At first, the publication used stock Casper (always a good place to start). Here and there, Thimira began customizing it to suit the publication's needs, eventually developing a totally bespoke theme.

Before hacking on his Ghost theme, Thimira didn't know web development at all! He taught himself HTML, CSS, and JS and says, "The platform taught me the ropes of web design." He also had a great support network to help him: another Ghost Expert, Kasun Jayarathna , got him up to speed on Ghost, Srilal Sachintha taught him Linux servers, and his fiancΓ©e, Shenaya Hewagama, cheered him on throughout.

Ghost is truly a fantastic gateway to learning web development. The cost of entry is low and the payoff is high: a totally customized, beautiful publication. Just be careful because before you know it, you'll be building a headless Ghost site with Nuxt, Algolia, oAuth, and a handful of other custom features 😏 Let's talk about what all this means.

Running Ghost headlessly means using Ghost's API with a frontend other than Ghost's native theme layer. While it enables advanced functionality, headless is not the way to go for most users . Ghost's theme layer, for example, includes the metadata that optimizes your site for SEO. Going headless means you need to code that functionality yourself.

Using a framework like Nuxt (based on Vue ) for your frontend can ease some of the burden by providing plugins and packages to help you rebuild features from Ghost's theme layer.

Algolia is an advanced search-as-a-service. It can be used with any Ghost site, and we use it on our Tutorials site. Learn more about setting up Algolia on Ghost in our docs .

oAuth (open authorization) is a protocol that allows third-party apps to access user data without exposing user credentials. A common example, and the one Thimira implemented, is using Google or Apple to sign into a third-party website.

To see the whole thing in action, go check out Android Wedakarayo . We'd also be remiss if we didn't mention Thimira's Apple-inspired personal site , which has lots of clever animations.

Sites featured in the Build with Ghost newsletter are discovered through our creator network, Ghost Explore . It’s a way for creators and readers alike to discover their favorite new publications. Anyone running a Ghost site can add themselves to Explore to be featured throughout the wider Ghost ecosystem. If you’d like to be featured in this newsletter, add your site to Explore and reply to this email.

Thanks for building with us.

Have an idea for a Ghost tutorial? Reply to this email and let us know ❀️

Looking for other creators and developers working with Ghost? Join the official Ghost Forum , where we talk about all things Ghost!

On this page
Introduction

How was the tutorial?

Give us some feedback

Keep on learning

βœ… Remind me to change this title

5 min read

πŸ’Œ Build with Ghost: Email is changing in a big way

3 min read

🎁 Build with Ghost: Wrapped 2023

2 min read

πŸ“ Build with Ghost: Documentation incoming

4 min read

βž• Build with Ghost: Recommendations for the open web

5 min read

β¦Ώ Build with Ghost: Meet our new official theme

6 min read

πŸ₯― Build with Ghost: A partial guide to everything

5 min read

🧠 Build with Ghost: Do you know these essential concepts?

4 min read

πŸ—οΈ Build with Ghost: First steps for creating a custom theme

5 min read

πŸ’»Β Build with Ghost: Themes made easy

5 min read

πŸ“– 4 ways to build a read-next section in Ghost

4 min read

πŸ› How to debug your Ghost theme once and for all

3 min read

🏎️ Build Ghost themes more quickly with our new VS Code extension

5 min read

Be the first to know.

Join the Ghost developer community β€” sign up to get early access to the latest features, developer tools, and tutorials.

Subscribe

Email sent
Try again

No spam. Once a month. Unsubscribe any time.

Most helpful

Essential tutorials to get you started

Funda mentals

The basics of Ghost theme development

Level up

Next-level development techniques

Do more

Ideas & inspiration for whatever comes next

Docs
Content API
Help Center

Published with Ghost

Links found on this page

  1. For Creators YouTubers, bloggers, podcasters, musicians & artists [direct]
  2. For Publishers Writers, journalists, local news and new media outlets [direct]
  3. For Business Modern brands & companies with ambitious content marketing [direct]
  4. For Developers Source code, documentation, guides and tutorials [direct]
  5. Explore [direct]
  6. Marketplace Professional themes, custom integrations and qualified experts [direct]
  7. Start here New A huge library of guides, stories, interviews and tips for success [direct]
  8. Themes Hundreds of beautifully designed publication templates [direct]
  9. Help center Get help with product features and answers to common questions. [direct]
  10. Integrations Connect thousands of apps and services with your website [direct]
  11. Product updates All the latest changes and improvements to Ghost [direct]
  12. Experts Get help building your site from certified Ghost developers [direct]
  13. About us Learn more about the people behind the platform (We're hiring!) [direct]
  14. Pricing [direct]
  15. Sign in [direct]
  16. Get Started β€” free [direct]
  17. Developers [direct]
  18. Tutorials [direct]
  19. Newsletter [direct]
  20. The art of the post template in Ghost Creating gorgeous post layouts has never been easier in Ghost. Dive into our step-by-step guide to learn everything you need to know about cre [direct]
  21. Custom settings are the ultimate power-up for Ghost themes Want to elevate your Ghost theme? Dive into custom settings with this complete guide. Choose typefaces, color schemes, an [direct]
  22. description key to communicate the setting's purpose [direct]
  23. How to build custom sign-up forms in Ghost Learn to create a custom sign-up form with Ghost. This guide covers all steps, including HTML integration, CSS styling, and user engageme [direct]
  24. a YouTube channel [direct]
  25. Header cards [direct]
  26. to hide the title and feature image for pages [direct]
  27. new @page helper [direct]
  28. dive deeply into their CSS [direct]
  29. Harry Roberts discusses their implications for SEO [direct]
  30. using emoji on the web [direct]
  31. View transitions [direct]
  32. scroll progress animations in CSS [direct]
  33. Android Wedakarayo [direct]
  34. certified Ghost Expert [direct]
  35. Kasun Jayarathna [direct]
  36. headless is not the way to go for most users [direct]
  37. Nuxt [direct]
  38. Vue [direct]
  39. Algolia [direct]
  40. Tutorials [direct]
  41. Learn more about setting up Algolia on Ghost in our docs [direct]
  42. Thimira's Apple-inspired personal site [direct]
  43. Ghost Explore [direct]
  44. official Ghost Forum [direct]
  45. Introduction [direct]
  46. βœ… Remind me to change this title 5 min read [direct]
  47. πŸ’Œ Build with Ghost: Email is changing in a big way 3 min read [direct]
  48. 🎁 Build with Ghost: Wrapped 2023 2 min read [direct]
  49. πŸ“ Build with Ghost: Documentation incoming 4 min read [direct]
  50. βž• Build with Ghost: Recommendations for the open web 5 min read [direct]
  51. β¦Ώ Build with Ghost: Meet our new official theme 6 min read [direct]
  52. πŸ₯― Build with Ghost: A partial guide to everything 5 min read [direct]
  53. 🧠 Build with Ghost: Do you know these essential concepts? 4 min read [direct]
  54. πŸ—οΈ Build with Ghost: First steps for creating a custom theme 5 min read [direct]
  55. πŸ’»Β Build with Ghost: Themes made easy 5 min read [direct]
  56. πŸ“– 4 ways to build a read-next section in Ghost 4 min read [direct]
  57. πŸ› How to debug your Ghost theme once and for all 3 min read [direct]
  58. 🏎️ Build Ghost themes more quickly with our new VS Code extension 5 min read [direct]
  59. Most helpful Essential tutorials to get you started [direct]
  60. Funda mentals The basics of Ghost theme development [direct]
  61. Level up Next-level development techniques [direct]
  62. Do more Ideas & inspiration for whatever comes next [direct]
  63. Content API [direct]
  64. Ghost [direct]