11ty v1.0, Tailwind v3. Works when JS is disabled
This product is a blog starter template that can be hosted on platforms like Netlify, Surge, Firebase hosting, etc. It is designed to be a static site generated using Eleventy and styled with Tailwind CSS v2.0. The blog has a dark mode option and aims to still run without JavaScript. It has features like custom excerpts, a filter for read time, a 404 page, tags page, sitemap and robots.txt, image handling using shortcodes, draft posts functionality, ESLint integration, and a bash script to create new posts. The blog can be run locally on localhost:8080 after setting it up.
<!-- excerpt -->
tag.src/assets/img/posts
and added using the asset_img
shortcode.npm run build
and the output folder is _site
.To install and set up the blog starter template, follow these steps:
Clone the repository to your local machine:
git clone [repository-url]
Navigate to the cloned directory:
cd [directory]
Install the required dependencies:
npm install
Customize the settings in the _data
folder and other relevant files to match your blog’s requirements.
Run the build command:
npm run build
The generated site files will be available in the _site
folder. You can deploy these files on your preferred hosting provider.
To run the blog locally, start the server:
npx eleventy --serve
You can then access the blog at localhost:8080
in your browser.
This blog starter template is a static site generated using Eleventy and styled with Tailwind CSS v2.0. It offers features such as dark mode, custom excerpts, read time calculation, tags page, sitemap, robots.txt, image handling, draft posts, pagination, ESLint integration, and a bash script for creating new posts. It can be hosted on platforms like Netlify, Surge, Firebase hosting, etc. Installation and customization instructions are provided to set up the blog according to your requirements.