Skip to content

Commit

Permalink
[FIX] Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seiger committed Dec 15, 2023
1 parent 1ca9adf commit 7e1a016
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
The sMultisite package allows you to use one Evolution CMS
installation for several independent sites managed from the same admin.

> [!IMPORTANT]
>
> To use additional domains for your site, they must be registered with your domain name registrar.
## Features

- [x] Management of several sites from one admin panel.
Expand Down
16 changes: 0 additions & 16 deletions docs/pages/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,3 @@ php artisan vendor:publish --provider="Seiger\sMultisite\sMultisiteServiceProvid
```console
php artisan migrate
```

## Configure layout via Blade

Check if the `OnHeadWebDocumentRender` event is registered in the `<head></head>` section of your Blade layout.

```html
<!DOCTYPE html>
<html lang="{% raw %}{{evo()->getConfig('lang', 'en')}}{% endraw %}">
<head>
<base href="{% raw %}{{evo()->getConfig('site_url', '/')}}{% endraw %}"/>
@if(is_array($evtHead = evo()->invokeEvent('OnHeadWebDocumentRender')))
{!!implode('', $evtHead)!!}
@endif
...
</head>
```
4 changes: 4 additions & 0 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ permalink: /
The sMultisite package allows you to use one Evolution CMS
installation for several independent sites managed from the same admin.

> [!IMPORTANT]
>
> To use additional domains for your site, they must be registered with your domain name registrar.
[Getting Started]({{ site.baseurl }}/getting-started/){: .btn .btn-sky}

## Features
Expand Down

0 comments on commit 7e1a016

Please sign in to comment.