承接 reh/kirby-seo-preview-section 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

reh/kirby-seo-preview-section

Composer 安装命令:

composer require reh/kirby-seo-preview-section

包简介

Configurable & interactive SEO preview section for the Kirby 3 Panel.

README 文档

README

GitHub release License Kirby Version_3

Configurable & interactive SEO preview section for the Panel in Kirby 3+.

seo-preview-section

Installation

Choose one of the following installation methods:

Manually

Download and copy this repository to /site/plugins/seo-preview-section.

Git submodule

git submodule add https://github.com/REHvision/kirby-seo-preview-section.git site/plugins/seo-preview-section

Composer

composer require reh/kirby-seo-preview-section

Setup

After installing this plugin, you can add the seopreview section to your blueprints.

The easiest way to use it in multiple page blueprints is a tab blueprint (e.g. site/blueprints/tabs/meta.yml):

# site/blueprints/tabs/meta.yml

label: SEO
icon: search
columns:

  - width: 1/2
    fields:

      metatitle:
        label: Meta title
        type: text

      metadescription:
        label: Meta description
        type: textarea

  - width: 1/2
    sections:

      seopreview:
        type:                seopreview

#       options:             defaults:
        headline:            SEO preview

        titleField:          metatitle        # field key reference
        defaultTitle:        page.title       # query (e.g: page.myCustomSeoTitle)
        separator:           " "
        baseTitle:           site.title       # query (e.g. site.metatitle)

        descriptionField:    metadescription  # field key reference
        defaultDescription:  page.text        # query (e.g: page.text.blocks.html when using the editor)

that can be reused in the tab definition of site and any page blueprints:

tabs:

    # just use meta.yml
    meta: tabs/meta

    # or extend/overwrite it in this blueprint/template
    meta:
        extends: tabs/meta
        defaultDescription: page.text.blocks.html

NOTE: This plugin only provides a preview and does not generate any meta tags!

So make sure to wire the fields you use for meta tag generation and that the output of the preview mimics your actual meta tags!

Status & Development

STATUS:

first public release (only yet tested with Kirby 3.3.1 in single-language setup)

IMPORTANT:

Although this plugin should not be able to break anything, please always test it in your dev-environment before using it in production!

FEEDBACK:

I'm happy to receive feedback (bugs, optimization suggestions or in general)

TODO:

  • Add composer compatibility
  • Test with multi-language setups
  • Document the plugin options
  • Add instructions on how to help working on the plugin

License

MIT

统计信息

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

GitHub 信息

  • Stars: 19
  • Watchers: 3
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固