Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Directive theme for Spress

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

You can’t perform that action at this time.