Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Website
Commits
ff9ad613
Commit
ff9ad613
authored
Oct 07, 2020
by
Michael Iseard
Browse files
Improve template layouts
parent
c7a61474
Changes
5
Hide whitespace changes
Inline
Side-by-side
resources/views/front-page.blade.php
View file @
ff9ad613
...
...
@@ -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
resources/views/layouts/app.blade.php
View file @
ff9ad613
...
...
@@ -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"
>
...
...
resources/views/page.blade.php
View file @
ff9ad613
@
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'
)
...
...
resources/views/single.blade.php
View file @
ff9ad613
@
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
())
...
...
resources/views/template-faq.blade.php
View file @
ff9ad613
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment