Dynamic Dates
Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.
Plugin
Dynamic Dates
Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.
Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.
Installation
Install the package from npm:
npm install @gatilab/emdash-dynamic-dates
Register the plugin in your Astro config:
// astro.config.mjs
import emdash from "emdash/astro";
import { dynamicDates } from "@gatilab/emdash-dynamic-dates";
export default defineConfig({
integrations: [
emdash({
plugins: [dynamicDates({ timeZone: "Asia/Kolkata" })],
}),
],
});
Details
- Latest version: 0.1.1
- License: GPL-2.0-or-later
- Publisher: Gatilab
- Requires: EmDash
>=1.0.0 - Source repository: https://github.com/gatilab/emdash-dynamic-dates
- npm package: @gatilab/emdash-dynamic-dates