spress-add-ons / directive-theme
Directive theme for Spress
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 1
Language:CSS
Type:spress-theme
Requires
- spress/spress-installer: 2.0.*
This package is auto-updated.
Last update: 2024-11-13 04:26:58 UTC
README
Directive is a ported theme to Spress design by HTML5 UP.
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
- 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
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