Skip to content

Commit e383359

Browse files
committed
Oops, forgot my old README.md
1 parent 7ee829f commit e383359

File tree

1 file changed

+21
-53
lines changed

1 file changed

+21
-53
lines changed

README.md

Lines changed: 21 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
1-
# eleventy-base-blog v9
1+
# David🥧
22

3-
A starter repository showing how to build a blog with the [Eleventy](https://www.11ty.dev/) site generator (using the [v3.0 release](https://github.com/11ty/eleventy/releases/tag/v3.0.0)).
3+
[![Netlify Status](https://api.netlify.com/api/v1/badges/057ee517-cc9d-4846-b5a8-5a1d044f4b88/deploy-status)](https://app.netlify.com/sites/davidpie/deploys)
44

5-
## Getting Started
5+
My personal website, built from [eleventy-base-blog v9](https://github.com/11ty/eleventy-base-blog).
66

7-
* [Want a more generic/detailed getting started guide?](https://www.11ty.dev/docs/getting-started/)
7+
Incorporates [CSSBox](https://github.com/TheLastProject/CSSBox) for the Gallery page.
88

9-
1. Make a directory and navigate to it:
9+
## Todo
1010

11-
```
12-
mkdir my-blog-name
13-
cd my-blog-name
14-
```
11+
- [ ] Make 'notes' and 'links' tag icons for home/archives post listings.
12+
- [x] Change Home to have blog post exerpts + notes
13+
- [ ] Integrate music/spotify api for currently listening
14+
- [x] Redesign Home to be more minimal/typographic
15+
- [x] add color with paint covering background
16+
- [x] Add sections for blog, gallery, notes
17+
- [ ] Make notes section browsable by tags
18+
19+
## Getting Started
1520

16-
2. Clone this Repository
21+
1. Clone this Repository
1722

1823
```
19-
git clone https://github.com/11ty/eleventy-base-blog.git .
24+
git clone https://github.com/dapierce/dapierce.github.io.git
2025
```
2126

22-
_Optional:_ Review `eleventy.config.js` and `_data/metadata.js` to configure the site’s options and data.
23-
24-
3. Install dependencies
27+
2. Navigate to the directory and install packages
2528

2629
```
2730
npm install
2831
```
2932

30-
4. Run Eleventy
33+
3. Run Eleventy
3134

3235
Generate a production-ready build to the `_site` folder:
3336

@@ -43,6 +46,9 @@ npx @11ty/eleventy --serve
4346

4447
Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the internals.
4548

49+
---
50+
The rest is from [eleventy-base-blog v9](https://github.com/11ty/eleventy-base-blog) `README.md`
51+
4652
## Features
4753

4854
- Using [Eleventy v3](https://github.com/11ty/eleventy/releases/tag/v3.0.0) with zero-JavaScript output.
@@ -77,41 +83,3 @@ Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the
7783
- `sitemap.xml`
7884
- Zero-maintenance tag pages ([View on the Demo](https://eleventy-base-blog.netlify.app/tags/))
7985
- Content not found (404) page
80-
81-
## Demos
82-
83-
- [Netlify](https://eleventy-base-blog.netlify.app/)
84-
- [Vercel](https://demo-base-blog.11ty.dev/)
85-
- [Cloudflare Pages](https://eleventy-base-blog-d2a.pages.dev/)
86-
- [Remix on Glitch](https://glitch.com/~11ty-eleventy-base-blog)
87-
- [GitHub Pages](https://11ty.github.io/eleventy-base-blog/)
88-
89-
## Deploy this to your own site
90-
91-
Deploy this Eleventy site in just a few clicks on these services:
92-
93-
- Read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/) to the web.
94-
- [Deploy this to **Netlify**](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)
95-
- [Deploy this to **Vercel**](https://vercel.com/import/project?template=11ty%2Feleventy-base-blog)
96-
- Look in `.github/workflows/gh-pages.yml.sample` for information on Deploying to **GitHub Pages**.
97-
- [Try it out on **Stackblitz**](https://stackblitz.com/github/11ty/eleventy-base-blog)
98-
99-
### Implementation Notes
100-
101-
- `content/about/index.md` is an example of a content page.
102-
- `content/blog/` has the blog posts but really they can live in any directory. They need only the `posts` tag to be included in the blog posts [collection](https://www.11ty.dev/docs/collections/).
103-
- Use the `eleventyNavigation` key (via the [Eleventy Navigation plugin](https://www.11ty.dev/docs/plugins/navigation/)) in your front matter to add a template to the top level site navigation. This is in use on `content/index.njk` and `content/about/index.md`.
104-
- Content can be in _any template format_ (blog posts needn’t exclusively be markdown, for example). Configure your project’s supported templates in `eleventy.config.js` -> `templateFormats`.
105-
- The `public` folder in your input directory will be copied to the output folder (via `addPassthroughCopy` in the `eleventy.config.js` file). This means `./public/css/*` will live at `./_site/css/*` after your build completes.
106-
- This project uses three [Eleventy Layouts](https://www.11ty.dev/docs/layouts/):
107-
- `_includes/layouts/base.njk`: the top level HTML structure
108-
- `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`)
109-
- `_includes/layouts/post.njk`: the blog post template (wrapped into `base.njk`)
110-
- `_includes/postslist.njk` is a Nunjucks include and is a reusable component used to display a list of all the posts. `content/index.njk` has an example of how to use it.
111-
112-
#### Content Security Policy
113-
114-
If your site enforces a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) (as public-facing sites should), you have a few choices (pick one):
115-
116-
1. In `base.njk`, remove `<style>{% getBundle "css" %}</style>` and uncomment `<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">`
117-
2. Configure the server with the CSP directive `style-src: 'unsafe-inline'` (less secure).

0 commit comments

Comments
 (0)