Enable Atom feed
This commit is contained in:
		@@ -3,6 +3,9 @@ title = "em.0x45.cz"
 | 
				
			|||||||
compile_sass = true
 | 
					compile_sass = true
 | 
				
			||||||
build_search_index = false
 | 
					build_search_index = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					generate_feed = false
 | 
				
			||||||
 | 
					feed_filename = "atom.xml"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
taxonomies = [
 | 
					taxonomies = [
 | 
				
			||||||
	{name = "categories", feed = false}
 | 
						{name = "categories", feed = false}
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,5 @@
 | 
				
			|||||||
+++
 | 
					+++
 | 
				
			||||||
title = "All posts"
 | 
					title = "All posts"
 | 
				
			||||||
template = "posts.html"
 | 
					template = "posts.html"
 | 
				
			||||||
 | 
					generate_feed = true
 | 
				
			||||||
+++
 | 
					+++
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,6 +5,7 @@
 | 
				
			|||||||
	<meta charset="UTF-8">
 | 
						<meta charset="UTF-8">
 | 
				
			||||||
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
						<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
				
			||||||
	<title>{% block title %}{{ config.title }}{% endblock %}</title>
 | 
						<title>{% block title %}{{ config.title }}{% endblock %}</title>
 | 
				
			||||||
 | 
						<link rel="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">
 | 
				
			||||||
	<link rel="stylesheet" href="/style.css">
 | 
						<link rel="stylesheet" href="/style.css">
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
@@ -13,7 +14,7 @@
 | 
				
			|||||||
			<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
 | 
								<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
 | 
				
			||||||
			<nav>
 | 
								<nav>
 | 
				
			||||||
				<a href="">Source</a>,
 | 
									<a href="">Source</a>,
 | 
				
			||||||
				<a href="">RSS</a>
 | 
									<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
 | 
				
			||||||
			</nav>
 | 
								</nav>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</header>
 | 
						</header>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user