m12/neos-plugin-blog

为 TYPO3 Neos 网站提供的简单博客插件

安装: 682

依赖项: 0

建议者: 0

安全: 0

星标: 2

关注者: 3

分支: 12

类型:typo3-flow-plugin

0.3.2 2014-10-24 22:19 UTC

This package is not auto-updated.

Last update: 2024-09-24 02:01:28 UTC


README

这是一个基于节点博客插件的 TYPO3 Neos 网站。它基于 robertlemke/RobertLemke.Plugin.Blog 的工作 - 感谢!

功能

  • 博客文章 页面类型(M12.Plugin.Blog:Post)
  • 博客文章概览 插件用于创建博客文章索引(M12.Plugin.Blog:PostPlugin),具有两种模式
    • index:渲染博客文章列表,带有分页
    • latest:渲染最新博客文章
  • 集成 Disqus 评论

快速开始

  • 将插件路由定义包含到您的 Configuration/Routes.yaml 文件中
    
    
  • name: 'M12.Plugin.Blog' uriPattern: '' subRoutes: M12PluginBlogSubroutes: package: M12.Plugin.Blog

* install plugin using
    ```bash
composer require m12/neos-plugin-blog:*
    ```

* add new post by adding new 'Blog Post' page in your page tree
* add the plugin 'Blog Post Overview' to the position of your choice to render post list.
    * set _Posts source node_ to node containing blog posts. This step is only required if the plugin node is put somewhere else, not on the node containing blog posts.

## Configuration

For a complete list of config options, see plugin's [Configuration/Settings.yaml](Configuration/Settings.yaml) file.

### Disqus integration

If you'd like to use [Disqus](http://disqus.com/) comments system, you need to configure it. Simply add to your global Configuration/Settings.yaml:

```yaml
M12:
  Plugin:
    Blog:
      disqus:
        enabled: TRUE
        shortname: 'registered-disqus-shortname'

RSS 提要配置

在全局配置 Configuration/Settings.yaml 中配置,通过添加

M12:
  Plugin:
    Blog:
      feed:
        uri: '/blog.rss.xml'
        postsLimit: 20
        title: 'TYPO3 Neos Blog'
        description: 'Blog powered by TYPO3 Neos'
        defaultAuthor: 'Wawel Dragon'