In SharePoint 2019, I created a site column with Hyperlink data type and attached it to a content type, then I added the newly created URL Field to Page Layout to allow the end-user to add the link for his Twitter account URL and the value is displayed as expected!
After Publishing my page I noticed that the Display Text URL and the Link is shown and working properly
But the looking feel is not shown as desired, and I decided to use the Font Awesome icons to be shown instead of the Display Text Link. but I can't do that? I can't get value of hyperlink in Page Layout without the Display Text to set to HREF in the HTML Link tag.
URL Field in Page Layout
<SharePointWebControls:UrlField FieldName="b43af6c2-daf8-4906-b2fd-25b7ef00402e" runat="server"></SharePointWebControls:UrlField>
HTML A tag with Twitter Icon
<a href="#"><i class="fa fa-twitter"></li></a>
How can I set the Href value in the HTML tag to the hyperlink URL value in Page Layout in SharePoint Server?