Commit ff9ad613 authored by Michael Iseard's avatar Michael Iseard
Browse files

Improve template layouts

parent c7a61474
......@@ -16,8 +16,8 @@
</div>
</div>
</div>
{{-- REGULAR CONTENT --}}
@while(have_posts()) @php the_post() @endphp
{{-- REGULAR CONTENT --}}
@while(have_posts()) @php the_post() @endphp
@include('partials.content-page')
@endwhile
@endwhile
@endsection
......@@ -4,6 +4,9 @@
<body @php body_class($body_class ?? '') @endphp>
@php do_action('get_header') @endphp
@include('partials.header')
@if(!is_front_page())
@include('partials.page-title')
@endif
@yield('above-container')
<div class="content container-fluid flex-grow-1" role="document">
<main class="main wrapper">
......
@extends('layouts.app')
@section('page-header')
<h1>{{the_title()}}</h1>
@endsection
@section('above-container')
@include('partials.page-title')
@endsection
@section('content')
@while(have_posts()) @php the_post() @endphp
@include('partials.content-page')
......
@extends('layouts.app')
@section('page-header')
<h1>{{the_title()}}</h1>
@endsection
@section('above-container')
@include('partials.page-title')
@endsection
@section('content')
@while(have_posts()) @php the_post() @endphp
@include('partials.content-single-'.get_post_type())
......
......@@ -4,8 +4,8 @@
@extends('layouts.app')
@section('page-header')
<h1 class="col-12 col-md-6">{{the_title()}}</h1>
@section('header')
<h1 class="entry-title col-12 col-md-6">{{the_title()}}</h1>
<div id="keyword-group" class="col-12 col-md-6 form-group mb-3">
<input id="keyword" class="form-control pl-5 py-4" type="text" name="keyword" aria-label="{{ __('Search input', 'kudos-website') }}" placeholder="{{ __('Stel je vraag', 'kudos-website') }}"/>
<i class="search-icon ml-1 text-white fas fa-search"></i>
......@@ -13,7 +13,6 @@
@endsection
@section('above-container')
@include('partials.page-title')
{{-- CATEGORIES --}}
<div class="bg-light">
<div class="container">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment