{% layout 'obsidian.liquid' %}

{% block content %}
	<div class="container feed" id="top">
		<h1>Notes</h1>
		<p class="button-links">
			<a class="button" href="/feed/rss.xml">RSS</a>
			<a class="button" href="/feed/atom.xml">Atom</a>
			<a class="button" href="/feed/json.json">JSON</a>
		</p>

		<section id="posts">
			{% for post in collections.feedDesc %}
				<div class="post" id="{{ post.data.slug }}">
					{% if post.data.feedtags %}
						<div class="tags">
							{% for tag in post.data.feedtags %}
								<a class="tag" href="#">{{ tag }}</a>
							{% endfor %}
						</div>
					{% endif %}
					<h2>{{ post.data.title }}</h2>
					<div class="content-wrapper">{{ post.content }}</div>
					<div class="footer">
						<a class="permalink" href="{{ post.url }}">permalink (v2)</a>
						<span class="sep">|</span>
						<span class="date">{{ post.date | date: "%m/%d/%Y" }}</span>
					</div>
				</div>
			{% endfor %}
		</section>
	</div>
{% endblock %}
