dmf/seotool 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dmf/seotool

Composer 安装命令:

composer require dmf/seotool

包简介

SeoTool provides meta information and additional title properties for navigation.

README 文档

README

This plugin provides some useful NodeType properties for pages. Navigation labels, link titles and some meta content like description and canonical tags will be provided.

Installation

Clone this repository into your application folder:

* cd ROOT/Packages/Application
* git clone git@github.com:dohomi/Neos-Plugin-DMF.SeoTool.git DMF.SeoTool

Then check if the plugin needs to get activated inside of your package management. Check if the plugin is listed:

./flow package:list
./flow package:activate dmf/seotool

Use of this plugin

You will see additional fields inside of your page properties. You can fill them out and after this you need to adjust your Root.ts2 inside of your site package

page = Page {
    head {
        (...)
        titleTag < DMF.SeoTool:PageTitle

        metadata < DMF.SeoTool:MetaContent

        canonicalReference < DMF.SeoTool:Canonical
        canonicalReference.alwaysInclude = 1
    }

    body {
        (...)
        content {
            (...)
            websiteTitle =  ${q(node).filter('[instanceof TYPO3.Neos.NodeTypes:Page]').property('websiteTitle')}
        }
    }
}

Inside of your page template you can include the websiteTitle like following sample code:

<f:if condition="{content.websiteTitle}">
    <h1 class="page-header">{content.websiteTitle}</h1>
</f:if>

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-10-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固