diff options
author | Frankie B <git@diskfloppy.me> | 2023-08-14 22:51:16 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-08-14 22:51:16 +0100 |
commit | e7d58f3185b798df4e020f0c2b7ab36d1d1656dc (patch) | |
tree | eb68451f9f5d6336e3b64389d5cff29424270404 /resources | |
parent | 24b5a194ca6557bf0487499011ae249a17225d67 (diff) |
Actually v6v6.0.0
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/components/codeblock.blade.php | 4 | ||||
-rw-r--r-- | resources/views/layouts/default-hljs.blade.php | 2 | ||||
-rw-r--r-- | resources/views/layouts/default.blade.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/resources/views/components/codeblock.blade.php b/resources/views/components/codeblock.blade.php index 8dcebda..3d3594f 100644 --- a/resources/views/components/codeblock.blade.php +++ b/resources/views/components/codeblock.blade.php @@ -7,8 +7,8 @@ $hl = new \Highlight\Highlighter(); $highlighted = $hl->highlight($lang, Storage::disk('local')->get($file_path)); $file_size = Storage::disk('local')->size($file_path); @endphp -<div class="codeblock"><pre> +<div class="codeblock"> <h1>{{ $file_name }} <small>{{ $file_size}} bytes</small></h1> <hr> <code class="hljs {{$highlighted->language}}">{!! $highlighted->value !!}</code> -</pre></div> +</div> diff --git a/resources/views/layouts/default-hljs.blade.php b/resources/views/layouts/default-hljs.blade.php index a9380b0..dab8a11 100644 --- a/resources/views/layouts/default-hljs.blade.php +++ b/resources/views/layouts/default-hljs.blade.php @@ -1,4 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!DOCTYPE html> <html lang="en"> <head> @include('includes.head-hljs') diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index f2dc5f9..be3ae92 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -1,4 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!DOCTYPE html> <html lang="en"> <head> @include('includes.head') |