diff --git a/CHANGELOG.pod6 b/CHANGELOG.pod6 index 195033e..ff5ce4d 100644 --- a/CHANGELOG.pod6 +++ b/CHANGELOG.pod6 @@ -1,6 +1,8 @@ =TITLE CHANGES =head1 Upcoming +=head1 0.1.15 +=item * fix detect changes at index page =head1 0.1.14 =item * C<=toc>, C<=markdown> are now standard blocks =item * update dependencies diff --git a/README.md b/README.md index bb8411c..4810f9a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Here is demo page from `pub` directory. You can edit pub/\*.pod6 files and see changes after save. -All features like `=Diagram`, `=Image` , `=Toc` for [Podlite editor](https://github.com/podlite/podlite-desktop) is available for podlite-web too: +All features like `=Diagram`, `=Image` , `=toc` for [Podlite editor](https://github.com/podlite/podlite-desktop) is available for podlite-web too: ![Podlite editor Screenshot](./assets/podlite-editor.png) ### using Docker @@ -113,7 +113,7 @@ yarn yarn export-zip > file.zip ``` -Explore `examples` dir for get more pod6 insights. +Explore `examples` dir for get more Podlite insights. thank you! diff --git a/bin/makeDataSource.ts b/bin/makeDataSource.ts index 564b20c..bf41016 100644 --- a/bin/makeDataSource.ts +++ b/bin/makeDataSource.ts @@ -109,6 +109,7 @@ let notPages = allItemForPublish .filter(a => !!a.pubdate) .filter(a => !isDateInFuture(a.pubdate)) +console.log(JSON.stringify(notPages, null, 2)) let Pages = allItemForPublish.filter(a => a.publishUrl).filter(a => !(a.pubdate && isDateInFuture(a.pubdate))) const notPagesWithPublishAttrs = addUrl(notPages) @@ -210,11 +211,6 @@ const getStateVersion = (allREcords: typeof allRecords): string => { ) } -const controlJson = { - stateVersion: getStateVersion(allRecords), - nextPublishTime: nextPublishTime, -} - // try to get index.from already exists records const indexFilePath = `${POSTS_PATH}/${INDEX_PATH}` const collectlinksMap = makeLinksMap(allRecords) @@ -288,6 +284,22 @@ const siteData: SiteInfo = { redirects, } +const controlJson = { + stateVersion: getStateVersion([ + ...allRecords, + { + node: indexPageTree, + pubdate: '', + file: '', + title: '', + type: '', + publishUrl: '', + sources: [''], + }, + ]), + nextPublishTime: nextPublishTime, +} + export type DataFeedContent = typeof dataJson const dataJson = { all: allRecords, diff --git a/next.config.js b/next.config.js index 0c43d3d..8746c94 100644 --- a/next.config.js +++ b/next.config.js @@ -37,7 +37,7 @@ module.exports = withPlugins([ filename: './static/assets/[name]-[contenthash].[ext]', }, }) - config.resolve.symlinks = false + config.resolve.symlinks = false return config }, }, diff --git a/package.json b/package.json index ce9e456..d97fdd3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "podlite-web", "description": "A minimal, lightweight starter for creating static blogs/sites using nexjs and Podlite markup language", - "version": "0.1.14", + "version": "0.1.15", "private": true, "scripts": { "next_dev": "next dev", diff --git a/pub/index.pod6 b/pub/index.pod6 index 40b242d..ab18e28 100644 --- a/pub/index.pod6 +++ b/pub/index.pod6 @@ -101,9 +101,9 @@ This is a logo of L project. =end code =Image logo.png -This is a logo of L project. +This is a logo of L project. -You can try Podlite here: L. +You can try Podlite here: L. Source of this page you can found L diff --git a/yarn.lock b/yarn.lock index 8092d2e..9353e95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2037,17 +2037,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001283": - version: 1.0.30001312 - resolution: "caniuse-lite@npm:1.0.30001312" - checksum: 753fb9ea1e02e999430b323a71b5acab5120f3b5fc0161b01669f54a3ef5c5296240b6ae9b79b12a3742e3aed216aa9ee3d5398a23c16d08625ccd376b79545d - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001332": - version: 1.0.30001344 - resolution: "caniuse-lite@npm:1.0.30001344" - checksum: 9dba66f796dc98632dced4c5d487d0fad219e137a27c634eec68520f2e598a613e3371b9207e15a078689a629128eca898793e37fc98841821ab481bddad51b9 +"caniuse-lite@npm:^1.0.30001283, caniuse-lite@npm:^1.0.30001332": + version: 1.0.30001587 + resolution: "caniuse-lite@npm:1.0.30001587" + checksum: fb50aa9beaaae42f9feae92ce038f6ff71e97510f024ef1bef2666f3adcfd36d6c59e5675442e5fe795575193f71bc826cb7721d4b0f6d763e82d193bea57863 languageName: node linkType: hard