Skip to content

Commit

Permalink
setting the page headers
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Dec 17, 2023
1 parent 89c99b5 commit 4f03706
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Binary file added art/ibis-next-setting-page-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ If your cover is in a PNG format you can store the file in the `assets/` directo
],
```

### Setting headers
### Setting the page headers

You can set a header for the pages.
To add the header you need to set the "header" parameter in the `ibis.php` configuration file.
You can set a page header for the pages.
To add the header you need to set the `header` parameter in the `ibis.php` configuration file.
For example, in the `ibis.php` file, you can set:

```php
Expand All @@ -142,7 +142,8 @@ For example, in the `ibis.php` file, you can set:
*/
'header' => 'font-style: italic; text-align: right; border-bottom: solid 1px #808080;',
```
If you want to customize the header for each section, in the markdown file, you can add in the frontmatter section the `title` parameter:

If you want to customize the page header for each section, in the markdown file, you can add in the frontmatter section the `title` parameter:

```markdown
---
Expand All @@ -154,6 +155,10 @@ This is an example.

```

<p align="center">
<img src="https://raw.githubusercontent.com/hi-folks/ibis-next/main/art/ibis-next-setting-page-header.png" alt="Setting the Page Header" width="480">
Setting the page header.
</p>

## Using Fonts

Expand Down

0 comments on commit 4f03706

Please sign in to comment.