Skip to content

Commit

Permalink
fix: v1.1.2: removing reference to image in the generated folder stru…
Browse files Browse the repository at this point in the history
…cture
  • Loading branch information
TayzenDev committed Nov 23, 2024
1 parent 8f90adc commit daeff8b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

## 1.1.2 - 2024-11-23

### Fixed

- Automatic structure generation no longer references a non-existing image

## [1.1.1] - 2024-11-20

### Added
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ From this template you should change some settings in the `main.ts` file.
Create a new directory in your smallweb folder, add a `main.tsx` and paste this content in it:

```tsx
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.1";
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.2";

export default new Smallblog();
```
Expand Down Expand Up @@ -187,7 +187,7 @@ From this template you should change some settings in the `main.ts` file.
Minimal `main.tsx` to quick-start a project (as shown above):

```tsx
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.1";
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.2";

export default new Smallblog();
```
Expand All @@ -196,7 +196,7 @@ A `main.tsx` with more parameters:

```tsx
import { html } from "hono/html";
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.1";
import { Smallblog } from "jsr:@tayzendev/smallblog@1.1.2";

const customBodyScript = await html`<script
defer
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tayzendev/smallblog",
"version": "1.1.1",
"version": "1.1.2",
"exports": "./mod.ts",
"imports": {
"@libs/xml": "jsr:@libs/xml@^6.0.0",
Expand Down
2 changes: 0 additions & 2 deletions server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ export function createServer(config: SmallblogConfig) {
if (await isDirectoryEmpty(config.postsFolder)) {
storeArticle(config.postsFolder, "first-article.md", {
title: "My first article",
content:
"This is my first article. This is an image:\n\n![RSS](first-article/exampleImage.svg)",
});
}

Expand Down

0 comments on commit daeff8b

Please sign in to comment.