Skip to content

Commit

Permalink
Merge branch 'feature/static-site-11ty'
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed May 9, 2024
2 parents b36f846 + 9e20f7e commit adf4235
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ public: "/" });
// ignore files in folders (only transform top level html files)
eleventyConfig.ignores.add("*/**");
eleventyConfig.ignores.add("README.md");

eleventyConfig.addGlobalData("myStatic", () => {
return "this is data";
Expand Down
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@

“Show off your semantic `<body>`”: [_April 9 is CSS Naked Day!_](https://css-naked-day.github.io/)

If you’re participating, [update the respective file](https://github.com/css-naked-day/css-naked-day.github.io) to add your website(s).
If you’re participating, [add a file to the respective folder](https://github.com/css-naked-day/css-naked-day.github.io) to add your website(s).

Note: _Merge conflicts_ are likely if changes are made to the last lines of participant lists. To avoid this, use _alphabetical order_ going by last name or, if there is no individual author, the name of the website.
Welcome to CSS Naked Day!

Welcome to CSS Naked Day!
## Development

The site is built using <https://www.11ty.dev/> and <https://www.npmjs.com/>. The commands are:

### Build HTML

```bash
npm run build
```

### Watch files and host web-server (development mode)

```bash
npm run dev
```
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3><a id="participate" href="#participate">How to participate</a></h3>

<p>You can link to this page to let your visitors know about the nudity of your website! This option is for those who feel a need to give their visitors a reference as to what’s going on. This is not about getting traffic or making money. There are no ads on this site, nor will there ever be. This is about you, the people; getting naked.</p>

<p>You can instead add your website(s) here by <a href="https://github.com/css-naked-day/css-naked-day.github.io/issues/new">creating an issue</a> or <a href="https://github.com/css-naked-day/css-naked-day.github.io">updating the proper file</a>! Note: <em>Alphabetical order</em> should prevent merge conflicts.</p>
<p>You can instead add your website(s) here by <a href="https://github.com/css-naked-day/css-naked-day.github.io/issues/new">creating an issue</a> or <a href="https://github.com/css-naked-day/css-naked-day.github.io">adding a file in the proper folder</a>!</p>

<h3><a id="developers" href="#developers">Don’t think, just strip</a></h3>

Expand Down

0 comments on commit adf4235

Please sign in to comment.