{% extends "base.html" %}

{% block content %}
	<h2>{{ dataobj['title'] }}</h2>
	<p>You can edit this file at <a href="file://{{ dataobj['fullpath'] }}">{{dataobj['fullpath']}}</a></p>
    {{ ", ".join(dataobj['tags']) }}
    <br>
    {{ dataobj['date'] }}
	{% if dataobj['type'] == 'bookmarks' or dataobj['type'] == 'pocket_bookmarks' %}
		<a href="{{ dataobj['url'] }}" rel="noopener">
			Link
		</a>
	{% endif %}
    <p>
        {{ content | safe }}
    </p>
	<form action="/dataobj/delete/{{ dataobj['id'] }}" method="delete" novalidate>
        {{ form.hidden_tag() }}
        <p>{{ form.submit() }}</p>
    </form>

{% endblock %}
