mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
at verify-code 53 lines 1.9 kB view raw
1{% extends "base.html" %} 2 3{% block head_title %} 4{%- if profileView -%} 5 @{{ profileView.Handle }} on Bluesky 6{%- else -%} 7 Bluesky 8{%- endif -%} 9{% endblock %} 10 11{% block html_head_extra -%} 12{%- if profileView -%} 13 <meta property="og:site_name" content="Bluesky Social"> 14 <meta property="og:type" content="profile"> 15 <meta property="profile:username" content="{{ profileView.Handle }}"> 16 {%- if requestURI %} 17 <meta property="og:url" content="{{ requestURI }}"> 18 {% endif -%} 19 {%- if profileView.DisplayName %} 20 <meta property="og:title" content="{{ profileView.DisplayName }} (@{{ profileView.Handle }})"> 21 {% else %} 22 <meta property="og:title" content="{{ profileView.Handle }}"> 23 {% endif -%} 24 {%- if profileView.Description %} 25 <meta name="description" content="{{ profileView.Description }}"> 26 <meta property="og:description" content="{{ profileView.Description }}"> 27 {% endif -%} 28 {%- if profileView.Banner %} 29 <meta property="og:image" content="{{ profileView.Banner }}"> 30 <meta name="twitter:card" content="summary_large_image"> 31 {%- elif profileView.Avatar -%} 32 {# Don't use avatar image in cards; usually looks bad #} 33 <meta name="twitter:card" content="summary"> 34 {% endif %} 35 <meta name="twitter:label1" content="Account DID"> 36 <meta name="twitter:value1" content="{{ profileView.Did }}"> 37 {%- if requestHost %} 38 <link rel="alternate" type="application/rss+xml" href="https://{{ requestHost }}/profile/{{ profileView.Did }}/rss"> 39 {% endif %} 40{% endif -%} 41{%- endblock %} 42 43{% block noscript_extra -%} 44{%- if profileView -%} 45<div id="bsky_profile_summary"> 46 <h3>Profile</h3> 47 <p id="bsky_display_name">{{ profileView.DisplayName }}</p> 48 <p id="bsky_handle">{{ profileView.Handle }}</p> 49 <p id="bsky_did">{{ profileView.Did }}</p> 50 <p id="bsky_profile_description">{{ profileView.Description }}</p> 51</div> 52{% endif -%} 53{%- endblock %}