A clean minimalist theme for Jekyll using TailwindCSS that includes:
Add this line to your Jekyll site's Gemfile
:
gem "blogtheme"
And add this line to your Jekyll site's _config.yml
:
theme: blogtheme
And then execute:
$ bundle install
The theme uses Docker for development to ensure a consistent environment across different machines.
Install dependencies:
npm install
Build the Docker image:
npm run docker:build
Start the development server:
npm start
# or
npm run dev
This will start the development server with live reload at http://localhost:4000
Build and start Docker container:
npm run docker:up
Rebuild and start Docker container (if you modify Dockerfile or dependencies):
npm run docker:rebuild
Stop all Docker containers:
npm run docker:stop
_includes
directory_layouts
directory_styles
directory_pages
directoryBuild for development:
npm run build:dev
Build for production:
npm run build
This will create an optimized production build with minified assets.
Update version numbers in both package.json
and blogtheme.gemspec
Build the gem:
gem build blogtheme.gemspec
Push the new gem to RubyGems:
gem push blogtheme-x.x.x.gem
Replace x.x.x with your new version number
Commit and push changes to GitHub:
git add .
git commit -m "Release version x.x.x"
git tag vx.x.x
git push origin main --tags
Bug reports and pull requests are welcome on GitHub at https://github.com/nathanjessen/blogtheme.