From 3044e908ba98d310390400ba31ad5832f4fdd44e Mon Sep 17 00:00:00 2001 From: kalanggam <62631102+kalanggam@users.noreply.github.com> Date: Thu, 19 Oct 2023 00:33:51 -0500 Subject: [PATCH] add more sections --- .eleventy.js | 10 +++++- package-lock.json | 3 +- package.json | 3 +- src/_includes/base.njk | 2 +- src/ceb/index.md | 4 +++ src/{style.css => css/global.css} | 0 src/index.md | 30 ++++++++++++++++-- src/poetry/hey-girl.md | 52 +++++++++++++++++++++++++++++++ src/poetry/index.md | 12 +++++++ src/poetry/poetry.json | 5 +++ 10 files changed, 115 insertions(+), 6 deletions(-) create mode 100644 src/ceb/index.md rename src/{style.css => css/global.css} (100%) create mode 100644 src/poetry/hey-girl.md create mode 100644 src/poetry/index.md create mode 100644 src/poetry/poetry.json diff --git a/.eleventy.js b/.eleventy.js index c5f5740..918ccf1 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,5 +1,13 @@ +const { DateTime } = require("luxon"); + module.exports = function (eleventyConfig) { - eleventyConfig.addPassthroughCopy("./src/style.css"); + eleventyConfig.addFilter("postDate", (dateObj) => { + return DateTime.fromJSDate(dateObj).toFormat("y'-'LL'-'dd' at 'T"); + }); + + eleventyConfig.addPassthroughCopy("./src/css"); + eleventyConfig.addPassthroughCopy("./src/img"); + eleventyConfig.addWatchTarget("./src/css"); return { dir: { diff --git a/package-lock.json b/package-lock.json index e54c874..c165293 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,8 @@ "version": "1.0.0", "license": "ISC", "devDependencies": { - "@11ty/eleventy": "^2.0.1" + "@11ty/eleventy": "^2.0.1", + "luxon": "^3.4.3" } }, "node_modules/@11ty/dependency-tree": { diff --git a/package.json b/package.json index 18963cd..ee4477c 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "author": "", "license": "ISC", "devDependencies": { - "@11ty/eleventy": "^2.0.1" + "@11ty/eleventy": "^2.0.1", + "luxon": "^3.4.3" } } diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 830d46b..70b14eb 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -4,7 +4,7 @@ {{ title }} - +
diff --git a/src/ceb/index.md b/src/ceb/index.md new file mode 100644 index 0000000..e72d387 --- /dev/null +++ b/src/ceb/index.md @@ -0,0 +1,4 @@ +--- +title: Cebuano +layout: base.njk +--- \ No newline at end of file diff --git a/src/style.css b/src/css/global.css similarity index 100% rename from src/style.css rename to src/css/global.css diff --git a/src/index.md b/src/index.md index 0797e4f..8d9a6c4 100644 --- a/src/index.md +++ b/src/index.md @@ -1,6 +1,32 @@ --- -title: Hello World +title: gils.nexus layout: base.njk +date: Last Modified --- -Hello Gil! \ No newline at end of file +hello! my name is gil and this is my site. pronouns are he/they. i write and +tinker with software/hardware. i don't have much to put here except +links (for now). + +--- + +## Here + +[Cebuano](/ceb/) +[Poetry](/poetry/) + +--- + +## Links + +[hol.ogra.ph](https://hol.ogra.ph/@gil) — federated +microblogging (i'm a co-admin here!) +[pixelfed.social](https://pixelfed.social/kalanggam) — +federated photo and video sharing +[beehaw](https://beehaw.org/u/kalanggam) — federated link +aggregator/discussions +[bookwyrm.social](https://bookwyrm.social/user/kalanggam) — federated book reviews + +--- + +Made with [11ty](https://www.11ty.dev/). _Last updated on {{ page.date | postDate }}_ diff --git a/src/poetry/hey-girl.md b/src/poetry/hey-girl.md new file mode 100644 index 0000000..ece83e1 --- /dev/null +++ b/src/poetry/hey-girl.md @@ -0,0 +1,52 @@ +--- +title: Hey Girl +date: Last Modified +pubDate: 2023-05-18t20:12:32-05:00 +--- + +Hey girl, +you remind me +that I have two hearts, +two kasingkasings whose beats sing +for you, for me, for us, for we, +brown girls and brown queers, who rise +like the sun after gentle rains and eastward winds. + +Hey girl, +you remind me +of the south plains sky, +stretched wide over the lands, +colonized, where we rebelliously learned +to thrive, to live, to flourish, to give +to all society’s cast aside, all who have lived and died +and will live again on the breath of justice. + +Hey girl, +you remind me +that we have high hopes, +manifested destinies and techniques +to achieve all the dreams, at first unimaginable +by our ancestors, by our lovers, by our oppressors, by our detractors, +culturally rich and getting richer, immeasurable +like the grains of rice from the eons harvested over paddies. + +Hey girl, +you remind me +that our words are more powerful +than any fist, any sword, any bomb, any gun— +that our hearts beat louder than any boots, drums, or speakers. +You remind me that our spirits fight harder +for love and for liberation, for life and for nation. + +Hey girl, +you reminded me +to stay connected even over sea, +to practice my meditations and see the unseen. +You reminded me to fight +until we are all free. + +[← All poetry](/poetry/) + +Published {{ pubDate | postDate }} + +*Last modified {{ page.date | postDate }}* \ No newline at end of file diff --git a/src/poetry/index.md b/src/poetry/index.md new file mode 100644 index 0000000..1cf939c --- /dev/null +++ b/src/poetry/index.md @@ -0,0 +1,12 @@ +--- +title: Poetry +layout: base.njk +permalink: /poetry/index.html +override:tags: [] +--- + + \ No newline at end of file diff --git a/src/poetry/poetry.json b/src/poetry/poetry.json new file mode 100644 index 0000000..f7a5ad9 --- /dev/null +++ b/src/poetry/poetry.json @@ -0,0 +1,5 @@ +{ + "layout": "base.njk", + "permalink": "/poem/{{ page.fileSlug }}/", + "tags": "poems" +} \ No newline at end of file