定制 jflepp/picofiletime 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jflepp/picofiletime

Composer 安装命令:

composer require jflepp/picofiletime

包简介

A plugin for Pico to set the page creation date from the last write of the file

README 文档

README

A pico plugin to take the creation date from the file last write time.

Features 100% test coverage (without wrappers and connectors)

Pull requests welcome!

Installation

Install via composer composer require jflepp/picofiletime

Usage in themes

{% for page in pages %}
    <li>{{ page.id }} - <a href="{{ page.url }}">{{ page.url }}</a> - {{ page.meta.creation_date }}</li>
{% endfor %}
{{ current_page.meta.creation_date }}

Configuration

PicoFileTime provides no additional configuration, but you can use Picos inbuilt configuration to sort pages according to their creation date:

pages_order_by_meta: creation_date
pages_order_by: meta
pages_order: desc

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: unlicense
  • 更新时间: 2018-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固