从零制作ghost主题-开篇

以开发模式启动ghost cd yourghostpath ghost start --development # 如果你已经启动了ghost,但不是开发模式,你可以用ghost stop来结束ghost 建立主题目录 首先主题的开发环境是nodejs,所以要我们要先用nodejs构建一个项目,比如我们的项目是example: cd yourghostpath/content/themes mkdir example cd example npm init 按照提示建立好基本的package.json,ghost主题最少的要求是有2个文件:index.hbs和post.hbs,这里hbs文件是handlerbars文件,它是一个模板引擎,而ghost只支持用handlerbars,

梁文道·一千零一夜·儒学

儒家的个人始终和我们习惯的西方个人主义是不一样的观念,更加不是西方的自由主义的那套东西,儒家的个人始终是一个在社会之中的人,儒家的每一个人,每一个个体都是社会中的人,他必然是一个家庭的成员,他是一个社区邻里中的一分子,他是一个国家的一员,更是世界公民群体中的一员,更是大自然万物中的一员,每一个个人,都跟身边所有这些东西是密切联系起来的,他不是一个独立的绝对的,以己为本的一个个体。 儒家特别讲究关系,要讲究名分,要讲究名位,所以我们才会听过另外一句很有名的话,叫做不在其位不谋其政,然后不在其位呢,甚至不能够作礼乐,这么听起来,儒家又好像很权威,就好像你这个人,你站在一个高位,你当领导,那你就能够说话算数,能作礼乐了,你不是领导你管那么多国家时事管那么多天下大事干什么,怪怪的种好你的地做好你的小买卖不就得了,不完全是这样,因为你还要反过来看,孔子还说什么了呢?

Welcome to Ghost

Welcome, it's great to have you here. We know that first impressions are important, so we've populated your new site with some initial getting started posts that will help you get familiar with everything in no time.

Writing posts with Ghost ✍️

Getting started with the editor is simple, with familiar formatting options in a functional toolbar and the ability to add dynamic content seamlessly.

Publishing options

The Ghost editor has everything you need to fully optimise your content. This is where you can add tags and authors, feature a post, or turn a post into a page.

Managing admin settings

There are a couple of things to do next while you're getting set up: making your site private and inviting your team.

Organising your content

Ghost has a flexible organisational taxonomy called tags which can be used to configure your site structure using dynamic routing.

Apps & integrations

There are three primary ways to work with third-party services in Ghost: using Zapier, editing your theme, or using the Ghost API.

Creating a custom theme

Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be easily adapted for most purposes.