Skip to content

Commit

Permalink
goodbye message-box, thank you for your service (#38)
Browse files Browse the repository at this point in the history
* goodbye message-box, thank you for your service

- eleventy 3.0.0-alpha.16
- add Get Started to readme + about
- simplify readme + about

9.2.19-alpha.16

* add link to build config
  • Loading branch information
rdela authored Jul 14, 2024
1 parent 84551fb commit 2bc0394
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 42 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ The name eleventeen is an homage to the [Daisy Chainsaw album](https://en.wikipe

Eleventeen boldly embraced the alpha release of [Eleventy v3 canary](https://www.11ty.dev/blog/canary-eleventy-v3/) ahead of its upstream source in [PR #8](https://github.com/rdela/eleventeen/pull/8) / [v9.0.0-alpha.5](https://github.com/rdela/eleventeen/releases/tag/v9.0.0-alpha.5), while Eleventy Base Blog remains on the stable [v2 release](https://www.11ty.dev/blog/eleventy-v2/) as of 8 July 2024.

## Get Started

1. Edit `_data/metadata.js` with the information for your site.
2. (Optional) Review `eleventy.config.js` build [configuration](https://www.11ty.dev/docs/config/)

## Rainbow Mode™

In addition to Base Blog’s killer features and Eleventy 3’s bundler-free [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) support, eleventeen sports a novel new visual experience we call Rainbow Mode, powered by [Chromagen](https://github.com/famebot/chromagen), the color scheme generator we publish under the [Famebot organization](https://github.com/famebot). Our homegrown Rainbow Mode is wholly distinct from and not to be confused with Emacs [rainbow-mode](https://elpa.gnu.org/packages/rainbow-mode.html), which “sets background color to strings that match color names.”
Expand All @@ -22,9 +27,7 @@ We posit a third color scheme preference in addition to light and dark “modes,

## Mono Mode <span role="img" aria-label="">📓🏁</span>

v9.2.3-alpha.5 added a `mono` option to [`_data/metadata.js`](_data/metadata.js) that disables Rainbow Mode if you set it to `true`.

`mono` is `false` by default, on purpose, because it beats making people set an option called `rainbow` to `false`. Plus it might make the `if not metadata.mono` template logic in [`_includes/layouts/base.njk`](_includes/layouts/base.njk) a little more resilient.
v9.2.3-alpha.5 added a `mono` option to [`_data/metadata.js`](_data/metadata.js) that disables Rainbow Mode if you set it to `true`. `mono` is `false` by default, on purpose, because it beats making people set an option called `rainbow` to `false`.

### Show Me the Mono

Expand Down
16 changes: 0 additions & 16 deletions _includes/layouts/home.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,3 @@ layout: layouts/base.njk
---

{{ content | safe }}

<!-- Delete this message, it will also remove the component CSS from the bundle -->
{%- css %}{% include "public/css/message-box.css" %}{% endcss %}
<div class="message-box">
<ol>
<li>Edit <code>_data/metadata.js</code> with the information for your site.</li>
<li>(Optional) Review <code>eleventy.config.js</code> build <a href="https://www.11ty.dev/docs/config/">configuration</a>.</li>
<li>Delete this message from <code>_includes/layouts/home.njk</code>.</li>
</ol>
<p><em>This is an <a href="https://www.11ty.dev/">Eleventy project</a>
created from <a href="https://github.com/rdela/eleventeen">eleventeen</a>,
a variation of <a href="https://github.com/11ty/eleventy-base-blog">Eleventy Base Blog</a></em>
<span role="img" aria-label="">👉</span> Find out more <a href="/about/">about eleventeen</a>
<span role="img" aria-label="">📖✨</span></p>
</div>
<!-- Stop deleting -->
9 changes: 6 additions & 3 deletions content/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ We posit a third color scheme preference in addition to light and dark “modes,

## Mono Mode <span role="img" aria-label="">📓🏁</span>

v9.2.3-alpha.5 added a `mono` option to [`_data/metadata.js`](https://github.com/rdela/eleventeen/blob/trunk/_data/metadata.js) that disables Rainbow Mode if you set it to `true`.

`mono` is `false` by default, on purpose, because it beats making people set an option called `rainbow` to `false`. Plus it might make the `if not metadata.mono` template logic in [`_includes/layouts/base.njk`](https://github.com/rdela/eleventeen/blob/trunk/_includes/layouts/base.njk) a little more resilient.
v9.2.3-alpha.5 added a `mono` option to [`_data/metadata.js`](https://github.com/rdela/eleventeen/blob/trunk/_data/metadata.js) that disables Rainbow Mode if you set it to `true`. `mono` is `false` by default, on purpose, because it beats making people set an option called `rainbow` to `false`.

### Show Me the Mono

Expand All @@ -39,6 +37,11 @@ Try toggling light and dark mode using devtools, there are links to how at the b

The rainbow eleventeen demo still lives (happily ever after) at [eleventeen.blog](https://eleventeen.blog)

## Get Started

1. Edit [`_data/metadata.js`](https://github.com/rdela/eleventeen/blob/trunk/_data/metadata.js) with the information for your site.
2. (Optional) Review [`eleventy.config.js`](https://github.com/rdela/eleventeen/blob/trunk/eleventy.config.js) build [configuration](https://www.11ty.dev/docs/config/).

## Other Eleventy Resources

- [The 11ty Bundle](https://11tybundle.dev/), an ever-expanding collection of Eleventy news and resources curated by [Bob Monsour](https://www.bobmonsour.com/)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eleventeen",
"version": "9.2.18-alpha.14",
"version": "9.2.19-alpha.16",
"description": "Starter repository for a website built with Eleventy + eleventeen",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"homepage": "https://eleventeen.blog/about/",
"devDependencies": {
"@11ty/eleventy": "3.0.0-alpha.14",
"@11ty/eleventy": "3.0.0-alpha.16",
"@11ty/eleventy-img": "^4.0.2",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-bundle": "^2.0.2",
Expand Down
18 changes: 0 additions & 18 deletions public/css/message-box.css

This file was deleted.

0 comments on commit 2bc0394

Please sign in to comment.