Skip to content

Commit 0f90b50

Browse files
authored
Update how-does-it-work.md
1 parent 874e6de commit 0f90b50

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

_drafts/how-does-it-work.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
# How does it work
12

2-
The directory you place your file in will determine what Blade template to render the content into, as well as the filepath for the compiled file.
3+
## Hyde is installed similarly to Laravel
4+
Installation is easy by using composer. The installer creates a directory with all the files you need to get started, including Blade views and compiled Tailwind assets.
5+
6+
## Creating content is easy with Markdown
7+
Put your Markdown or Blade content in the source directories. The directory you use will determine the Blade layout and output path that will be used.
8+
9+
> For example, a file stored as `_posts/hello-world.md` will be compiled using the `post.blade.php` layout and saved as `_site/posts/hello-world.html`.
10+
11+
## Compiling is initiated with the HydeCLI
12+
When running the build command, Hyde will take your source files and intelligently compiles them into the output directory. During this build navigation menus and sidebars will be generated automatically.
313

4-
> For example, a file stored as `_posts/hello-world.md` will be compiled into the `post.blade.php` layout and saved as `_site/posts/hello-world.html`.

0 commit comments

Comments
 (0)