styling, prettyprint and layout
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
|
||||
<pre>APP_PATH/routes.php</pre>
|
||||
|
||||
<pre class="prettyprint lang-php linenums">
|
||||
return array(
|
||||
'welcome' => 'Welcome to our website!',
|
||||
);
|
||||
</pre>
|
||||
|
||||
<p>And the view sitting before you can be found at:</p>
|
||||
|
||||
<pre>APP_PATH/views/home/index.php</pre>
|
||||
@@ -26,4 +32,4 @@
|
||||
<li><a href="http://forums.laravel.com">Laravel Forums</a></li>
|
||||
<li><a href="http://github.com/laravel/laravel">GitHub Repository</a></li>
|
||||
</ul>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title></title>
|
||||
<title>Laravel: A Framework For Web Artisans</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
{{ Asset::bundle('docs')->styles(); }}
|
||||
{{ Asset::bundle('docs')->scripts(); }}
|
||||
</head>
|
||||
<body>
|
||||
<body onload="prettyPrint()">
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>Laravel</h1>
|
||||
@@ -25,9 +25,10 @@
|
||||
@include('docs::menu')
|
||||
</aside>
|
||||
<div class="content">
|
||||
@yield('content')
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ Asset::container('footer')->bundle('docs')->scripts(); }}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user