renaming Site()->name to Site()->getName()
Closed this issue · 2 comments
huserg commented
creating Site()->getName() to call on template and change name variable to private.
for unifying methods, will be easier to find
huserg commented
same for those
@if(Entity::Page()->show_subtitle)
<p>{{ Entity::Page()->subtitle }}</p>
@endif
@if(Entity::Page()->show_title)
<h2>{{ Entity::Page()->title }}</h2>
@endif
```
huserg commented
this too
{!! Entity::Page()->content !!}