apostrophe-seo:针对ApostropheCMS的SEO

时间:2021-05-03 20:16:28
【文件属性】:
文件名称:apostrophe-seo:针对ApostropheCMS的SEO
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-03 20:16:28
seo hacktoberfest apostrophecms JavaScript 撇号 SEO配置。 将有用的meta字段添加到所有页面和片段。 安装 npm install apostrophe-seo --save 用 1.初始化 在app.js配置apostrophe-seo 。 const apos = require ( 'apostrophe' ) ( { shortName : 'project' , modules : { 'apostrophe-seo' : { } } } ) ; 设置baseUrl 出于各种原因,在ApostropheCMS应用程序上很重要。 在SEO模块中,它有助于构建正确的canonical链接标签URL,并允许访问SEO页面扫描模式。 可以在app.js的主应用程序配置(静态或使用环境变量)或因为该文件将包含特定于环境/服务器的配置。 // in app.js require ( 'apostrop
【文件预览】:
apostrophe-seo-main
----.eslintrc(29B)
----public()
--------js()
--------css()
----views()
--------seoScanModal.html(4KB)
--------view.html(1KB)
--------notFound.html(281B)
--------head-snippet.html(509B)
--------body-snippet.html(337B)
----.circleci()
--------config.yml(573B)
----lib()
--------assets.js(248B)
--------modules()
--------routes.js(1KB)
--------api.js(6KB)
----LICENSE.md(1KB)
----README.md(6KB)
----.editorconfig(167B)
----.gitignore(55B)
----index.js(1021B)
----CHANGELOG.md(2KB)
----package.json(974B)

网友评论