geoffselby / puzzle-blog-preset
A minimal blog preset template for Jigsaw sites powered by Tailwind CSS
Installs: 51
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 23
Language:CSS
Requires
- samdark/sitemap: ^2.2
- tightenco/jigsaw: ^1.3
- dev-master
- v1.0.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/engine.io-and-browser-sync-6.2.1
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/socket.io-parser-and-browser-sync-4.2.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/tar-4.4.19
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/highlight.js-10.4.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/acorn-6.4.1
This package is auto-updated.
Last update: 2025-03-29 00:29:26 UTC
README
A minimal blog preset template for Jigsaw sites powered by Tailwind CSS.
Installation
If using Puzzle CLI, pass the --preset
flag with a value of blog:
puzzle new my-site --preset blog
If you are intalling Jigsaw manually, after installing Jigsaw, run the following command from your project directory:
./vendor/bin/jigsaw init geoffselby/puzzle-blog-preset
This starter template comes with the following.
- Tailwind CSS V1.0 pre-installed and configured
- Purgecss to remove unused selectors from your CSS, resulting in smaller CSS files
- A script that automatically generates a
sitemap.xml
file - A custom 404 page
Where do my blog posts go?
All posts live in source/_posts
. The easiest way to start a new post is to copy one of the sample posts and make your changes.
Configuring Navigation
In order to keep the navigation easily configurable, it is managed via your sites config as illustrated in this blog post. To configure your navigation, open navigation.php
from the root directory. Each array is a link in you navigation.
The only required keys are link
, the uri for the page, and title
, the display title of the link.
// navigation.php return [ [ 'link' => '/', 'title' => 'Blog', ], [ 'link' => '/about', 'title' => 'About', ], [ 'link' => '/contact', 'title' => 'Contact', ], ... ];