django-social-links/social_links/links/views.py

14 lines
489 B
Python
Raw Normal View History

2023-11-07 04:37:42 +00:00
from django.shortcuts import render
EXTRA_HEADERS = '<meta name="p:domain_verify" content="b91d67cb075510218cbaf2146277c3cc" />\n<link rel="publickey" title="PGP Public Key" href="https://keybase.io/alopexc0de/key.asc" />'
def index(request):
return render(request, "links/index.html", {
'title': 'c0defox.es',
'author': 'c0de',
'favicon': 'https://secure.gravatar.com/avatar/1e346a54257cf0a9932fcfc1e61c015d',
'extra_headers': EXTRA_HEADERS
})