<commit_before>@section('orchestra/story::primary_menu')

<?php

use Illuminate\Support\Facades\HTML;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Fluent;
use Orchestra\Support\Facades\App; ?>

<ul class="nav navbar-nav">
	<li class="<?php echo Request::is('*/resources/storycms.posts*') ? 'active' : ''; ?>">
		<a href="<?php echo resources('storycms.posts'); ?>">Posts</a>
	</li>
	<li class="<?php echo Request::is('*/resources/storycms.pages*') ? 'active' : ''; ?>">
		<a href="<?php echo resources('storycms.pages'); ?>">Pages</a>
	</li>
</ul>
<ul class="nav navbar-nav pull-right">
	<li>
		<a href="<?php echo handles('orchestra/story::/'); ?>" target="_blank">View Website</a>
	</li>
</ul>
@stop

<?php

$navbar = new Fluent(array(
	'id'    => 'story',
	'title' => 'Story CMS',
	'url'   => resources('storycms'),
	'menu'  => View::yieldContent('orchestra/story::primary_menu'),
)); ?>

@decorator('navbar', $navbar)

<br><commit_msg>Update Request::is() to support subdomain handling<commit_after>@section('orchestra/story::primary_menu')

<?php

use Illuminate\Support\Facades\HTML;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Fluent;
use Orchestra\Support\Facades\App; ?>

<ul class="nav navbar-nav">
	<li class="<?php echo Request::is('*resources/storycms.posts*') ? 'active' : ''; ?>">
		<a href="<?php echo resources('storycms.posts'); ?>">Posts</a>
	</li>
	<li class="<?php echo Request::is('*resources/storycms.pages*') ? 'active' : ''; ?>">
		<a href="<?php echo resources('storycms.pages'); ?>">Pages</a>
	</li>
</ul>
<ul class="nav navbar-nav pull-right">
	<li>
		<a href="<?php echo handles('orchestra/story::/'); ?>" target="_blank">View Website</a>
	</li>
</ul>
@stop

<?php

$navbar = new Fluent(array(
	'id'    => 'story',
	'title' => 'Story CMS',
	'url'   => resources('storycms'),
	'menu'  => View::yieldContent('orchestra/story::primary_menu'),
)); ?>

@decorator('navbar', $navbar)

<br>
{'fraction_non_alphanumeric': 0.23430548690064262, 'fraction_numerical': 0.0, 'mean_word_length': 5.657894736842105, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6624608', 'n_tokens_mistral': 739, 'n_tokens_neox': 742, 'n_words': 140}