Skip to content

Commit

Permalink
hopefully fixed img links
Browse files Browse the repository at this point in the history
  • Loading branch information
whitephil committed Jul 30, 2021
1 parent 94c8f82 commit bea4db2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _posts/2021-07-26-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ Internal links from a "post" can be a little tricky, you'll want to use the `lin

{% raw %}
```
![Good Boy]({% link content/img/mtn-dog.jpg %})
![Good Boy]({% link pages-sample/content/img/mtn-dog.jpg %})
```
{% endraw %}

![Very Good Boy]({% link content/img/mtn-dog.jpg %})
![Very Good Boy]({% link pages-sample/content/img/mtn-dog.jpg %})

*Note!* If you want to use an internal link from a "page", it is a little easier:
`![Good Boy](../content/img/mtn-dog.jpg)`
Expand Down Expand Up @@ -106,11 +106,11 @@ You can also add html directly to Markdown. Say you wanted to change the size of

{% raw %}
```
<img src='{% link content/img/mtn-dog.jpg %}' width='250' alt='Good Boy'>
<img src='{% link pages-sample/content/img/mtn-dog.jpg %}' width='250' alt='Good Boy'>
```
{% endraw %}

<img src='{% link content/img/mtn-dog.jpg %}' width='250' alt='Good Boy'>
<img src='{% link pages-sample/content/img/mtn-dog.jpg %}' width='250' alt='Good Boy'>


![Snakes](https://i.giphy.com/media/5xtDartXnQbcW5CfM64/giphy.webp)
Expand Down

0 comments on commit bea4db2

Please sign in to comment.