30 lines
No EOL
805 B
Markdown
30 lines
No EOL
805 B
Markdown
---
|
|
title: "Post: Image (Standard)"
|
|
categories:
|
|
- Post Formats
|
|
tags:
|
|
- image
|
|
- Post Formats
|
|
---
|
|
|
|
The preferred way of using images is placing them in the `/images/` directory and referencing them with an absolute path. Prepending the filename with `{% raw %}{{ site.url }}{{ site.baseurl }}/images/{% endraw %}` will make sure your images display properly in feeds and such.
|
|
|
|

|
|
|
|
Image that fills page content container by adding the `.full` class with:
|
|
|
|
**HTML:**
|
|
|
|
```html
|
|
<img src="/images/filename.jpg" alt="" class="full">
|
|
```
|
|
|
|
**or Kramdown:**
|
|
|
|
```markdown
|
|
{% raw %}
|
|
{: .full}{% endraw %}
|
|
```
|
|
|
|

|
|
{: .full} |