Moving theming and other resources (css, images, etc.) to src/res and hiding in-progress pages from public site
10
.eleventy.js
|
@ -8,15 +8,15 @@ module.exports = function (eleventyConfig) {
|
||||||
return DateTime.fromJSDate(dateObj).toFormat("y'-'LL'-'dd");
|
return DateTime.fromJSDate(dateObj).toFormat("y'-'LL'-'dd");
|
||||||
});
|
});
|
||||||
|
|
||||||
eleventyConfig.addPassthroughCopy("./src/css/**/*.css");
|
eleventyConfig.addPassthroughCopy({ "./src/res/css/**/*.css": "css" });
|
||||||
eleventyConfig.addPassthroughCopy("./src/font");
|
eleventyConfig.addPassthroughCopy({ "./src/res/font": "font" });
|
||||||
eleventyConfig.addPassthroughCopy("./src/img");
|
eleventyConfig.addPassthroughCopy({ "./src/res/img": "img" });
|
||||||
eleventyConfig.addWatchTarget("./src/css");
|
eleventyConfig.addWatchTarget("./src/res/css");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dir: {
|
dir: {
|
||||||
input: "src",
|
input: "src",
|
||||||
output: "public",
|
output: "_site",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch:sass": "sass --watch src/scss:src/css",
|
"watch:sass": "sass --watch src/res/scss:src/res/css",
|
||||||
"build:sass": "sass src/scss:src/css",
|
"build:sass": "sass src/res/scss:src/res/css",
|
||||||
"watch:eleventy": "eleventy --serve",
|
"watch:eleventy": "eleventy --serve",
|
||||||
"build:eleventy": "eleventy",
|
"build:eleventy": "eleventy",
|
||||||
"start": "npm-run-all build:sass --parallel watch:*",
|
"start": "npm-run-all build:sass --parallel watch:*",
|
||||||
|
|
|
@ -7,4 +7,4 @@ permalink: 404.html
|
||||||
|
|
||||||
There's nothing here.
|
There's nothing here.
|
||||||
|
|
||||||
<a href="/"><- Home page</a>
|
<a href="/">← Home page</a>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
date: Last Modified
|
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: About
|
key: About
|
||||||
order: 1
|
order: 1
|
||||||
|
|
12
src/journal/finally-updating-my-website.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
title: Finally updating my website
|
||||||
|
date: 2024-06-24T00:56:00-5
|
||||||
|
---
|
||||||
|
|
||||||
|
<time datetime="{{ date | formatDate }}">{{ date | formatDate }}</time>
|
||||||
|
|
||||||
|
# Finally updating my website
|
||||||
|
|
||||||
|
It took a long time, but I *finally* updated my website (the one you're looking at right now). The biggest thing, for me, is that I've actually built a layout and theme I can live with. It's *extremely* basic, and there isn't a lot to it—the goal is to incrementally add more personal touches and make the site look more lived in.
|
||||||
|
|
||||||
|
The other thing I've taken up is using [Obsidian](https://obsidian.md/) to journal. I only started a week ago so I don't know how much I'll adhere to it right now; however, I'm hoping that it'll buff my writing habits and translate into more activity here.
|
22
src/journal/index.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
title: Journal
|
||||||
|
override:tags: []
|
||||||
|
pagination:
|
||||||
|
data: collections.journal
|
||||||
|
size: 2
|
||||||
|
generatePageOnEmptyData: true
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Journal
|
||||||
|
order: 2
|
||||||
|
---
|
||||||
|
|
||||||
|
# Journal
|
||||||
|
|
||||||
|
Small updates from the wiz himself
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{%- for post in pagination.items %}
|
||||||
|
<li><a href="{{ post.url }}">{{ post.data.title }}</a>
|
||||||
|
— <i>updated <time datetime="{{ post.date | formatDate }}">{{ post.date | formatDate }}</time></i></li>
|
||||||
|
{% endfor -%}
|
||||||
|
</ul>
|
3
src/journal/journal.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"tags": "journal"
|
||||||
|
}
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Hey Girl
|
title: Hey Girl
|
||||||
date: 2023-05-31T12:00:00-5
|
date: 2023-05-31T12:00:00-5
|
||||||
excerpt: test
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Hey girl,
|
Hey girl,
|