rohsyl/omega-core

renaming Site()->name to Site()->getName()

Closed this issue · 2 comments

creating Site()->getName() to call on template and change name variable to private.

for unifying methods, will be easier to find

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
            
            ```

this too

{!! Entity::Page()->content !!}