summary refs log tree commit diff
path: root/templates/atom_content.xml/item.xml
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-19 18:40:31 +0100
commit7b0baaab2b18e7232b48297de34887650f5b8ca6 (patch)
treecc7531f4ef3b5ed012616dca290e13065e95cab4 /templates/atom_content.xml/item.xml
downloadlow-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.tar.gz
low-puszcza-7b0baaab2b18e7232b48297de34887650f5b8ca6.zip
Init
Diffstat (limited to 'templates/atom_content.xml/item.xml')
-rw-r--r--templates/atom_content.xml/item.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/atom_content.xml/item.xml b/templates/atom_content.xml/item.xml
new file mode 100644
index 0000000..6b23a04
--- /dev/null
+++ b/templates/atom_content.xml/item.xml
@@ -0,0 +1,15 @@
+<entry>
+	<title type="text">${title}</title>
+	<link rel="alternate" type="text/html" href="${siteurl}/${filename}" />
+	<id>${siteurl}/${filename}</id>
+	<updated>${updated}T00:00:00Z</updated>
+	<published>${created}T00:00:00Z</published>
+	<author>
+		<name>${author}</name>
+		<uri>${siteurl}</uri>
+	</author>
+	<summary type="text">${description}</summary>
+	<content type="html"><![CDATA[<h1>${title}</h1>
+	<p><strong>Last modification on </strong> <time>${updated}</time></p>
+	%{contentfile}]]></content>
+</entry>