mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Add Context::addLink() and Context::getLinks() to register HTML header content such as <link rel="preconnect">
This commit is contained in:
parent
ac895d64cb
commit
b951d50841
2 changed files with 27 additions and 1 deletions
|
|
@ -50,6 +50,9 @@
|
|||
@if (!empty($mobicon_url))
|
||||
<link rel="apple-touch-icon" href="{{ $mobicon_url }}" />
|
||||
@endif
|
||||
@foreach (Context::getLinks() as $link_url => $link_rel)
|
||||
<link rel="{{ $link_rel }}" href="{{ $link_url }}" />
|
||||
@endforeach
|
||||
|
||||
<!-- OTHER HEADERS -->
|
||||
@foreach (Context::getOpenGraphData() as $og_metadata)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue