Publish 0.0.1
This commit is contained in:
parent
5969646a07
commit
3949b2d8c9
|
@ -26,12 +26,15 @@ export default function (eleventyConfig) {
|
|||
eleventyConfig.addFilter("formatDate", (dateObj) => {
|
||||
return DateTime.fromJSDate(dateObj).toFormat('dd LLL yyyy, HH:mm ZZZZ');
|
||||
});
|
||||
eleventyConfig.addFilter("mdinline", (content) => {
|
||||
return md.renderInline(content);
|
||||
});
|
||||
|
||||
// Passthrough copies
|
||||
["src/assets"].forEach((path) => {
|
||||
eleventyConfig.addPassthroughCopy(path);
|
||||
});
|
||||
|
||||
|
||||
eleventyConfig.addWatchTarget("./src/assets/css");
|
||||
|
||||
return {
|
||||
|
|
27
scss/_theme.scss
Normal file
27
scss/_theme.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
|
||||
COLORS
|
||||
|
||||
$primary: #;
|
||||
$secondary: #;
|
||||
$tertiary: #;
|
||||
$neutral: #;
|
||||
$white: #;
|
||||
$black: #;
|
||||
|
||||
FONTS
|
||||
|
||||
$head: ;
|
||||
$body: ;
|
||||
$mono: ;
|
||||
*/
|
||||
|
||||
:root, [data-selected-theme="light"] {
|
||||
--theme-background: rgb(230, 245, 230);
|
||||
--theme-text: rgb(8, 10, 8);
|
||||
}
|
||||
|
||||
[data-selected-theme="dark"] {
|
||||
--theme-background: rgb(8, 10, 8);
|
||||
--theme-text: rgb(230, 245, 230);
|
||||
}
|
30
scss/main.scss
Normal file
30
scss/main.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
@use 'theme';
|
||||
|
||||
body {
|
||||
background-color: var(--theme-background);
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
#skip-navigation {
|
||||
position: fixed;
|
||||
top: -100%;
|
||||
right: 0;
|
||||
padding: 10px;
|
||||
&:focus {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.site {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contentarea {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
|
||||
COLORS
|
||||
|
||||
$primary: #;
|
||||
$secondary: #;
|
||||
$tertiary: #;
|
||||
$neutral: #;
|
||||
$white: #;
|
||||
$black: #;
|
||||
|
||||
FONTS
|
||||
|
||||
$head: ;
|
||||
$body: ;
|
||||
$mono: ;
|
||||
*/
|
|
@ -2,8 +2,7 @@ export default function () {
|
|||
return {
|
||||
name: "Gil.Ink",
|
||||
description: "Gil's personal website",
|
||||
author: "Gil Caley",
|
||||
author: "Gil",
|
||||
fediverseAuthor: "@gil@hol.ogra.ph",
|
||||
year: "2025",
|
||||
};
|
||||
}
|
||||
|
|
10
src/_data/updates.json
Normal file
10
src/_data/updates.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"date": "2025-04-28",
|
||||
"content": "Finally have a functioning `/now` page!"
|
||||
},
|
||||
{
|
||||
"date": "2025-02-20",
|
||||
"content": "Hello world!"
|
||||
}
|
||||
]
|
|
@ -1,4 +1,6 @@
|
|||
<hr>
|
||||
<p>Created {{ page.date | formatDate }}</p>
|
||||
<p>{% if lastmod %}Last modified {{ lastmod | formatDate }}{% endif %}</p>
|
||||
<p>© {{ meta.year }} {{ meta.author }}</p>
|
||||
<p><a href="#top">Jump to top</a>
|
||||
<p>Created {{ page.date | formatDate }}
|
||||
<br>
|
||||
{% if lastmod %}Last modified {{ lastmod | formatDate }}{% endif %}</p>
|
||||
{% include 'theme-switcher.njk' %}
|
||||
<p>Made by {{ meta.author }}</p>
|
|
@ -1,2 +1 @@
|
|||
<h1 id="gil.ink" tabindex="-1">Gil.Ink</h1>
|
||||
{% include 'nav.njk' %}
|
||||
<h1 id="top" tabindex="-1">Gil.Ink</h1>
|
|
@ -10,5 +10,4 @@
|
|||
</ul>{% endif %}
|
||||
</li>{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<hr>
|
||||
</nav>
|
3
src/_includes/sidebar.njk
Normal file
3
src/_includes/sidebar.njk
Normal file
|
@ -0,0 +1,3 @@
|
|||
<aside>
|
||||
{% include 'nav.njk' %}
|
||||
</aside>
|
1
src/_includes/theme-switcher.njk
Normal file
1
src/_includes/theme-switcher.njk
Normal file
|
@ -0,0 +1 @@
|
|||
Theme Switcher
|
3
src/_includes/updates.njk
Normal file
3
src/_includes/updates.njk
Normal file
|
@ -0,0 +1,3 @@
|
|||
<ul>
|
||||
{% for update in updates %}<li>[{{ update.date }}] {{ update.content | mdinline }}</li>{% endfor %}
|
||||
</ul>
|
|
@ -1,13 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% include 'head/meta.njk' %}
|
||||
|
||||
{% include 'meta.njk' %}
|
||||
<link rel="stylesheet" href="/assets/css/reset.css" type="text/css" media="screen" title="no title">
|
||||
<link rel="stylesheet" href="/assets/css/main.css" type="text/css" media="screen" title="no title">
|
||||
</head>
|
||||
<body>
|
||||
{% include 'header.njk' %}
|
||||
<main>{{ content | safe }}</main>
|
||||
{% include 'footer.njk' %}
|
||||
<div class="site">
|
||||
{% include 'header.njk' %}
|
||||
<a href="#main-content" id="skip-navigation">Skip navigation</a>
|
||||
<div class="contentarea">
|
||||
{% include 'sidebar.njk' %}
|
||||
<main id="main-content">{{ content | safe }}</main>
|
||||
</div>
|
||||
{% include 'footer.njk' %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
56
src/assets/css/main.css
Normal file
56
src/assets/css/main.css
Normal file
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
|
||||
COLORS
|
||||
|
||||
$primary: #;
|
||||
$secondary: #;
|
||||
$tertiary: #;
|
||||
$neutral: #;
|
||||
$white: #;
|
||||
$black: #;
|
||||
|
||||
FONTS
|
||||
|
||||
$head: ;
|
||||
$body: ;
|
||||
$mono: ;
|
||||
*/
|
||||
:root, [data-selected-theme=light] {
|
||||
--theme-background: rgb(230, 245, 230);
|
||||
--theme-text: rgb(8, 10, 8);
|
||||
}
|
||||
|
||||
[data-selected-theme=dark] {
|
||||
--theme-background: rgb(8, 10, 8);
|
||||
--theme-text: rgb(230, 245, 230);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--theme-background);
|
||||
color: var(--theme-text);
|
||||
}
|
||||
|
||||
#skip-navigation {
|
||||
position: fixed;
|
||||
top: -100%;
|
||||
right: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
#skip-navigation:focus {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.site {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contentarea {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
.contentarea main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=main.css.map */
|
1
src/assets/css/main.css.map
Normal file
1
src/assets/css/main.css.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../../../scss/_theme.scss","../../../scss/main.scss"],"names":[],"mappings":"AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAkBA;EACI;EACA;;;AAGJ;EACI;EACA;;;ACvBJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;AACA;EACI;;;AAIR;EACI;EACA;;;AAGJ;EACI;EACA;;AAEA;EACI","file":"main.css"}
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
|
||||
COLORS
|
||||
|
||||
$primary: #;
|
||||
$secondary: #;
|
||||
$tertiary: #;
|
||||
$neutral: #;
|
||||
$white: #;
|
||||
$black: #;
|
||||
|
||||
FONTS
|
||||
|
||||
$head: ;
|
||||
$body: ;
|
||||
$mono: ;
|
||||
*/
|
||||
|
||||
/*# sourceMappingURL=theme.css.map */
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../../../scss/theme.scss"],"names":[],"mappings":"AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA","file":"theme.css"}
|
|
@ -1,15 +1,13 @@
|
|||
---
|
||||
title: '/changelog'
|
||||
layout: base.njk
|
||||
lastmod: 2025-02-20T02:41:32.00-06:00
|
||||
lastmod: 2025-04-28T00:48:00.00-06:00
|
||||
eleventyNavigation:
|
||||
key: '/changelog'
|
||||
parent: '/slashes'
|
||||
---
|
||||
|
||||
# 2025-02-20 (0.0.1)
|
||||
- Created site/project scaffolding & Eleventy boilerplate
|
||||
- Added CSS reset (from https://piccalil.li/blog/a-more-modern-css-reset/)
|
||||
- Added index page and basic navigation
|
||||
- Added basic layouts, includes, and styles
|
||||
- First slashpages (see https://slashpages.net)
|
||||
# 2025-04-28 (0.0.1)
|
||||
- Setting things up
|
||||
- Added CSS reset, see *Piccalilli*'s [A (more) Modern CSS Reset](https://piccalil.li/blog/a-more-modern-css-reset/)
|
||||
- First slashpages, see [/slashes](/slashes) and [slashpages.net](https://slashpages.net/)
|
10
src/index.md
10
src/index.md
|
@ -19,10 +19,18 @@ Find me:
|
|||
- Reads: [bookwyrm.social/user/kalanggam](https://bookwyrm.social/user/kalanggam)
|
||||
- Bluesky: [@kalanggam.bsky.social](https://bsky.app/profile/kalanggam.bsky.social)
|
||||
|
||||
Subscribe to my (upcoming) newsletter: [gilosophies.ghost.io](https://gilosophies.ghost.io)
|
||||
Subscribe to my (forthcoming) newsletter: [gilosophies.ghost.io](https://gilosophies.ghost.io)
|
||||
|
||||
---
|
||||
|
||||
## Recent updates
|
||||
|
||||
{% include 'updates.njk' %}
|
||||
|
||||
---
|
||||
|
||||
## Publications
|
||||
|
||||
2022 Jul 28: ["Dear Mom, Akong Tanan"](https://www.mahalayasf.org/reflections/dear-mom-akong-tanan), _Mahalaya_
|
||||
|
||||
---
|
||||
|
|
|
@ -7,4 +7,4 @@ eleventyNavigation:
|
|||
parent: '/slashes'
|
||||
---
|
||||
|
||||
2025-02-20: This is where I would put an update... if I had one.
|
||||
{% include 'updates.njk' %}
|
|
@ -13,14 +13,14 @@ From [slashpages.net](https://slashpages.net/):
|
|||
>
|
||||
> The name was coined independently by both [Caleb Hearth](https://calebhearth.com/) and [Shellsharks](https://shellsharks.com).
|
||||
|
||||
`about` - About me
|
||||
`carry` - Things I carry around
|
||||
`changelog` - Gil.Ink changelog
|
||||
[about](/about) - About me
|
||||
[carry](/carry) - Things I carry around
|
||||
[changelog](/changelog) - Gil.Ink changelog
|
||||
`feeds` - Feeds for Gil.Ink
|
||||
`ideas` - Braindump of ideas
|
||||
`links` - Things I found on the web
|
||||
`now` - What I’m currently up to
|
||||
[ideas](/ideas) - Braindump of ideas
|
||||
[links](/links) - Things I found on the web
|
||||
[now](/now) - What I’m currently up to
|
||||
`slashes` - An index of my slash pages (<-- you are here)
|
||||
`tip` - How you can support me
|
||||
`uses` - What I use
|
||||
`why` - Personal manifesto
|
||||
[tip](/tip) - How you can support me
|
||||
[uses](/uses) - What I use
|
||||
[why](/why) - Personal manifesto
|
||||
|
|
Loading…
Reference in a new issue