projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add rss feed
[~bandali/bndl.org]
/
header.html
diff --git
a/header.html
b/header.html
index
e371576
..
9c73747
100644
(file)
--- a/
header.html
+++ b/
header.html
@@
-1,12
+1,19
@@
-ifdef(`__feed',
+ifdef(`__feed
_atom
',
`<entry xml:base="https://bandali.eu.org">
<author><name>Amin Bandali</name></author>
`<entry xml:base="https://bandali.eu.org">
<author><name>Amin Bandali</name></author>
-<id>tag:bandali.eu.org,
2016
:__slug</id>
+<id>tag:bandali.eu.org,
atom,notes
:__slug</id>
<published>__pub</published>
<updated>__upd</updated>
<link href="https://bandali.eu.org/__slug" rel="alternate" type="text/html"/>
<title>__title</title>
<content type="html">',
<published>__pub</published>
<updated>__upd</updated>
<link href="https://bandali.eu.org/__slug" rel="alternate" type="text/html"/>
<title>__title</title>
<content type="html">',
+`ifdef(`__feed_rss',
+`<item>
+<title>__title</title>
+<link>https://bandali.eu.org/__slug</link>
+<guid isPermaLink="false">tag:bandali.eu.org,rss,notes:__slug</guid>
+<pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
+<description>',
`<!doctype html>
<html lang="en">
<head>
`<!doctype html>
<html lang="en">
<head>
@@
-41,6
+48,6
@@
ifdef(`__pub',
`<article>
<header>
<h1>__title</h1>
`<article>
<header>
<h1>__title</h1>
-<p>Published on syscmd(date "-d __pub" "+%B %e`,' %Y")`'ifdef(`__upd',`<br/>
-Last updated on syscmd(date "-d __upd" "+%B %e`,' %Y")')</p>
-</header>')')
+<p>Published on syscmd(date "-d __pub" "+%B %e`,' %Y"
| tr -d \\n
)`'ifdef(`__upd',`<br/>
+Last updated on syscmd(date "-d __upd" "+%B %e`,' %Y"
| tr -d \\n
)')</p>
+</header>')')
')