diff --git a/CHANGELOG.md b/CHANGELOG.md index a14c54d..3302ec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.15.6] - 2024-10-17 +### Fixed +- Updated CMS to the latest version [#27]. +- Updated other dependencies. + ## [0.15.5] - 2024-07-21 ### Added - `target` option to the links in the menu [#23]. @@ -232,7 +237,9 @@ First version [#22]: https://github.com/lumeland/theme-simple-blog/issues/22 [#23]: https://github.com/lumeland/theme-simple-blog/issues/23 [#24]: https://github.com/lumeland/theme-simple-blog/issues/24 +[#27]: https://github.com/lumeland/theme-simple-blog/issues/27 +[0.15.6]: https://github.com/lumeland/theme-simple-blog/compare/v0.15.5...v0.15.6 [0.15.5]: https://github.com/lumeland/theme-simple-blog/compare/v0.15.4...v0.15.5 [0.15.4]: https://github.com/lumeland/theme-simple-blog/compare/v0.15.3...v0.15.4 [0.15.3]: https://github.com/lumeland/theme-simple-blog/compare/v0.15.2...v0.15.3 diff --git a/_cms.ts b/_cms.ts index 7f7fdf0..ecc0ff6 100644 --- a/_cms.ts +++ b/_cms.ts @@ -99,8 +99,7 @@ cms.collection( name: "tags", type: "list", label: "Tags", - init(field) { - const { data } = field.cmsContent; + init(field, { data }) { field.options = data.site?.search.values("tags"); }, }, diff --git a/deno.json b/deno.json index 8cbdedb..f41a81f 100644 --- a/deno.json +++ b/deno.json @@ -1,13 +1,13 @@ { "imports": { - "lume/": "https://deno.land/x/lume@v2.2.2/", - "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.5.2/" + "lume/": "https://deno.land/x/lume@v2.3.3/", + "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.7.0/" }, "tasks": { "lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", "build": "deno task lume", "serve": "deno task lume -s", - "update-deps": "deno run -A --quiet 'https://deno.land/x/nudd@v0.2.4/cli.ts' update plugins.ts deno.json" + "update-deps": "deno run -A --quiet 'https://deno.land/x/nudd@v0.2.8/cli.ts' update plugins.ts deno.json" }, "compilerOptions": { "types": [ diff --git a/plugins.ts b/plugins.ts index 3b432ac..cbd5c7f 100644 --- a/plugins.ts +++ b/plugins.ts @@ -11,10 +11,10 @@ import sitemap from "lume/plugins/sitemap.ts"; import feed, { Options as FeedOptions } from "lume/plugins/feed.ts"; import readingInfo from "lume/plugins/reading_info.ts"; import { merge } from "lume/core/utils/object.ts"; -import toc from "https://deno.land/x/lume_markdown_plugins@v0.7.0/toc.ts"; -import image from "https://deno.land/x/lume_markdown_plugins@v0.7.0/image.ts"; -import footnotes from "https://deno.land/x/lume_markdown_plugins@v0.7.0/footnotes.ts"; -import { alert } from "npm:@mdit/plugin-alert@0.12.0"; +import toc from "https://deno.land/x/lume_markdown_plugins@v0.7.1/toc.ts"; +import image from "https://deno.land/x/lume_markdown_plugins@v0.7.1/image.ts"; +import footnotes from "https://deno.land/x/lume_markdown_plugins@v0.7.1/footnotes.ts"; +import { alert } from "npm:@mdit/plugin-alert@0.13.1"; import "lume/types.ts";