weaver-lib 0.3.0

static site generator as a library, markdown and liquid in, HTML out.
Documentation
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>Atom Feed</title>
  <link href="{{ site_config.base_url }}"/>
  <updated>2003-12-13T18:30:02Z</updated>
  <id>{{ site_config.base_url }}</id>

	{% for content in content %}
			{% for sub_content in content[1] %}
				{% if sub_content.meta.emit %}
					<url>
						<loc>{{ site_config.base_url }}{{ sub_content.route }}</loc>
						<lastmod>{{ sub_content.meta.last_updated }}</lastmod>
					</url>
					<entry>
						<title>{{ sub_content.meta.title }}</title>
						<link href="{{ site_config.base_url }}{{ sub_content.route }}"/>
						<id>{{ site_config.base_url }}{{ sub_content.route }}</id>
						<published>{{ sub_content.meta.published }}</published>
						<updated>{{ sub_content.meta.last_updated }}</updated>

						{% assign hasAuthor = sub_content.meta | hasKey: "author" %}
						{% if hasAuthor %}
							<contributor>
								<name>{{ sub_content.meta.author }}</name>
							</contributor>
						{% endif %}

						{% assign hasExcerpt = sub_content.meta | hasKey: "excerpt" %}
						{% if hasExcerpt %}
							<summary>{{ sub_content.meta.excerpt }}</summary>
						{% endif %}
					</entry>
				{% endif %}
			{% endfor %}
	{% endfor %}
</feed>