Skip to content

Commit

Permalink
Release v2.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Aug 14, 2024
1 parent 26b887e commit 0f93378
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dist/blogger-tweaks.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/layouts/block-duo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Block Duo layout -- Two big columns followed by a single footer
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-blocks.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Blocks layout -- Two columns of colorful blocks
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-slide.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Slide layout -- Top to botttom color transition
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/letterbox.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Letterbox layout -- Edge-to-edge semi-opaque bar over cover background image
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/modern.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Modern layout -- Clean blog post page
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Neon layout -- For hackers and space junkies
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.min.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License
const numNeonImages=8;const randomImage=Date.now()%numNeonImages+1;globalThis.document.body.classList.add("neon-image-"+String(randomImage));
2 changes: 1 addition & 1 deletion dist/layouts/vertical-bars.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Vertical Bars layout -- traditional boring old-school webpage
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/zebra-sections.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Zebra Sections layout -- Edge-to-edge blocks with alternating background colors
Expand Down
2 changes: 1 addition & 1 deletion dist/lib-x.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License

export type GlobalKey = keyof typeof globalThis;
export type Json = string | number | boolean | null | undefined | JsonObject | Json[];
Expand Down
14 changes: 7 additions & 7 deletions dist/lib-x.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -580,12 +580,12 @@ const libXNav = {
setupLinkMenu() {
const linkMenu = globalThis.document.getElementById('link-menu');
const setCurrentPage = () => {
const pageName = globalThis.location.pathname
.replace(/index.[a-z]*$/, '').replace(/\/$/, '').replace(/.*\//, '');
const path = globalThis.location.pathname;
const pageName = path.replace(/index.[a-z]*$/, '').replace(/\/$/, '').replace(/.*\//, '');
const active = linkMenu.querySelector(`a[href$="${pageName}"]`);
const isDefaultPage = /(\/|index\.[a-z]*)$/.test(globalThis.location.href);
const onHomePage = linkMenu.children[0].getAttribute('href') === '.' && isDefaultPage;
const current = onHomePage ? linkMenu.firstElementChild : active;
const isIndex = path.endsWith('/') || /index\.[a-z]*$/.test(path);
const isHome = linkMenu.children[0].getAttribute('href') === '.' && isIndex;
const current = isHome ? linkMenu.firstElementChild : active;
current?.classList.add('current');
};
if (linkMenu)
Expand Down Expand Up @@ -873,7 +873,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.2.8',
version: '2.2.9',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
14 changes: 7 additions & 7 deletions dist/lib-x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.9 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -580,12 +580,12 @@ const libXNav = {
setupLinkMenu() {
const linkMenu = globalThis.document.getElementById('link-menu');
const setCurrentPage = () => {
const pageName = globalThis.location.pathname
.replace(/index.[a-z]*$/, '').replace(/\/$/, '').replace(/.*\//, '');
const path = globalThis.location.pathname;
const pageName = path.replace(/index.[a-z]*$/, '').replace(/\/$/, '').replace(/.*\//, '');
const active = linkMenu.querySelector(`a[href$="${pageName}"]`);
const isDefaultPage = /(\/|index\.[a-z]*)$/.test(globalThis.location.href);
const onHomePage = linkMenu.children[0].getAttribute('href') === '.' && isDefaultPage;
const current = onHomePage ? linkMenu.firstElementChild : active;
const isIndex = path.endsWith('/') || /index\.[a-z]*$/.test(path);
const isHome = linkMenu.children[0].getAttribute('href') === '.' && isIndex;
const current = isHome ? linkMenu.firstElementChild : active;
current?.classList.add('current');
};
if (linkMenu)
Expand Down Expand Up @@ -873,7 +873,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.2.8',
version: '2.2.9',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
4 changes: 2 additions & 2 deletions dist/lib-x.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0f93378

Please sign in to comment.