Skip to content

Commit a57d206

Browse files
committed
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
1 parent d275a63 commit a57d206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/littlelink.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<!-- Facebook Meta Tags -->
1414
<meta property="og:url" content="{{ url('') }}/@littlelink_name">
1515
<meta property="og:type" content="website">
16-
<meta property="og:title" content="{{ $userinfo->littlelink_name }}">
16+
<meta property="og:title" content="{{ $userinfo->name }}">
1717
<meta property="og:description" content="{{ $userinfo->littlelink_description }}">
1818
@if(file_exists(base_path("img/$littlelink_name" . ".png" )))
1919
<meta property="og:image" content="{{ asset("img/$littlelink_name" . ".png") }}">
@@ -185,7 +185,7 @@ function get_operating_system() {
185185

186186
@foreach($information as $info)
187187
<!-- Your Name -->
188-
<h1 class="fadein">{{ $info->littlelink_name }}</h1>
188+
<h1 class="fadein">{{ $info->name }}</h1>
189189

190190
<!-- Short Bio -->
191191
<p class="fadein">{{ $info->littlelink_description }}</p>

0 commit comments

Comments
 (0)