定制 spress-add-ons/directive-theme 二次开发

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

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

spress-add-ons/directive-theme

最新稳定版本:v2.0.1

Composer 安装命令:

composer require spress-add-ons/directive-theme

包简介

Directive theme for Spress

README 文档

README

Directive is a ported theme to Spress design by HTML5 UP.

Live demo.

This theme requires Spress >= 2.0. If you are using Spress 1.x, go to 1.0.0 version of the theme.

Features:

  • Responsive design: Support to mobile and tablets.
  • Top and bottom menu.
  • Social networks link at the footer.
  • Sitemap and RSS feed.

How to install?

Download a copy

  • Get a copy of the latest release.
  • Uncompress it.
  • Go to Directive-theme folder
  • Run spress site:build --server --watch

Using Git

Configuration

Menus

This theme supports top and bottom menus. To configure, you can edit top_menu and bottom_menu options from the config.yml:

top_menu:
    - { name: Home, url: / }
    - { name: About, url: /about }

    # To generate a absolute URL using site.url value:
    - { name: Docs, url: /docs, site_url: true}
    
bottom_menu:
    - { name: Your link, url: https://your-url }

Comments

Comments are powered by Disqus and they need a disqus shortname. To get it, you need to create an account at this service. It's free.

Disable comments

By default, Disqus comments are enabled. If you want a post without comments, set the comments attribute to false at the Front matter block:

---
comments: false
---

License

Free for personal and commercial use under the CCA 3.0 license

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-30