jekyll-tagging

jekyll-seo-tag

为搜索引擎和社交网络添加元数据标签。

jekyll-sitemap

Jekyll 插件为您的 Jekyll 站点静默生成符合 sitemaps.org 的站点地图

jekyll-redirect-from

为页面或文章设定重定向,多个链接重定向到当前页面或文章。

使用方法

  • 访问 redirect_from 中链接时自动重定向跳转到当前页面,只支持相对路径。
  • redirect_to 为当前页面要跳转到的页面,支持相对路径和绝对路径。

一个链接重定向到该页面

title: New post
redirect_from: /post/123456798/

多个链接重定向到该页面

title: New post
redirect_from:
  - /post/123456789/
  - /post/123456789/my-amazing-post/

当前页面重定向到指定页面

title: Old post
redirect_to: http://www.github.com

jekyll-polyglot

内容多语言支持,在页面标记内容不同语言的链接。

使用无效:4.3.0

这个Jekll插件为你的内容中的外部链接添加自定义属性(rel=”nofollow”, target=”_blank”, 等等)。

jekyll-feed

生成Jekyll帖子的原子 (类RSS) 提要。

jekyll-import

从各种博客导入到Jekyll中。

jekyll-archives

为您的Jekyll标签和类别存档页面。

jekyll-category-pages

该插件添加了带分页和不带分页的类别索引页面。

  • 具体用途:
    • 易于设置和使用,与默认分页插件完全兼容(另请参阅 官方文档)。
    • 支持带有空格和其他特殊字符的类别键。
    • 完整的文档和使用示例。
    • 测试关键功能的覆盖率。
    • 类别索引页面是根据可定制的模板生成的。

jekyll-admin

本地的 Jekyll 后台GUI

amp-jekyll

Build Accelerated Mobile Page versions of your Jekyll posts

jekyll-minifier

利用yui-compressor和htmlcompressor的Jekyll HTML/XML/CSS/JS Minifier

jekyll-target-blank

在新窗口或新标签打开Jekyll页面、帖子和文档的外部链接。

Jekyll Titles from Headings

未指定标题时,自动提取 Markdown 中的标题(h1\h2\h3)

文件完成插件功能

  • 暂无

模板实现插件功能

使用 replace 方法将页面链接添加 rel=”nofollow” 属性和 target=”_blank” 属性

使用无效:4.3.0

  1. 打开 _layouts 目录中的 default.html 文件
  2. 替换 {{content}} 代码,下面有两个方案,可二选一

只增加 rel="nofollow noopener noreferrer"

{{ content | replace: '<a href="http', '<a rel="nofollow noopener noreferrer" href="http' }}

增加 nofollow 标记和设置为新窗口打开 rel="nofollow noopener noreferrer" target="_blank"

{{ content | replace: '<a href="http', '<a rel="nofollow noopener noreferrer" target="_blank" href="http' }}

jekyll plugins 相关资源站点索引

Github Pages 支持的 Jekyll 插件

相关


回到顶部

Copyright © 2017-2024 1px.run (像素教程) Distributed by an MIT license.

Site updated at 2024-04-23 12:45