geoffselby / puzzle-plain-preset
A mostly blank slate for Jigsaw sites powered by Tailwind CSS
Installs: 21
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.2
- v1.0.1
- 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/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/acorn-6.4.1
- dev-dependabot/npm_and_yarn/mixin-deep-1.3.2
This package is auto-updated.
Last update: 2025-03-29 00:57:37 UTC
README
This is a mostly blank slate, starter template for creating a site in Jigsaw and Tailwind CSS with minimal effort.
Installation
If using Puzzle CLI, this is the default preset. That means you can just run:
puzzle new my-site
You can be explicit if you want:
puzzle new my-site --preset plain
If you are intalling Jigsaw manually, after installing Jigsaw, run the following command from your project directory:
./vendor/bin/jigsaw init geoffselby/puzzle-plain-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
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' => 'Home', ], [ 'link' => '/about', 'title' => 'About', ], [ 'link' => '/contact', 'title' => 'Contact', ], ... ];