Now displaying profile name as title

User's profile names are now used as the title and heading for their LittleLink pages. Previously the '@name' was used for this, so for example the page name x.com/@admin is now not tied to the @admin part anymore, so a space could be used in the name for example.

See an example of this here: https://i.imgur.com/iBS8Hsm.png
This commit is contained in:
Julian Prieber 2022-04-13 13:05:01 +02:00
parent d275a63281
commit a57d206f3c

View File

@ -13,7 +13,7 @@
<!-- Facebook Meta Tags -->
<meta property="og:url" content="{{ url('') }}/@littlelink_name">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ $userinfo->littlelink_name }}">
<meta property="og:title" content="{{ $userinfo->name }}">
<meta property="og:description" content="{{ $userinfo->littlelink_description }}">
@if(file_exists(base_path("img/$littlelink_name" . ".png" )))
<meta property="og:image" content="{{ asset("img/$littlelink_name" . ".png") }}">
@ -185,7 +185,7 @@ function get_operating_system() {
@foreach($information as $info)
<!-- Your Name -->
<h1 class="fadein">{{ $info->littlelink_name }}</h1>
<h1 class="fadein">{{ $info->name }}</h1>
<!-- Short Bio -->
<p class="fadein">{{ $info->littlelink_description }}</p>