当前位置: 首页 > 软件库 > Web应用开发 > >

jekyll-paginate

授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 池恩
操作系统 未知
开源组织
适用人群 未知
 软件概览

Jekyll::Paginate

Default pagination generator for Jekyll.

Installation

Add this line to your application's Gemfile:

gem 'jekyll-paginate'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-paginate

Usage

Once the gem is installed on your system, Jekyll will auto-require it. Just set the following configuration

Contributing

  1. Fork it ( http://github.com/jekyll/jekyll-paginate/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
  • 在使用jekyll搭建免费个人博客的时候出现的一些问题 错误一:cannot load such file – jekyll-paginate Dependency Error: Yikes! It looks like you don’t have jekyll-paginate or one of its dependencies installed. In order to use Jeky

  • 错误1 Dependency Error: Yikes! It looks like you don’t have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you’ll need to install this gem. The ful

  • 系列文章传送门: 之前已经介绍了如何搭建环境和如何创建整个博客项目,并编写了博文,这篇文章主要就是介绍分页功能如何通过jekyll实现。 前言 一个博客不可能只有几篇文章,如果所有文章全部放在一个页面中,在文章不多的情况下也许较为直观,一旦文章数量增加,不仅加大了用户需要加载的数据量,也为用户检索文章造成了障碍,所以基本上每个博客都会有文章的分页。一般的分页都是通过像JSP的模板引擎直接在从数据库

  • 安装Jekyll分页功能 检测自己是否已经安装了该分页插件. sudo gem install jekyll-paginate 分页设置 在_config.yml中进行设置 # 分页 gems: [jekyll-paginate] # 每页有几个项目 paginate: 5 paginate_path: "page/:num/" 分页处理 因为冲突的问题,所以下面显示的代码,{ % 此处均多了

  • 分页功能 对于大多数网站(尤其是博客),当文章越来越多的时候,就会有分页显示文章列表的需求。 Jekyll 已经自建分页功能,你只需要根据约定放置文件即可。 但是有一些缺陷,就是category,tag的分类分页无法实现,必须通过插件的方式来做。 重点来了! 几番周折,几番折腾,终于实现分类分页,此时我内心控制不住的激动开始井喷般爆发! 先试想一下,假如我实现分类分页了,jekyll-pagina

 相关资料
  • Jekyll 是一个简单的免费的Blog生成工具,类似WordPress。但是和WordPress又有很大的不同,原因是jekyll只是一个生成静态网页的工具,不需要数据库支持。但是可以配合第三方服务,例如discuz。最关键的是jekyll可以免费部署在Github上,而且可以绑定自己的域名。 快速安装指令: gem install jekylljekyll new my-awesome-sit

  • Jekyll::Paginate V2 ⚠️ Please note that this plugin is NOT supported by GitHub pages. Here is a list of all plugins supported. However you can follow this GitHub guide to enable it or by using Travis

  • 中文网站 jekyllcn 快速开始 ~ $ gem install jekyll bundler ~ $ jekyll new my-awesome-site ~ $ cd my-awesome-site ~/my-awesome-site $ bundle install ~/my-awesome-site $ bundle exec jekyll serve # => 打开浏览器 http

  • jekyll-admin 是一个 jekyll 插件,为用户提供了传统 CMS(内容管理系统)风格的图形化界面来创作内容和管理 jekyll 网站。 该项目分为两部分。基于 Ruby 的 HTTP API 处理 jekyll 和文件系统的操作部分,以及在这个 API 基础上的基于 JavaScript 的前端部分。 安装: 就像安装其他插件一样,请参阅 jekyll 文档的插件安装部分安装 jek

  • Jekyll的增强版,使用Markdown来写日志。 Jekyll采用静态文件方式管理,不需要数据库即可支持一个独立博客站点,在github-pages平台上被普遍采用。Jekyll-Bootstrap在Jekyll基础上,集成了twitter-bootstrap界面风格和一些实用的插件,并且易于扩展。

  • Jekyll Docker Jekyll Docker is a software image that has Jekyll and many of its dependencies ready to use for you in an encapsulated format. It includes a default set of gems, different image types wi