Giter Site home page Giter Site logo

dohomi / neos-plugin-dmf.seotool Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 296 KB

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.

License: GNU General Public License v3.0

neos-plugin-dmf.seotool's Introduction

Neos-Plugin-DMF.SeoTool

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 [email protected]: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>

neos-plugin-dmf.seotool's People

Contributors

dohomi avatar

Stargazers

Jöran Kurschatke avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.