From b09d183a1c9af8c37bdb4ac08571b654de0652a8 Mon Sep 17 00:00:00 2001
From: Eric Woodward
Date: Sun, 23 Jul 2023 23:40:17 -0400
Subject: [PATCH] Add licenses
---
.eslintrc.cjs | 29 +
jsconfig.json | 7 +
lib/build.js | 690 +++++++++---------
package.json | 4 +-
src/assets/scripts/scripts.js | 117 +--
src/assets/styles/fonts.css | 11 +-
src/assets/styles/imports.css | 5 +-
src/assets/styles/styles.css | 12 +-
src/layouts/partials/footer.ejs | 4 +-
src/layouts/partials/licenses/menusub.ejs | 25 +
src/layouts/partials/menusub.ejs | 4 +-
src/pages/about.ejs | 7 +-
src/pages/games/index.md | 2 +-
src/pages/licenses/cc-by-sa.md | 169 +++++
src/pages/licenses/cc0.md | 53 ++
src/pages/licenses/index.md | 14 +
src/pages/licenses/mit.md | 19 +
src/pages/now.md | 2 +-
src/pages/web.md | 3 +-
.../journal/2023/07-20-planar-vagabond.md | 4 +-
.../journal/2023/07-23-officially-licensed.md | 35 +
21 files changed, 795 insertions(+), 421 deletions(-)
create mode 100644 .eslintrc.cjs
create mode 100644 jsconfig.json
create mode 100644 src/layouts/partials/licenses/menusub.ejs
create mode 100644 src/pages/licenses/cc-by-sa.md
create mode 100644 src/pages/licenses/cc0.md
create mode 100644 src/pages/licenses/index.md
create mode 100644 src/pages/licenses/mit.md
create mode 100644 src/sitePosts/journal/2023/07-23-officially-licensed.md
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
new file mode 100644
index 0000000..521e2ae
--- /dev/null
+++ b/.eslintrc.cjs
@@ -0,0 +1,29 @@
+module.exports = {
+ "env": {
+ "browser": true,
+ "es2021": true
+ },
+ "extends": [
+ "eslint:recommended",
+ "prettier" // Make sure this is the last
+ ],
+ "overrides": [
+ {
+ "env": {
+ "node": true
+ },
+ "files": [
+ ".eslintrc.{js,cjs}"
+ ],
+ "parserOptions": {
+ "sourceType": "script"
+ }
+ }
+ ],
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module"
+ },
+ "rules": {
+ }
+}
diff --git a/jsconfig.json b/jsconfig.json
new file mode 100644
index 0000000..91e50e9
--- /dev/null
+++ b/jsconfig.json
@@ -0,0 +1,7 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6"
+ },
+ "exclude": ["node_modules"]
+}
\ No newline at end of file
diff --git a/lib/build.js b/lib/build.js
index 2cc3b75..46c5bd9 100644
--- a/lib/build.js
+++ b/lib/build.js
@@ -1,375 +1,377 @@
const { exists } = require("fs-extra/lib/fs");
module.exports = async (config) => {
- const
- { promises: fs } = require("fs"),
- fse = require("fs-extra"),
- path = require("path"),
- ejs = require("ejs"),
- frontMatter = require("front-matter"),
- glob = require("glob"),
- hljs = require("highlight.js"),
- md = require("markdown-it")({
- highlight: (str, lang) => {
- if (lang && hljs.getLanguage(lang)) {
- try {
- return hljs.highlight(str, { language: lang }).value;
- } catch (__) {}
- }
+ const { promises: fs } = require("fs"),
+ fse = require("fs-extra"),
+ path = require("path"),
+ ejs = require("ejs"),
+ frontMatter = require("front-matter"),
+ glob = require("glob"),
+ hljs = require("highlight.js"),
+ md = require("markdown-it")({
+ highlight: (str, lang) => {
+ if (lang && hljs.getLanguage(lang)) {
+ try {
+ return hljs.highlight(str, { language: lang }).value;
+ } catch (__) {}
+ }
- return ""; // use external default escaping
- },
- html: true,
- linkify: true,
- typographer: true,
- xhtmlOut: true,
- })
- .use(require("markdown-it-footnote"))
- .use(require("markdown-it-emoji")),
- // { readJsonIfExists } = require("./utils"),
- { build, isRebuild, logFunction: log = () => {} } = config || {},
- { outputPath, journalsPerPage = 5, srcPath } = build,
- { site } = config,
- copyAssets = async (directory) => {
- const assets = await fs.readdir(directory);
+ return ""; // use external default escaping
+ },
+ html: true,
+ linkify: true,
+ typographer: true,
+ xhtmlOut: true,
+ })
+ .use(require("markdown-it-footnote"))
+ .use(require("markdown-it-emoji")),
+ // { readJsonIfExists } = require("./utils"),
+ { build, isRebuild, logFunction: log = () => {} } = config || {},
+ { outputPath, journalsPerPage = 5, srcPath } = build,
+ { site } = config,
+ copyAssets = async (directory) => {
+ const assets = await fs.readdir(directory);
- assets.forEach(async (asset) => {
- // we no longer merge scripts and styles, thanks to http/2's parallel file handling
- if (asset === "_root") {
- fse.copy(path.join(srcPath, "assets", asset), outputPath);
- } else {
- fse.copy(
- path.join(srcPath, "assets", asset),
- path.join(outputPath, asset)
- );
- }
- });
- },
- getReadTime = (text) => {
- const WPM = 275,
- fixedString = text.replace(/[^\w\s]+/g, ""),
- count = fixedString.split(/\s+/).length;
+ assets.forEach(async (asset) => {
+ // we no longer merge scripts and styles, thanks to http/2's parallel file handling
+ if (asset === "_root") {
+ fse.copy(path.join(srcPath, "assets", asset), outputPath);
+ } else {
+ fse.copy(
+ path.join(srcPath, "assets", asset),
+ path.join(outputPath, asset)
+ );
+ }
+ });
+ },
+ getReadTime = (text) => {
+ const WPM = 275,
+ fixedString = text.replace(/[^\w\s]+/g, ""),
+ count = fixedString.split(/\s+/).length;
- if (count < WPM) return "less than 1 minute";
- else return `${Math.ceil(count / WPM)} minutes`;
- },
- tagSorter = (a, b) => a.toLowerCase().localeCompare(b.toLowerCase()),
- parseFile = (file, pagePath, siteData, isSupport) => {
- const { dir, ext, name } = path.parse(file) || {},
- hasExt = name.indexOf(".") > -1,
- destPath = path.join(outputPath, dir),
- filePath = path.join(pagePath, file),
- // read page file
- data = fse.readFileSync(filePath, "utf-8"),
- info = fse.statSync(filePath, "utf-8"),
- // render page
- { attributes, body } = frontMatter(data),
- { content_type: contentType, tags: originalTags = [] } =
- attributes,
- // TODO: Look for tags in posts as well, link to them, and add them to tag pages
- tags =
- typeof originalTags === "string"
- ? originalTags.split(/\W+/)
- : [].concat(originalTags),
- innerTags = (
- contentType === "journal"
- ? body.match(/\b#(\w+)/g) || []
- : []
- ).map((val) => val.replace("#", "")),
- allTags = [...tags, ...innerTags].sort(tagSorter),
- updatedBody =
- contentType === "journal"
- ? allTags.reduce(
- (acc, tag) =>
- acc.replace(
- `#${tag}`,
- `
+ if (count < WPM) return "less than 1 minute";
+ else return `${Math.ceil(count / WPM)} minutes`;
+ },
+ tagSorter = (a, b) => a.toLowerCase().localeCompare(b.toLowerCase()),
+ parseFile = (file, pagePath, siteData, isSupport) => {
+ const { dir, ext, name } = path.parse(file) || {},
+ hasExt = name.indexOf(".") > -1,
+ destPath = path.join(outputPath, dir),
+ filePath = path.join(pagePath, file),
+ // read page file
+ data = fse.readFileSync(filePath, "utf-8"),
+ info = fse.statSync(filePath, "utf-8"),
+ // render page
+ { attributes, body } = frontMatter(data),
+ { content_type: contentType, tags: originalTags = [] } =
+ attributes,
+ // TODO: Look for tags in posts as well, link to them, and add them to tag pages
+ tags =
+ typeof originalTags === "string"
+ ? originalTags.split(/\W+/)
+ : [].concat(originalTags),
+ innerTags = (
+ contentType === "journal"
+ ? body.match(/\b#(\w+)/g) || []
+ : []
+ ).map((val) => val.replace("#", "")),
+ allTags = [...tags, ...innerTags].sort(tagSorter),
+ updatedBody =
+ contentType === "journal"
+ ? allTags.reduce(
+ (acc, tag) =>
+ acc.replace(
+ `#${tag}`,
+ `
#${tag}
`
- ),
- body
- )
- : body;
+ ),
+ body
+ )
+ : body;
- return {
- ...config,
- page: {
- name,
- ...attributes,
- date_upd: attributes?.date_pub !== info.mtime ? info.mtime : (attributes.date_upd ?? ''),
- body: updatedBody,
- destPath,
- filePath,
- path: path.join(dir, hasExt ? name : `${name}.html`),
- tags: [...tags, ...innerTags].sort(tagSorter),
- ext,
- },
- site: {
- ...site,
- pages: isSupport ? siteData : [],
- },
- };
- },
- parseContent = (page, siteData) => {
- const {
- body,
- content_type: contentType,
- filePath,
- // tags,
- } = page || {},
- { ext } = path.parse(filePath) || {},
- { pages, tags } = siteData || {};
+ return {
+ ...config,
+ page: {
+ name,
+ ...attributes,
+ date_upd:
+ attributes?.date_pub !== info.mtime
+ ? info.mtime
+ : attributes.date_upd ?? "",
+ body: updatedBody,
+ destPath,
+ filePath,
+ path: path.join(dir, hasExt ? name : `${name}.html`),
+ tags: [...tags, ...innerTags].sort(tagSorter),
+ ext,
+ },
+ site: {
+ ...site,
+ pages: isSupport ? siteData : [],
+ },
+ };
+ },
+ parseContent = (page, siteData) => {
+ const {
+ body,
+ content_type: contentType,
+ filePath,
+ // tags,
+ } = page || {},
+ { ext } = path.parse(filePath) || {},
+ { pages, tags } = siteData || {};
- let content = body,
- readTime;
+ let content = body,
+ readTime;
- if (ext === ".md") {
- if (contentType === "journal" && typeof body === "string") {
- readTime = getReadTime(body);
- }
- content = md.render(body);
- } else if (ext === ".ejs") {
- content = ejs.render(
- body,
- { page, site: { ...site, pages, tags } },
- { filename: filePath }
- );
- }
+ if (ext === ".md") {
+ if (contentType === "journal" && typeof body === "string") {
+ readTime = getReadTime(body);
+ }
+ content = md.render(body);
+ } else if (ext === ".ejs") {
+ content = ejs.render(
+ body,
+ { page, site: { ...site, pages, tags } },
+ { filename: filePath }
+ );
+ }
- return { ...page, content, readTime };
- },
- renderFile = async (page, isSupport) => {
- const {
- content,
- destPath,
- layout,
- path: pagePath,
- pages,
- siteTags,
- tags,
- } = page || {};
- try {
- const layoutFileName = `${srcPath}/layouts/${
- layout || "default"
- }.ejs`,
- layoutData = await fs.readFile(layoutFileName, "utf-8"),
- completePage = isSupport
- ? content
- : ejs.render(layoutData, {
- content,
- page,
- site: {
- ...site,
- pages,
- tags:
- page.content_type === "journal"
- ? siteTags
- : tags,
- },
- filename: layoutFileName,
- });
+ return { ...page, content, readTime };
+ },
+ renderFile = async (page, isSupport) => {
+ const {
+ content,
+ destPath,
+ layout,
+ path: pagePath,
+ pages,
+ siteTags,
+ tags,
+ } = page || {};
+ try {
+ const layoutFileName = `${srcPath}/layouts/${
+ layout || "default"
+ }.ejs`,
+ layoutData = await fs.readFile(layoutFileName, "utf-8"),
+ completePage = isSupport
+ ? content
+ : ejs.render(layoutData, {
+ content,
+ page,
+ site: {
+ ...site,
+ pages,
+ tags:
+ page.content_type === "journal"
+ ? siteTags
+ : tags,
+ },
+ filename: layoutFileName,
+ });
- if (!completePage) {
- console.log("failed!", pagePath, content);
- return;
- }
+ if (!completePage) {
+ console.log("failed!", pagePath, content);
+ return;
+ }
- // create destination directory
- fse.mkdirsSync(destPath);
+ // create destination directory
+ fse.mkdirsSync(destPath);
- // save the html file
- fse.writeFileSync(
- path.join(outputPath, pagePath),
- completePage
- );
- } catch (e) {
- console.log("failed!", pagePath);
- console.log("paths", destPath, outputPath);
- console.error(e);
- return;
- }
- };
+ // save the html file
+ fse.writeFileSync(
+ path.join(outputPath, pagePath),
+ completePage
+ );
+ } catch (e) {
+ console.log("failed!", pagePath);
+ console.log("paths", destPath, outputPath);
+ console.error(e);
+ return;
+ }
+ };
- log(`${isRebuild ? "Reb" : "B"}uilding...`);
+ log(`${isRebuild ? "Reb" : "B"}uilding...`);
- // clear destination folder
- fse.emptyDirSync(outputPath);
+ // clear destination folder
+ fse.emptyDirSync(outputPath);
- // copy assets folder
- await copyAssets(path.join(srcPath, "assets"));
+ // copy assets folder
+ await copyAssets(path.join(srcPath, "assets"));
- const files = ["pages", "sitePosts"].reduce((acc, pageDir) => {
- return [
- ...acc,
- ...glob
- .sync("**/*.@(md|ejs|html)", {
- cwd: path.join(srcPath, pageDir),
- })
- .map((file) =>
- parseFile(file, path.join(srcPath, pageDir))
- ),
- ];
- }, []),
- sortByPubDate = (a, b) => {
- if (a.date_pub && b.date_pub) {
- let a_dt = new Date(a.date_pub).getTime(),
- b_dt = new Date(b.date_pub).getTime();
- if (a_dt < b_dt) {
- return 1;
- }
- if (b_dt < a_dt) {
- return -1;
- }
- return 0;
- }
- if (a.date_pub) return -1;
- if (b.date_pub) return 1;
- return 0;
- },
- pages = files
- .map(({ page }) => ({ ...page }))
- .filter(({ is_draft, status }) => !is_draft && status !== "draft")
- .sort(sortByPubDate),
- tagCloud = pages.reduce((acc, curr) => {
- const { tags } = curr;
- tags.forEach((tag) => {
- if (acc[tag]) acc[tag]++;
- else acc[tag] = 1;
- });
- return acc;
- }, {}),
- tags = Object.keys(tagCloud).sort(tagSorter),
- yearCloud = pages
- .filter(({ content_type = "" }) => content_type === "journal")
- .reduce((acc, curr) => {
- const { date_pub } = curr;
- if (date_pub) {
- const year = new Date(date_pub).getFullYear();
- if (acc[year]) acc[year]++;
- else acc[year] = 1;
- }
- return acc;
- }, {}),
- years = Object.keys(yearCloud).sort().reverse(),
- pagesWithContent = pages.map((page) =>
- parseContent(page, { pages, tags })
- );
+ const files = ["pages", "sitePosts"].reduce((acc, pageDir) => {
+ return [
+ ...acc,
+ ...glob
+ .sync("**/*.@(md|ejs|html)", {
+ cwd: path.join(srcPath, pageDir),
+ })
+ .map((file) =>
+ parseFile(file, path.join(srcPath, pageDir))
+ ),
+ ];
+ }, []),
+ sortByPubDate = (a, b) => {
+ if (a.date_pub && b.date_pub) {
+ let a_dt = new Date(a.date_pub).getTime(),
+ b_dt = new Date(b.date_pub).getTime();
+ if (a_dt < b_dt) {
+ return 1;
+ }
+ if (b_dt < a_dt) {
+ return -1;
+ }
+ return 0;
+ }
+ if (a.date_pub) return -1;
+ if (b.date_pub) return 1;
+ return 0;
+ },
+ pages = files
+ .map(({ page }) => ({ ...page }))
+ .filter(({ is_draft, status }) => !is_draft && status !== "draft")
+ .sort(sortByPubDate),
+ tagCloud = pages.reduce((acc, curr) => {
+ const { tags } = curr;
+ tags.forEach((tag) => {
+ if (acc[tag]) acc[tag]++;
+ else acc[tag] = 1;
+ });
+ return acc;
+ }, {}),
+ tags = Object.keys(tagCloud).sort(tagSorter),
+ yearCloud = pages
+ .filter(({ content_type = "" }) => content_type === "journal")
+ .reduce((acc, curr) => {
+ const { date_pub } = curr;
+ if (date_pub) {
+ const year = new Date(date_pub).getFullYear();
+ if (acc[year]) acc[year]++;
+ else acc[year] = 1;
+ }
+ return acc;
+ }, {}),
+ years = Object.keys(yearCloud).sort().reverse(),
+ pagesWithContent = pages.map((page) =>
+ parseContent(page, { pages, tags })
+ );
- // add data for the whole site to each page as it's rendered
- pagesWithContent.forEach((page) => {
- renderFile({ ...page, pages: pagesWithContent, siteTags: tags });
- });
+ // add data for the whole site to each page as it's rendered
+ pagesWithContent.forEach((page) => {
+ renderFile({ ...page, pages: pagesWithContent, siteTags: tags });
+ });
- /* Journal Stuff - Tags & Years */
+ /* Journal Stuff - Tags & Years */
- // make page(s) for each tag
- tags.forEach((tag) => {
- // check counts
- let postCount = tagCloud[tag],
- pageCount = Math.ceil(postCount / journalsPerPage);
- for (let i = 1; i <= pageCount; i++) {
- const firstEntryIndex = journalsPerPage * (i - 1),
- lastEntryIndex = journalsPerPage * i;
+ // make page(s) for each tag
+ tags.forEach((tag) => {
+ // check counts
+ let postCount = tagCloud[tag],
+ pageCount = Math.ceil(postCount / journalsPerPage);
+ for (let i = 1; i <= pageCount; i++) {
+ const firstEntryIndex = journalsPerPage * (i - 1),
+ lastEntryIndex = journalsPerPage * i;
- renderFile({
- content: tag,
- destPath: path.join(outputPath, "journal", "tags", tag),
- entriesToList: pagesWithContent
- .filter(
- (p) =>
- p && Array.isArray(p.tags) && p.tags.includes(tag)
- )
- .slice(firstEntryIndex, lastEntryIndex),
- layout: "tag",
- path: `journal/tags/${tag}/${
- i === 1 ? "index.html" : `page${i}.html`
- }`,
- site: { ...site, pages: pagesWithContent, tags },
- pageCount,
- pageNum: i,
- pages: pagesWithContent,
- tag,
- tags,
- title: `Journal Entries Tagged with #${tag}`,
- });
- }
- });
+ renderFile({
+ content: tag,
+ destPath: path.join(outputPath, "journal", "tags", tag),
+ entriesToList: pagesWithContent
+ .filter(
+ (p) =>
+ p && Array.isArray(p.tags) && p.tags.includes(tag)
+ )
+ .slice(firstEntryIndex, lastEntryIndex),
+ layout: "tag",
+ path: `journal/tags/${tag}/${
+ i === 1 ? "index.html" : `page${i}.html`
+ }`,
+ site: { ...site, pages: pagesWithContent, tags },
+ pageCount,
+ pageNum: i,
+ pages: pagesWithContent,
+ tag,
+ tags,
+ title: `Journal Entries Tagged with #${tag}`,
+ });
+ }
+ });
- // make page(s) for each year
- years.forEach((year) => {
- // check counts
- let postCount = yearCloud[year],
- pageCount = Math.ceil(postCount / journalsPerPage);
- for (let i = 1; i <= pageCount; i++) {
- const firstEntryIndex = journalsPerPage * (i - 1),
- lastEntryIndex = journalsPerPage * i;
+ // make page(s) for each year
+ years.forEach((year) => {
+ // check counts
+ let postCount = yearCloud[year],
+ pageCount = Math.ceil(postCount / journalsPerPage);
+ for (let i = 1; i <= pageCount; i++) {
+ const firstEntryIndex = journalsPerPage * (i - 1),
+ lastEntryIndex = journalsPerPage * i;
- // TODO: rethink the data passed in here - you're paging solution works (kinda), take it over the finish line!
- renderFile({
- content: year,
- destPath: path.join(outputPath, "journal", year),
- entriesToList: pagesWithContent
- .filter(({ content_type = "", date_pub = "" }) => {
- if (!date_pub || content_type !== "journal")
- return false;
+ // TODO: rethink the data passed in here - you're paging solution works (kinda), take it over the finish line!
+ renderFile({
+ content: year,
+ destPath: path.join(outputPath, "journal", year),
+ entriesToList: pagesWithContent
+ .filter(({ content_type = "", date_pub = "" }) => {
+ if (!date_pub || content_type !== "journal")
+ return false;
- const p_dt = new Date(date_pub).getTime(),
- y1_dt = new Date(
- `${year}-01-01T00:00:00-0500`
- ).getTime(),
- y2_dt = new Date(
- `${year}-12-31T23:59:59-0500`
- ).getTime();
- return p_dt >= y1_dt && p_dt <= y2_dt;
- })
- .slice(firstEntryIndex, lastEntryIndex),
- layout: "journal-year",
- path: `journal/${year}/${
- i === 1 ? "index.html" : `page${i}.html`
- }`,
- site: { ...site, pages: pagesWithContent, tags },
- pageCount,
- pageNum: i,
- pages: pagesWithContent,
- tags,
- title: `Journal Entries from ${year}`,
- year,
- });
- }
- });
+ const p_dt = new Date(date_pub).getTime(),
+ y1_dt = new Date(
+ `${year}-01-01T00:00:00-0500`
+ ).getTime(),
+ y2_dt = new Date(
+ `${year}-12-31T23:59:59-0500`
+ ).getTime();
+ return p_dt >= y1_dt && p_dt <= y2_dt;
+ })
+ .slice(firstEntryIndex, lastEntryIndex),
+ layout: "journal-year",
+ path: `journal/${year}/${
+ i === 1 ? "index.html" : `page${i}.html`
+ }`,
+ site: { ...site, pages: pagesWithContent, tags },
+ pageCount,
+ pageNum: i,
+ pages: pagesWithContent,
+ tags,
+ title: `Journal Entries from ${year}`,
+ year,
+ });
+ }
+ });
- /* Support pages - anything too weird / specific for markdown rendering */
+ /* Support pages - anything too weird / specific for markdown rendering */
- // collect support pages
- const support = ["support"].reduce((acc, pageDir) => {
- return [
- ...acc,
- ...glob
- .sync("**/*.@(md|ejs|html)", {
- cwd: path.join(srcPath, pageDir),
- })
- .map((file) =>
- parseFile(
- file,
- path.join(srcPath, pageDir),
- pagesWithContent,
- true
- )
- ),
- ];
- }, []);
+ // collect support pages
+ const support = ["support"].reduce((acc, pageDir) => {
+ return [
+ ...acc,
+ ...glob
+ .sync("**/*.@(md|ejs|html)", {
+ cwd: path.join(srcPath, pageDir),
+ })
+ .map((file) =>
+ parseFile(
+ file,
+ path.join(srcPath, pageDir),
+ pagesWithContent,
+ true
+ )
+ ),
+ ];
+ }, []);
- // write each one out
- support.forEach((fileData) => {
- const { page } = fileData;
- if (page?.ext === ".ejs") {
- const pageAndContent = parseContent(page, {
- pages: pagesWithContent,
- tags,
- });
- return renderFile({ ...fileData, ...pageAndContent, tags }, true);
- }
- return renderFile(fileData, true);
- });
+ // write each one out
+ support.forEach((fileData) => {
+ const { page } = fileData;
+ if (page?.ext === ".ejs") {
+ const pageAndContent = parseContent(page, {
+ pages: pagesWithContent,
+ tags,
+ });
+ return renderFile({ ...fileData, ...pageAndContent, tags }, true);
+ }
+ return renderFile(fileData, true);
+ });
};
diff --git a/package.json b/package.json
index 2417784..e84e6d9 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "iew-site-builder",
- "version": "0.9.5",
+ "version": "0.9.6",
"description": "",
"main": "index.js",
"scripts": {
@@ -10,7 +10,7 @@
"watch": "node app.js watch"
},
"keywords": [],
- "author": "",
+ "author": "Eric Woodward (https://www.itsericwoodward.com)",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
diff --git a/src/assets/scripts/scripts.js b/src/assets/scripts/scripts.js
index 74127a6..4ea4ce1 100644
--- a/src/assets/scripts/scripts.js
+++ b/src/assets/scripts/scripts.js
@@ -2,78 +2,79 @@
/****************************************************************************
* It's Eric Woodward's Site
*
- * Copyright 2014-2022 Eric Woodward
+ * Copyright 2014-2023 Eric Woodward
* Source released under CC0 Public Domain License v1.0
+ * https://www.itsericwoodward.com/licenses/cc0
* http://creativecommons.org/publicdomain/zero/1.0/
****************************************************************************/
(function () {
- "use strict";
+ "use strict";
- // Checking if browser "cuts the mustard" - https://gomakethings.com/ditching-jquery/
- if (!(!!document.querySelector && !!window.addEventListener)) return;
+ // Checking if browser "cuts the mustard" - https://gomakethings.com/ditching-jquery/
+ if (!(!!document.querySelector && !!window.addEventListener)) return;
- if (window.dayjs) dayjs.extend(window.dayjs_plugin_relativeTime);
+ if (window.dayjs) dayjs.extend(window.dayjs_plugin_relativeTime);
- // Indicate JS is loaded
- document.documentElement.className =
- document.documentElement.className.replace("no-js", "js");
+ // Indicate JS is loaded
+ document.documentElement.className =
+ document.documentElement.className.replace("no-js", "js");
- // Enable cached fonts ASAP
- if (window.Cookies && !!Cookies.get("fonts_loaded")) {
- document.documentElement.className += " js-hasFontsLoaded";
- }
+ // Enable cached fonts ASAP
+ if (window.Cookies && !!Cookies.get("fonts_loaded")) {
+ document.documentElement.className += " js-hasFontsLoaded";
+ }
- docReady(function () {
- setTimeout(function () {
- if (!window.Cookies || !window.FontFaceObserver) return;
+ docReady(function () {
+ setTimeout(function () {
+ if (!window.Cookies || !window.FontFaceObserver) return;
- // Handle Fonts
- const fontExo2 = new FontFaceObserver("exo_2");
- fontExo2.load().then(function () {
- if (
- document.documentElement.className.indexOf(
- "js-hasFontsLoaded"
- ) == -1
- ) {
- document.documentElement.className += " js-hasFontsLoaded";
- }
- Cookies.set("fonts_loaded", true);
- });
+ // Handle Fonts
+ const fontExo2 = new FontFaceObserver("exo_2");
+ fontExo2.load().then(function () {
+ if (
+ document.documentElement.className.indexOf(
+ "js-hasFontsLoaded"
+ ) == -1
+ ) {
+ document.documentElement.className += " js-hasFontsLoaded";
+ }
+ Cookies.set("fonts_loaded", true);
+ });
- // Lazy-Load Media
- if (typeof loadMedia === "function") {
- loadMedia(".js-lazyLoader", null, true);
- }
+ // Lazy-Load Media
+ if (typeof loadMedia === "function") {
+ loadMedia(".js-lazyLoader", null, true);
+ }
- // Add relative dates via dayjs
- if (window.dayjs) {
- const times = document.getElementsByTagName("time");
+ // Add relative dates via dayjs
+ if (window.dayjs) {
+ const times = document.getElementsByTagName("time");
- [].forEach.call(times, function (the_time) {
- let pub_time = the_time.getAttribute("datetime");
- if (the_time.className.indexOf("js-noRelativeTime") === -1)
- the_time.innerHTML +=
- ' (' +
- dayjs(pub_time).from(dayjs()) +
- ")";
- the_time.classList.add("isDone");
- });
- }
+ [].forEach.call(times, function (the_time) {
+ let pub_time = the_time.getAttribute("datetime");
+ if (the_time.className.indexOf("js-noRelativeTime") === -1)
+ the_time.innerHTML +=
+ ' (' +
+ dayjs(pub_time).from(dayjs()) +
+ ")";
+ the_time.classList.add("isDone");
+ });
+ }
- if (document.documentElement.className.indexOf("is404") > -1) {
- document.getElementById("searchQuery").value =
- window.location.pathname
- .replace(/\\.html?$/, "")
- .replace(/\//g, " ");
- }
+ if (document.documentElement.className.indexOf("is404") > -1) {
+ document.getElementById("searchQuery").value =
+ window.location.pathname
+ .replace(/\\.html?$/, "")
+ .replace(/\//g, " ");
+ }
- document
- .getElementById("searchForm")
- .addEventListener("submit", function (e) {
- document.getElementById("searchQuery").value +=
- " site:" + window.location.hostname;
- });
- }, 1);
- });
+ document
+ .getElementById("searchForm")
+ .addEventListener("submit", function (e) {
+ document.getElementById("searchQuery").value +=
+ " site:" + window.location.hostname;
+ });
+ }, 1);
+ });
})();
// @license-end
diff --git a/src/assets/styles/fonts.css b/src/assets/styles/fonts.css
index 77b8474..97be442 100644
--- a/src/assets/styles/fonts.css
+++ b/src/assets/styles/fonts.css
@@ -1,4 +1,13 @@
-@font-face {
+/****************************************************************************
+ * It's Eric Woodward (dotcom)
+ *
+ * Copyright 2015-2023 Eric Woodward
+ * Source released under CC0 Public Domain License v1.0
+ * https://www.itsericwoodward.com/licenses/cc0
+ * http://creativecommons.org/publicdomain/zero/1.
+ ****************************************************************************/
+
+ @font-face {
font-family: 'exo_2';
src: url('/fonts/exo2/Exo2-Regular-webfont.eot');
src: url('/fonts/exo2/Exo2-Regular-webfont.eot?#iefix') format('embedded-opentype'),
diff --git a/src/assets/styles/imports.css b/src/assets/styles/imports.css
index 46709b5..dbf507a 100644
--- a/src/assets/styles/imports.css
+++ b/src/assets/styles/imports.css
@@ -1,9 +1,10 @@
/****************************************************************************
* It's Eric Woodward (dotcom)
*
- * Copyright 2015-2018 Eric Woodward
+ * Copyright 2015-2023 Eric Woodward
* Source released under CC0 Public Domain License v1.0
- * http://creativecommons.org/publicdomain/zero/1.0/
+ * https://www.itsericwoodward.com/licenses/cc0
+ * http://creativecommons.org/publicdomain/zero/1.
****************************************************************************/
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
diff --git a/src/assets/styles/styles.css b/src/assets/styles/styles.css
index c87b4a0..44e8e3c 100644
--- a/src/assets/styles/styles.css
+++ b/src/assets/styles/styles.css
@@ -1,9 +1,10 @@
/****************************************************************************
* It's Eric Woodward (dotcom)
*
- * Copyright 2015-2018 Eric Woodward
+ * Copyright 2015-2023 Eric Woodward
* Source released under CC0 Public Domain License v1.0
- * http://creativecommons.org/publicdomain/zero/1.0/
+ * https://www.itsericwoodward.com/licenses/cc0
+ * http://creativecommons.org/publicdomain/zero/1.
****************************************************************************/
/*
@@ -548,6 +549,13 @@ samp {
width: 15em;
}
+.magnetLink {
+ display: block;
+ font-size: x-small;
+ margin: auto;
+ text-align: center;
+}
+
.mainBio-div-img {
height: auto;
margin: 0;
diff --git a/src/layouts/partials/footer.ejs b/src/layouts/partials/footer.ejs
index 6f612d8..cb14da2 100644
--- a/src/layouts/partials/footer.ejs
+++ b/src/layouts/partials/footer.ejs
@@ -27,14 +27,14 @@
Except where otherwise noted, content on this site is © 2014-2023
<%=site.author.name%>,
and is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License.
+ href="/licenses/cc-by-sa.html">Creative Commons Attribution-ShareAlike 4.0 International License.
diff --git a/src/layouts/partials/licenses/menusub.ejs b/src/layouts/partials/licenses/menusub.ejs
new file mode 100644
index 0000000..79282c1
--- /dev/null
+++ b/src/layouts/partials/licenses/menusub.ejs
@@ -0,0 +1,25 @@
+
diff --git a/src/layouts/partials/menusub.ejs b/src/layouts/partials/menusub.ejs
index 52d4f88..4824f04 100644
--- a/src/layouts/partials/menusub.ejs
+++ b/src/layouts/partials/menusub.ejs
@@ -11,7 +11,9 @@
<%- include('thur/menusub') %>
<% } %>
<% } else if (page.section && page.subsection && page.section === 'web') { %>
- <% if (page.subsection === 'linklists' && page.name !== 'index') { %>
+ <% if (page.subsection === 'licenses' && page.name !== 'index') { %>
+ <%- include('licenses/menusub') %>
+ <% } else if (page.subsection === 'linklists' && page.name !== 'index') { %>
<%- include('linklists/menusub') %>
<% } %>
<% } else if (page.content_type === 'journal') { %>
diff --git a/src/pages/about.ejs b/src/pages/about.ejs
index 38b5b02..de60486 100644
--- a/src/pages/about.ejs
+++ b/src/pages/about.ejs
@@ -3,7 +3,6 @@
"title": "About",
"description": "Information about both Eric and the site.",
"date_pub": "2015-11-10T07:18:00-05:00",
- "date_upd": "2021-06-21T23:58:00-04:00",
"section" : "about",
"content_type": "feature",
"short_code": "ma",
@@ -62,9 +61,9 @@
Since 2018, I've gotten back into RPGs in a big way, running (and playing in) several
- weekly games over the course of the pandemic. Most recently, I started an
- AstralJamming campaign using the
- [advanced Old-School Essentials rules](https://necroticgnome.com/collections/rules).
+ weekly games over the course of the pandemic. Currently, I'm running a high/weird-fantasy campaign based
+ in the astral plane called
+ The Planar Vagabond's Guide to the Multiverse.
diff --git a/src/pages/games/index.md b/src/pages/games/index.md
index b9a3e48..279c683 100644
--- a/src/pages/games/index.md
+++ b/src/pages/games/index.md
@@ -11,7 +11,7 @@ One of my biggest hobbies / time-sinks over the last 30+ years of my life has be
### My Games
-- [The Planar Vagabond's Guide to the Multiverse](http://www.planarvagabond.com/) **NEW** - A free role-playing game that I'm developing as part of an ongoing campaign, and which doubles as a nifty pocket guide to the wild and weird multiverse of interplanar travel.
+- [The Planar Vagabond's Guide to the Multiverse](https://www.planarvagabond.com/) **NEW** - A free role-playing game that I'm developing as part of an ongoing campaign, and which doubles as a nifty pocket guide to the wild and weird multiverse of interplanar travel.
- [Camp Happy Island Massacre](/chim) - My first (and only) computer game, a comedy-horror text game for the DOS operating system that you can now play online.
- [Mythic Wars](https://mythicwarsgame.com/) - My tabletop (card and dice) game, where the gods and goddesses themselves battle for ultimate supremacy! Published by [Excalibre Games](http://excalibregames.com/).
diff --git a/src/pages/licenses/cc-by-sa.md b/src/pages/licenses/cc-by-sa.md
new file mode 100644
index 0000000..3fec434
--- /dev/null
+++ b/src/pages/licenses/cc-by-sa.md
@@ -0,0 +1,169 @@
+---
+title: Creative Commons Attribution-ShareAlike 4.0 International
+description: A local copy of the Creative Commons Attribution-ShareAlike 4.0 International license.
+date_pub: 2023-03-19T00:55:00-04:00
+section: web
+subsection: licenses
+content_type: feature
+short_code: 1ccbs
+---
+
+Copyright © 2023 [Eric Woodward](https://www.itsericwoodward.com/)
+
+By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
+
+### Section 1 – Definitions.
+
+a. **Adapted Material** means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
+
+b. **Adapter's License** means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
+
+c. **BY-SA Compatible License** means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.
+
+d. **Copyright and Similar Rights** means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
+
+e. **Effective Technological Measures** means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
+
+f. **Exceptions and Limitations** means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
+
+g. **License Elements** means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
+
+h. **Licensed Material** means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
+
+i. **Licensed Rights** means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
+
+j. **Licensor** means the individual(s) or entity(ies) granting rights under this Public License.
+
+k. **Share** means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
+
+l. **Sui Generis Database Rights** means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
+
+m. **You** means the individual or entity exercising the Licensed Rights under this Public License. **Your** has a corresponding meaning.
+
+### Section 2 – Scope.
+
+a. **_License grant._**
+
+1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
+
+ A. reproduce and Share the Licensed Material, in whole or in part; and
+
+ B. produce, reproduce, and Share Adapted Material.
+
+2. **Exceptions and Limitations.** For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
+
+3. **Term.** The term of this Public License is specified in Section 6(a).
+
+4. **Media and formats; technical modifications allowed.** The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
+
+5. **Downstream recipients.**
+
+ A. **Offer from the Licensor – Licensed Material.** Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
+
+ B. **Additional offer from the Licensor – Adapted Material.** Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
+
+ C. **No downstream restrictions.** You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
+
+6. **No endorsement.** Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
+
+b. **_Other rights._**
+
+1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
+
+2. Patent and trademark rights are not licensed under this Public License.
+
+3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
+
+### Section 3 – License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the following conditions.
+
+a. **_Attribution._**
+
+1. If You Share the Licensed Material (including in modified form), You must:
+
+ A. retain the following if it is supplied by the Licensor with the Licensed Material:
+
+ i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
+
+ ii. a copyright notice;
+
+ iii. a notice that refers to this Public License;
+
+ iv. a notice that refers to the disclaimer of warranties;
+
+ v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
+
+ B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
+
+ C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
+
+2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
+
+3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
+
+b. **_ShareAlike._**
+
+In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
+
+1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
+
+2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
+
+3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
+
+### Section 4 – Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
+
+a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
+
+b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
+
+c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
+
+For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
+
+### Section 5 – Disclaimer of Warranties and Limitation of Liability.
+
+a. **Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.**
+
+b. **To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.**
+
+c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
+
+### Section 6 – Term and Termination.
+
+a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
+
+b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
+
+1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
+
+2. upon express reinstatement by the Licensor.
+
+For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
+
+c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
+
+d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
+
+### Section 7 – Other Terms and Conditions.
+
+a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
+
+b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
+
+### Section 8 – Interpretation.
+
+a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
+
+b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
+
+c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
+
+d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
+
+> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
+>
+> Creative Commons may be contacted at [creativecommons.org](http://creativecommons.org/).
diff --git a/src/pages/licenses/cc0.md b/src/pages/licenses/cc0.md
new file mode 100644
index 0000000..410dd71
--- /dev/null
+++ b/src/pages/licenses/cc0.md
@@ -0,0 +1,53 @@
+---
+title: Creative Commons CC0 1.0 Universal
+description: A local copy of the Creative Commons CC0 1.0 Universal license.
+date_pub: 2023-07-23T16:25:00-04:00
+section: web
+subsection: licenses
+content_type: feature
+short_code: 1cc0
+---
+
+_To the extent possible under law, [Eric Woodward](https://www.itsericwoodward.com/) has waived all copyright and related or neighboring rights to this work, which is published from: United States._
+
+CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
+
+### Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. **Copyright and Related Rights.** A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following:
+
+ i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;
+
+ ii. moral rights retained by the original author(s) and/or performer(s);
+
+ iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work;
+
+ iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below;
+
+ v. rights protecting the extraction, dissemination, use and reuse of data in a Work;
+
+ vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and
+
+ vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.
+
+2. **Waiver.** To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose.
+
+3. **Public License Fallback.** Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose.
+
+4. **Limitations and Disclaimers.**
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.
+
+ b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.
+
+ c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.
+
+ d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.
+
+@license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
diff --git a/src/pages/licenses/index.md b/src/pages/licenses/index.md
new file mode 100644
index 0000000..672273a
--- /dev/null
+++ b/src/pages/licenses/index.md
@@ -0,0 +1,14 @@
+---
+title: Licenses
+description: The licenses for the content that Eric produces.
+date_pub: 2023-07-26T22:30:00-04:00
+section: licenses
+content_type: feature
+short_code: "11"
+---
+
+The following licenses are used on this site and [elsewhere](https://www.planarvagabond.com/) [around the web](https://git.itsericwoodward.com/explore/repos):
+
+- [Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA)](./cc-by-sa.html)
+- [Creative Commons CC0 1.0 Universal](cc0.html)
+- [MIT](mit.html)
diff --git a/src/pages/licenses/mit.md b/src/pages/licenses/mit.md
new file mode 100644
index 0000000..ef067f8
--- /dev/null
+++ b/src/pages/licenses/mit.md
@@ -0,0 +1,19 @@
+---
+title: MIT License
+description: A local copy of the MIT license.
+date_pub: 2023-07-23T20:45:00-04:00
+section: web
+subsection: licenses
+content_type: feature
+short_code: 1m1t
+---
+
+Copyright © 2023 [Eric Woodward](https://www.itsericwoodward.com/)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+@license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
diff --git a/src/pages/now.md b/src/pages/now.md
index 52f25ff..c117f64 100644
--- a/src/pages/now.md
+++ b/src/pages/now.md
@@ -14,4 +14,4 @@ Between the hours of roughly 9AM and 12AM (`America/New_York` time, give or take
- making another [magic deck](/magic-decks),
- playing D&D (especially if it's Thursday, because that's **Togar's night!**),
- messing around with some crazy side project (probably involving a game and/or a Raspberry Pi), or
-- building out my Monday night astral campaign, [The Planar Vagabond's Guide to the Multiverse](http://www.planarvagabond.com/).
+- building out my Monday night astral campaign, [The Planar Vagabond's Guide to the Multiverse](https://www.planarvagabond.com/).
diff --git a/src/pages/web.md b/src/pages/web.md
index 6f17529..185a120 100644
--- a/src/pages/web.md
+++ b/src/pages/web.md
@@ -14,10 +14,11 @@ The web is, IMHO, the most revolutionary invention in information sharing since
### Here
- [LinkLists](/linklists) - Lists of links (natch) to various web sites, resources, and/or [blogs](/linklists/blogroll.html), typically organized around a particular subject. Like bookmarking, but not. Updated (occasionally).
+- [Licenses](/licenses) - Permanent copies of the licenses that I use [here](https://git.itsericwoodward.com/explore/repos) and [there](https://www.planarvagabond.com/).
### Elsewhere
-- [The Planar Vagabond's Guide to the Multiverse](http://www.planarvagabond.com/) **NEW** - The website for a free role-playing game that I'm developing as part of an ongoing campaign, which doubles as a nifty pocket guide to the wild and weird multiverse of interplanar travel.
+- [The Planar Vagabond's Guide to the Multiverse](https://www.planarvagabond.com/) **NEW** - The website for a free role-playing game that I'm developing as part of an ongoing campaign, which doubles as a nifty pocket guide to the wild and weird multiverse of interplanar travel.
- [Mythic Wars](https://mythicwarsgame.com/) - The site for my tabletop card-and-dice game, where the gods and goddesses themselves battle for ultimate supremacy! Features a free print-and-play demo, lots of free wallpapers, and the comprehensive rules, among other things.
- [The Codex Mythica](https://codex.mythicwarsgame.com/) - An [open-source](https:/git.itsericwoodward.com/eric/codex-mythica/) web application I wrote which functions as a card database for Mythic Wars.
- [My Blog](https://blog.itsericwoodward.com) - A retired instance of the [Known blogging software](https://withknown.com/) where I used to collect my various day-to-day musings.
diff --git a/src/sitePosts/journal/2023/07-20-planar-vagabond.md b/src/sitePosts/journal/2023/07-20-planar-vagabond.md
index 1d79168..0f1f343 100644
--- a/src/sitePosts/journal/2023/07-20-planar-vagabond.md
+++ b/src/sitePosts/journal/2023/07-20-planar-vagabond.md
@@ -1,9 +1,9 @@
---
title: The Planar Vagabond's Guide to the Multiverse Has Arrived!
content_type: journal
-date_pub: 2023-07-20T12:42:00-05:00
+date_pub: 2023-07-20T12:42:00-04:00
description: I launched a whole-new site, collecting my custom OSR homebrew (and other content) into a single interplanar space.
-tags: games osr
+tags: games osr PlanarVagabond
---
Announcing the arrival of the most important interplanar publication since the great _Encyclopedia of the University Eternal_; a wholly remarkable tome, more popular than the _Idiot’s Guide to Running an Astral Business_, better selling than _Fifty More Things to do in Subjective Gravity_, and more controversial than Balyx Balator’s trilogy of metaphysical blockbusters: _Where the Gods Went Wrong_, _Infernus: Fairy-tale or Fiction?_, and _The Lie of Alignment_...
diff --git a/src/sitePosts/journal/2023/07-23-officially-licensed.md b/src/sitePosts/journal/2023/07-23-officially-licensed.md
new file mode 100644
index 0000000..c43428c
--- /dev/null
+++ b/src/sitePosts/journal/2023/07-23-officially-licensed.md
@@ -0,0 +1,35 @@
+---
+title: I'm Officially Licensed!
+content_type: journal
+date_pub: 2023-07-23T22:05:00-4:00
+description: I've started hosting my own licenses on this very website.
+tags: copyright licensing CC0 CC_BY_SA MIT
+---
+
+For the past few years, I've been releasing content under various licenses, usually linking to the "official" website for each one. But starting today, I'm looking towards the future, as I've finally added web-friendly versions of several of these licenses to [this very website](/licenses).
+
+Right now, there's only 3 (which makes sense, since that's all I'm using at the moment), but with all of them excitement over the [ORC license](https://downloads.paizo.com/ORC_License_FINAL.pdf) (and some other OGL alternatives), who knows what this brave, licensed future will hold?
+
+### Why Host Them Here?
+
+Two simple reasons.
+
+1. I like having a simple, permanent link to each license's text (ideally, with my name on said licenses).
+2. If I'm going to have a simple, permanent link to each license's text, it's going to be hosted on my website.
+
+See? Simple.
+
+### Where Are They Being Used?
+
+- [Creative Commons CC0 1.0 Universal](/licenses/cc0.html)
+ - Most of the client [CSS](/styles/styles.css) and [JS](/scripts/scripts.js) files here, [MythicWarsGame.com](https://www.mythicwarsgame.com/), and [PlanarVagabond.com](https://www.planavagabond.com/) are released under this license (and shipped un-minified) to make it easier for others to read the underlying #web code.
+ - I've been toying with some AI image generators for making simple pictures of [magic items](https://www.planarvagabond.com/magic-items/) (as well as the odd NPC), but the Federal Copyright Office says they can't be copyrighted, so I released them under this license as well.
+- [Creative Commons Attribution-ShareAlike 4.0 International](/licenses/cc-by-sa.html)
+ - Most of the content here and at my other sites (often stored in [Markdown](https://www.markdownguide.org/) format).
+ - Honestly, this is my favorite license to use, as it feels like it helps others build new things without enabling over-monetization (including the scourge that are web ads).
+- [The MIT License](/licenses/mit.html)
+ - The server-side source for most of my [server-based projects](https://git.itsericwoodward.com/explore/repos) (and most of the forks stashed on my [Github account](https://github.com/ItsEricWoodward)) are released under this license
+
+I'm working on a few other fun projects right now, and I figure that having these links will be increasingly useful if and when I get them to launch.
+
+Until next time, here's to the future!