Skip to content

Commit

Permalink
Adding latest content
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Oct 9, 2023
1 parent 10b5594 commit c02c412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/features/includes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prevURL: '/docs/features/layouts'
---

<div class="flex items-start px-5 py-5 mb-12 md:mb-5 mt-1 md:translate-y-0 translate-y-5 leading-[18px] bg-neutral-950 border border-yellow-400 rounded-md">
<img class="w-auto h-12 my-0 mr-5 md:h-20 md:block hidden" src="/assets/images/icons/includes.png" />
<img class="hidden w-auto h-12 my-0 mr-5 md:h-20 md:block" src="/assets/images/icons/includes.png" />
<div>
<h1 class="mb-0 text-base md:text-3xl">Includes</h1>
<p class="my-1">Includes allow you to create reusable HTML code snippets and include them in multiple pages of your website.</p>
Expand All @@ -21,7 +21,7 @@ To use includes, create HTML snippets inside of the **includes** directory. Thes

Creating an include is as simple as adding a new file to the **includes** directory. let's say for instance that you created a new file located at `includes/message.html` with the following contents:

```
```html
<p>This is a simple HTML paragraph</p>
```

Expand Down Expand Up @@ -56,7 +56,7 @@ When this page is rendered, it will have an output like the following:
<html lang="en">
<head>...</head>
<body>
<include src="message.html"></include>
<p>This is a simple HTML paragraph</p>
</body>
</html>
```
Expand Down

0 comments on commit c02c412

Please sign in to comment.