Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Mar 29, 2024
1 parent ea9c41a commit a6ecc83
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,26 @@ To create a skeleton blog, as a starting point, you can use the `new` command.
lina new my-blog
```

### Folder structure
Lina is best suited for a simple blog. The folder structure is as follows:
In case you want to migrate from another blog platform, you can check the base structure of Lina
```
content/
posts/
2020-11-01-hello.md
index.md
resources/
views/
public/
index.blade.php
post.blade.php
public/
images/
style.css
```


- `content` directory is where you store your markdown content file.
- `resources/views` directory is where you store your blade template.
- `public` directory is where you store your assets like images, css, ... This folder is also where all the generated files are stored. So please remember to add your custom files to `.gitignore` if you want to store them in `git`

There are some functions that you can use to get content from your site.

### Get all content in a directory
Expand Down

0 comments on commit a6ecc83

Please sign in to comment.