Spresso is a simple theme for Spress based on Bootstrap 3. The content is organized in one central column. Spresso is the basic theme for Spress.
See a demo.
- Responsive design: Support to mobile and tablets.
- Disqus comments on your posts.
- Support to Twitter Cards and Facebook Open Graph.
- Top and bottom menu.
- Social networks link at the footer.
- Support to Google and Bing site validation.
- Code snippets highlight.
- Sitemap and RSS feed.
Go to your Spress installation folder and add the following to your composer.json
and run composer update
:
"require": {
"yosymfony/spress-theme-spresso": ">=1.0,<2.0-dev",
}
Create a new site:
$ spress site:new /your-site-dir spresso
Spresso support 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 are powered by Disqus and it need your disqus shortname. To get it, you need create a account at this service. It's free.
By default, Disqus comments are enabled. If you want a post without comments, set
the comments
variable to false
at the Front-matter of the post:
---
comments: false
---