add rss feed
[~bandali/bndl.org] / header.html
CommitLineData
066f7565 1ifdef(`__feed_atom',
505a9419
AB
2`<entry xml:base="https://bandali.eu.org">
3<author><name>Amin Bandali</name></author>
066f7565 4<id>tag:bandali.eu.org,atom,notes:__slug</id>
505a9419
AB
5<published>__pub</published>
6<updated>__upd</updated>
7<link href="https://bandali.eu.org/__slug" rel="alternate" type="text/html"/>
8<title>__title</title>
9<content type="html">',
066f7565
AB
10`ifdef(`__feed_rss',
11`<item>
12<title>__title</title>
13<link>https://bandali.eu.org/__slug</link>
14<guid isPermaLink="false">tag:bandali.eu.org,rss,notes:__slug</guid>
15<pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
16<description>',
505a9419
AB
17`<!doctype html>
18<html lang="en">
19<head>
20<meta charset="utf-8"/>
21<meta name="author" content="Amin Bandali"/>
22<meta name="viewport" content="width=device-width, initial-scale=1"/>
23<title>__title`'ifdef(`__nts',,` &mdash; Amin Bandali')</title>
24<link rel="alternate" href="/atom.xml" type="application/atom+xml"/>
25<link rel="icon" href="/gnu.ico"/>
26<link rel="stylesheet" href="/style.css"/>
27<link rel="index" href="/"/>
28ifdef(`__pub',
29`ifdef(`__first',,`<link rel="prev" href="/decr(__id)">')'
30`ifdef(`__last',,`<link rel="next" href="/incr(__id)">')')
31</head>
32<body>
33<header>
34ifelse(__slug,`home',`<h1>__title</h1>',
35`<strong><a href="/">Amin Bandali</a>&apos;s Personal Site</strong>')
36</header>
37<nav>
38<ul>
39<li><a href="/#papers">Publications</a></li>
40<li><a href="/#projects">Projects</a></li>
41<li><a href="/#notes">Notes</a></li>
42<li><a href="/cv" title="curriculum vitae">CV</a></li>
43<li><a href="/contact">Contact</a></li>
44</ul>
45</nav>
46<main>
47ifdef(`__pub',
48`<article>
49<header>
50<h1>__title</h1>
066f7565
AB
51<p>Published on syscmd(date "-d __pub" "+%B %e`,' %Y" | tr -d \\n)`'ifdef(`__upd',`<br/>
52Last updated on syscmd(date "-d __upd" "+%B %e`,' %Y" | tr -d \\n)')</p>
53</header>')')')