šŸ„Æ Build with Ghost: A partial guide to everything

Welcome to issue #7! Seven is the most popular lucky number in the world, so this issue is packed with a whole lot of good fortune :fortune_cookie:

Hereā€™s what else this issue includes:

  • Build beautiful themes with three new tutorials to help you
  • Grow engagement with new signup cards and embeddable forms
  • Gain insights from Erin Mikail Staples, a renowned developer advocate, tech educator, and comedian, as she shares the secrets behind her vibrant, stylish Ghost site

Pro tip: Bring up the card menu in the editor by typing / on a new line. Start typing to filter card types and quickly find the one you want :flower_playing_cards:

Use partials to simplify your theme development

Partials are an essential tool for quick, maintainable theme development. These partial templates encompass bits of code that you can use throughout your theme. Typical use cases include cards, CTAs, headers, navbars, or any other elements you find yourself using repeatedly. (Those links all point to real-world examples in official Ghost themes.)

Our new tutorial lays out everything you need to know about partials, from the very basics to advanced properties. In particular, we use a partial to create a card for a fictional music publication, Of Record, and walk through every line of code that makes it work.

Example of a partial. A card with a young woman looking at records and the title and author byline of the article

This tutorial complements two others we just released:

Just shipped :ship:

Weā€™ve recently shipped two related, exciting features: signup cards and embeddable signup forms.

Signup cards, available to users on the beta editor, give you new ways to grow your audience. Add them to a post by selecting the Signup card from the card menu or by typing / on a new line. Customize the card to fit your publication.

Important note for theme developers. Signup cards require updates to a themeā€™s CSS to display properly. In particular, cards that are full-width or have a split layout with a contained image add a kg-content-wide class that requires styling. Additionally, the container for post content may also need to be updated. See our docs for more info. All official themes have been updated, so they are also a great resource for understanding these changes.

Whereas signup cards are for use across your Ghost publication, embeddable signup forms can be used anywhere on the web. Customize the form and use the provided code to grow your audience on any platform.

Ideas and tools :hammer_and_wrench:

Erin Mikail is here for the rise of the personal blog (again)

Erin Mikail's personal website with a bright pink background and cards with posts, twitter info, description, and more

As the Sr. Developer Community Advocate at HumanSignal, Erin empowers the open-source community behind the Label Studio project. Working from NYC, Erin creates educational materials like tutorials, speaks at events, runs workshops, and maintains community channels to improve user experience.

While doing all of that, Erin also has a kick-ass Ghost site! Itā€™s rocking a slightly modified version of the Groovy theme, which showcases some clever uses of partials and an engaging index template.

Erin has been on Ghost for a while because, as an open-source platform, it provides flexibility and control over content and appearance. Also, the fact that Ghost is a nonprofit aligns with Erinā€™s values. She says, ā€œGhost.org offers a genuine commitment to the public good rather than focusing on creating profits for shareholders. They reinvest their revenue into their platform, continually improving and upgrading. This has given me the confidence that they truly value their community, not a group of external investorsā€ :heart:

A cute dog at a desk doing important work

Meet Erinā€™s coding partner, Q

If Erin could pass on one bit of advice when working with Ghost, itā€™s not to be afraid to ask for help. Ghostā€™s Forum and GitHub are open and responsive. Theyā€™re full of people willing to help. Erin says she has found the answer she needed on the Forum too many times to count.

done > perfect

And, when possible, Erin says to remember that done is better than perfect. Rather than letting posts linger as drafts, ā€œembrace the joy of constantly improving and being a work in progress.ā€ Amen!

:point_right: Follow Erin (and Q) on the web


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? Let us know!

6 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.