Orchard Core入门配方和主题
包含Orchard Core入门配方和主题
可以通过两个不同的NuGet包使用Orchard Core。
- OrchardCore.Application.Cms.Core.Targets
- OrchardCore.Application.Cms.Targets
第一个包 OrchardCore.Application.Cms.Core.Targets 在下面情况下使用:
- 开发一个解耦的、隔离的网站
- 开发一个屋头的网站
- 从头开发主题网站
包Core.Targets包含安装Orchard Core所需的最低要求。它包含管理员主题和两个安装所依据的方法,但没有前端主题。
提示
建立网站时未启用的任何功能,可以在站点建立后通过配置à功能 菜单启用。
第二个包 OrchardCore.Application.Cms.Targets 除包含上述功能外,还包含另外两个:
- 通过后台功能配置主题。
- 多个CMS 主题
Orchard Core中的后台功能通过启用功能、创建网站的内容类型和内容来帮助您设置网站。
Orchard Core 主题可以包含Razor or Liquid 视图,并且默认使用Orchard Core 展示管理技术渲染内容。
OrchardCore.Application.Cms.Core.Targets
空配方
空配方启用内容管理功能,但不设置当前主题。在解耦模式下启动Orchard Core或构建自己的主题时,您可以使用此配方。
或者,你可以用另一个配方开始,或者建立站点后更改当前主题。
空配方包含内容:
- 内容管理功能
- 通过Liquid启用模板
- 激活后台管理的主题
Headless配方
当你用Orchard Core 作为API和CMS时,Headless配方可以用来以管理员身份访问主机,引导你开始。
Headless 配方包含内容
- 内容管理功能
- 安全的GraphQL API 支持
- OpenID 验证功能
- 激活后台管理的主题,并设置Admin作为根路径。
提示
你需要检查默认的安全配置,以确保它符合您的要求。
OrchardCore.Application.Cms.Targets
Blog主题和Blog配方
博客配方设置了一系列的内容类型、小部件、初始内容,并将当前主题设置为博客主题。
博客主题基于 Start Bootstrap Clean Blog Theme
Blog 配方内容
- 内容管理功能
- 博客关联的内容类型和Widget
- 基于ListPart的博客和第一篇博客文章一个
- Liquid templates, in the TheBlogTheme source code
- Bootstrap
Agency主题 和 Agency 配方
Agency配方设置了一系列的内容类型、小部件、初始化内容并设置当前主题为Agencytheme.
Agency主题基于 Start Bootstrap Agency Theme
Agency 配方内容
- Content management features
- Agency related Content types, and widgets
- A LandingPage, based on the
BagPart - Liquid templates, in TheAgencyTheme source code, and Templates feature
- Bootstrap
ComingSoon 配方和ComingSoon主题
配方设置了一系列的内容类型、小部件、初始化内容并设置当前主题为TheComingSoonTheme. 它还包含Email, Recaptcha, Forms, Workflows and User Registration Forms.
TheComingSoon主题基于 Start Bootstrap Coming Soon Theme
ComingSoon Recipe Contents¶
- Content management features
- A Coming Soon landing page, using the the
FlowPart, and formWidgets - Liquid layout template, in TheComingSoon Source Code
- Liquid content templates stored in the database with the Templates features
- Bootstrap
SaaS Recipe with TheTheme
The Saas recipe 包含软件即服务多租户配置。
它配置了站点使用的主题并且你可以使用其他的配方创建租户。
Saas Recipe Contents
- 多租户特征
- Razor页面和使用bootstrap and jQuery的布局
Creating your own recipe
你可以创建自己的配方用于部署你的Orchard Core网站。
查看 Recipes 文档了解更多的信息。

浙公网安备 33010602011771号