Skip to content

Commit

Permalink
Merge pull request #17 from ivansaul/refactor
Browse files Browse the repository at this point in the history
docs: add YAML indentation guidelines
  • Loading branch information
ivansaul authored Nov 14, 2024
2 parents 3247844 + d7f67f8 commit f2fab49
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD033 MD036 MD041 MD045 MD046 -->
<div align="center">

<h1 style="border-bottom: none">
Expand All @@ -8,7 +9,7 @@
responsive for all devices, built using **`HTML`**, **`CSS`**, **`JavaScript`**, and **`Python`**.

![Made-with-python](https://img.shields.io/badge/Made%20with-Python-orange)
[![Jinja](https://github.com/ivansaul/personal-portfolio/actions/workflows/jinja.yml/badge.svg)](https://github.com/ivansaul/personal-portfolio/actions/workflows/jinja.yml)
[![Deploy](https://github.com/ivansaul/personal-portfolio/actions/workflows/deploy.yml/badge.svg)](https://github.com/ivansaul/personal-portfolio/actions/workflows/deploy.yml)
![GitHub repo size](https://img.shields.io/github/repo-size/ivansaul/personal-portfolio)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Expand Down Expand Up @@ -62,34 +63,39 @@ config
| |-- icons
| |-- posts
| |-- projects
|-- about.toml
|-- blog.toml
|-- softskills.toml
|-- doing.toml
|-- projects.toml
|-- resume.toml
|-- social.toml
|-- technologies.toml
├── blog.yml
├── contact.yml
├── navbar.yml
├── profile.yml
├── projects.yml
└── resume.yml
```

For example, to set your contact information, edit `config/about.toml`.

```toml
name = "Richard hanrick"
rol = "Flutter Developer"
email = "[email protected]"
phone = "+1 (213) 352-2795"
birthday = "June 26, 1996"
location = "Sacramento, California, USA"
avatar = "./path/to/my-avatar.png"
For example, to set your contact information, edit `config/profile.yml`.

```yml
INFO:
- label: "Email"
value: "[email protected]"
- label: "Phone"
value: "+1 (213) 352-2795"
- label: "Birthday"
value: "June 26, 1996"
- label: "Location"
value: "Sacramento, California, USA"
```
> [!IMPORTANT]
> Indentation Matters: YAML is sensitive to indentation. Ensure that each level of nesting is indented with consistent spaces (not tabs) to avoid errors when loading or parsing the data.
<br/>
> [!TIP]
> You can upload your images directly to the `config/assets` folder or use an image server like [Imgur][imgur]. Both options are valid for customizing your portfolio. For example:
>
> `avatar = "https://i.imgur.com/H5gx7JF.png"`
>
> `avatar = "./config/assets/avatars/my-avatar.png"`
> `avatar = "config/assets/avatars/my-avatar.png"`

### Step 5: Enjoy 😉

Expand Down

0 comments on commit f2fab49

Please sign in to comment.