5t3ph/11ty-netlify-jumpstart
关于
Quickly launch an 11ty-generated static site. Includes a minimal Sass framework, generated sitemap, and RSS feed.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文11ty Netlify Jumpstart
Created by Stephanie Eckles (@5t3ph)
Visit 11ty-netlify-jumpstart.netlify.app for all the feature details - or go ahead and generate a new repo from the template to view the information locally.
Quick Start
Generate a repo from this template which will copy this project into your own new repo if you are currently signed in to GitHub. Alternatively, visit the repo directly.
Once cloned, run
npm installto install 11ty and other dependencies. Then runnpm startto run 11ty in watch mode. Usenpm run buildto run a production version.Open
src/_data/meta.jsand adjust the values to your details.Review the styling documentation for the included minimal Sass framework, particularly the theme variables, to quickly customize the starter.
Edit
src/index.njkto change the home page - including changing the template type if desired - and then create content within_pagesusing any templating format you prefer to add content.Check out the About page for expanded details on included features of this starter.
Review the 11ty documentation to more deeply apply customizations, including adding custom data sources and reviewing what template languages are available.
Is Netlify hosting required?
It's not required, but highly recommended, and is also how the build process is setup to run.
Development Scripts
npm start
Run 11ty with hot reload at localhost:8080
npm run build
Production build includes minified, autoprefixed CSS and social preview image generation
Use this as the "Publish command" if needed by hosting such as Netlify.
Feedback welcome!
You can file it as an issue.
Changes in v2
For those that have use this starter before, you should know the following changes:
- removal of social media images - due to issues with packages for creating the images
- removal of stylelint
- update to use @11tyrocks/eleventy-plugin-sass-lightningcss for Sass processing
探索相关项目
加载中…
