refactor: add sass, minify HTML, remove i18n
This commit is contained in:
@@ -73,8 +73,8 @@ DEBUG=Eleventy* npx @11ty/eleventy
|
||||
- The `public` folder in your input directory will be copied to the output folder (via `addPassthroughCopy()` in the `.eleventy.js` file). This means `./public/css/*` will live at `./_site/css/*` after your build completes. [When using `--serve` this behavior is emulated](/docs/copy/#passthrough-during-serve) (the files will not show up in `_site`).
|
||||
- The blog post feed template is in `feed/feed.njk`. This is also a good example of using a global data files in that it uses `_data/metadata.json`.
|
||||
- This project uses three layouts:
|
||||
- `_includes/layouts/base.njk`: the top level HTML structure
|
||||
- `_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/postslist.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.
|
||||
- `_layouts/base.njk`: the top level HTML structure
|
||||
- `_layouts/home.njk`: the home page template (wrapped into `base.njk`)
|
||||
- `_layouts/post.njk`: the blog post template (wrapped into `base.njk`)
|
||||
- `_components/postslist.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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user