Last active
July 23, 2021 16:54
-
-
Save Rizki36/1db3eed40047d1522024f4ed8ca54fb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@php | |
defined('BASEPATH') or exit('No direct script access allowed'); | |
@endphp | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>@yield('title', 'Judul default')</title> | |
{{-- css global --}} | |
@include('layout/_css') | |
{{-- css spesifik --}} | |
@yield('css') | |
</head> | |
<body> | |
<div id="container"> | |
<div id="body"> | |
{{-- isi konten --}} | |
@yield('content') | |
</div> | |
</div> | |
{{-- js global --}} | |
@includeIf('layout/_js') | |
{{-- js spesifik --}} | |
@yield('js') | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment