File type: {{ filename.split('.')[-1].upper() if '.' in filename else 'Unknown' }}
{% endif %}
DownloadView Raw
{% if current_user.is_authenticated and current_user.id == user_id %}
{% if filename.lower().endswith(('.txt', '.html', '.css', '.js', '.py', '.md')) or '.' not in filename %}
Edit
{% endif %}
{% endif %}