Merge pull request #45 from styfle/patch-2

Add ZEIT Now one-click deployment
This commit is contained in:
Zach Leatherman 2020-01-02 21:15:57 -06:00 committed by GitHub
commit 2c711539a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ A starter repository showing how to build a blog with the [Eleventy](https://git
* [Netlify](https://eleventy-base-blog.netlify.com/) * [Netlify](https://eleventy-base-blog.netlify.com/)
* [Get your own Eleventy web site on Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)—seriously, just click OK a few times and its live—Netlify is amazing. * [Get your own Eleventy web site on Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)—seriously, just click OK a few times and its live—Netlify is amazing.
* [Get your own Eleventy web site on ZEIT Now](https://zeit.co/new/project?template=11ty/eleventy-base-blog)—seriously, just click OK a few times and its live—ZEIT Now is amazing.
* [GitHub Pages](https://11ty.github.io/eleventy-base-blog/) * [GitHub Pages](https://11ty.github.io/eleventy-base-blog/)
## Getting Started ## Getting Started
@ -68,4 +69,4 @@ DEBUG=* npx eleventy
* `_includes/layouts/base.njk`: the top level HTML structure * `_includes/layouts/base.njk`: the top level HTML structure
* `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`) * `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`)
* `_includes/layouts/post.njk`: the blog post template (wrapped into `base.njk`) * `_includes/layouts/post.njk`: the blog post template (wrapped into `base.njk`)
* `_includes/postlist.njk` is a Nunjucks include and is a reusable component used to display a list of all the posts. `index.njk` has an example of how to use it. * `_includes/postlist.njk` is a Nunjucks include and is a reusable component used to display a list of all the posts. `index.njk` has an example of how to use it.