Directive theme for Spress
Directive is a ported theme to Spress design by HTML5 UP., (*1)
Live demo., (*2)
This theme requires Spress >= 2.0. If you are using Spress 1.x, go to 1.0.0 version of the theme., (*3)
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
- Fork this repository
- Clone it: ` https://github.com/YOUR-USER/Directive-theme.git
- Go to
Directive-theme
folder
- Run
spress site:build --server --watch
Configuration
This theme supports top and bottom menus. To configure, you can edit
top_menu
and bottom_menu
options from the config.yml
:, (*4)
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 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., (*5)
By default, Disqus comments are enabled. If you want a post without comments, set
the comments
attribute to false
at the Front matter block:, (*6)
---
comments: false
---
License
Free for personal and commercial use under the CCA 3.0 license, (*7)