Skip to content

Commit

Permalink
chore: change image path and add a new line into home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMurdock11 committed Apr 12, 2024
1 parent fd35014 commit 6865b49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: default
refactor: true
---

{% include lang.html %}

{% assign pinned = site.posts | where: 'pin', 'true' %}
Expand Down
4 changes: 2 additions & 2 deletions _posts/2019-08-08-write-a-new-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ When a post contains many images, it will be a time-consuming task to repeatedly

```yml
---
media_subpath: /media/subpath/
media_subpath: /img/path/
---
```

Expand All @@ -290,7 +290,7 @@ And then, the image source of Markdown can write the file name directly:
The output will be:

```html
<img src="/media/subpath/flower.png" alt="The flower" />
<img src="/img/path/flower.png" alt="The flower" />
```
{: .nolineno }

Expand Down

0 comments on commit 6865b49

Please sign in to comment.