惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
IT之家
IT之家
V
Visual Studio Blog
The Cloudflare Blog
博客园 - 司徒正美
Jina AI
Jina AI
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
S
SegmentFault 最新的问题
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
博客园 - Franky
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Example blog

Ghost routing explained with routes.yaml examples — routes, collections & taxonomies Ghost redirects explained with practical redirects.yaml examples How to Serve JSON or XML Data in Ghost How to Change Your Default Post Template in Ghost Ghost Custom Theme Settings How to add Google Fonts to Ghost Themes How to Configure Ghost with Mailgun Ghost Theme Structure & Organization How to Make Custom Templates in Ghost Themes How to Install Ghost CMS via Ghost-CLI How to Add Syntax Highlighting to Ghost The best Ghost CMS hosting platforms Ghost 6.0 — Social Web and Native Ghost Analytics Ghost CMS Social web beta, email 2FA and more author social links How to keep custom design settings when updating your Ghost theme How to use the public preview card in Ghost How to add members-specific sections in Ghost How to customize the default content CTA in Ghost How to build a custom homepage in Ghost An overview of Ghost editor cards and and how they work Ghost CMS News: One-time payments & collecting sales tax How to customize the private site access template in Ghost How to add custom fonts in Ghost themes Ghost CMS News: Additional payment methods & internal linking How to use Code Injection in Ghost How to set meta data of your custom routes & collections in Ghost Ghost CMS News: TK reminders, ActivityPub and improvements How to format dates and use the date helper in Ghost Ghost CMS internationalization, custom fonts & spam protection Understanding and optimizing post and page settings in Ghost CMS
Ghost CMS News: Google Pay support, email newsletters & s...
Bright Themes · 2021-01-01 · via Example blog

Latest Ghost CMS news and updates.

New theme helpers

3 new handlebars helpers have been added:

  • link - is a block helper that creates links with dynamic classes

Basically it will create an anchor element that wraps around any kind of string or HTML. Link is capable of handling all valid anchor attributes in HTML. The href attribute must be included (otherwise an error is thrown), other options that you can use is class, target, onclick and in fact link can handle all valid anchor attributes. You can even use hbs variable as attributes. Exemple:

{{#link href=@site.url}}Home{{/link}}
  • link_class - add dynamic classes to elements

This helper adds dynamic classes depending on the currently viewed page. If the page slug (e.g. /about/) matches the value given to the for attribute the helper will output a nav-current class. A for value must be provided.

  • concat - concatenate multiple things together such as template values and string

This helper will take all of the items passed to it, treat them as strings, and concatenate them together without any spaces. There can be an unlimited amount of items passed to the helper. You can pass strings, variables and other helpers as well.

More about new theme helpers ⟶

Payments with Google Pay

Readers have now the possibility to subscribe to a premium plan and support your creative work using Google Pay. All Ghost members sites now have Google Pay support via the integration with Stripe.

More about google payments

Email newsletters (beta)

It's now possible to send email newsletters directly from Ghost. Save time, keep everything in one place and let your subscribers know when you've published new content in a couple of clicks. When you go to publish a post, you can also deliver it directly to your members via email, you can also set a custom subject line, see a preview, and send yourself a test email before actually publishing to make sure everything is right. Emails are automatically targeted based on your post access level, so if you set a post to be 'Paid Members Only' then it will only be emailed to the paying subset of your audience.

More about email newsletters

Secondary Navigation

Ghost Admin now supports secondary navigation, making it fast and simple to add or update links to your site's navigation menus. Go to the Design settings page in Ghost Admin to add your secondary navigation links. Of course your theme has to support this feature for you to see any difference on the site.

More about secondary navigation

Subscription management

Your members can now self-manage subscriptions for any membership publication built with Ghost with the following options being available:

  • cancel subscription
  • continue billing (to reactivate it)

More about subscription management