projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various enhancements, including valid atom and rss feeds
[~bandali/bndl.org]
/
header.html
diff --git
a/header.html
b/header.html
index
96cbbd7
..
9371905
100644
(file)
--- a/
header.html
+++ b/
header.html
@@
-1,11
+1,11
@@
-include(meta_
note
s.m4)dnl
+include(meta_
def
s.m4)dnl
ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl
ifdef(`__feed_atom',
`<entry xml:base="https://bndl.org">
ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl
ifdef(`__feed_atom',
`<entry xml:base="https://bndl.org">
-<author><name>
Amin B
andali</name></author>
-<id>tag:bndl.org,
atom,notes
:__slug</id>
+<author><name>
b
andali</name></author>
+<id>tag:bndl.org,
2020:notes.atom
:__slug</id>
<published>__pub</published>
<published>__pub</published>
-<updated>__upd</updated>
+ifdef(`__upd',`<updated>__upd</updated>',`<updated>__pub</updated>')
<link href="https://bndl.org/__slug" rel="alternate" type="text/html"/>
<title>__title</title>
<content type="html">',
<link href="https://bndl.org/__slug" rel="alternate" type="text/html"/>
<title>__title</title>
<content type="html">',
@@
-13,17
+13,19
@@
ifdef(`__feed_atom',
`<item>
<title>__title</title>
<link>https://bndl.org/__slug</link>
`<item>
<title>__title</title>
<link>https://bndl.org/__slug</link>
-<guid isPermaLink="false">tag:bndl.org,
rss,note
s:__slug</guid>
+<guid isPermaLink="false">tag:bndl.org,
2020:notes.rs
s:__slug</guid>
<pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
<pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
+ifdef(`__upd',`<atom:updated>__upd</atom:updated>')dnl
<description>',
`<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<description>',
`<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
-<meta name="author" content="
Amin B
andali"/>
+<meta name="author" content="
b
andali"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>__title`'ifdef(`__nts',,` — bandali')</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>__title`'ifdef(`__nts',,` — bandali')</title>
-<link rel="alternate" href="/atom.xml" type="application/atom+xml"/>
+<link rel="alternate" href="/notes.atom" type="application/atom+xml"/>
+<link rel="alternate" href="/notes.rss" type="application/rss+xml"/>
<link rel="icon" href="/gnu.ico"/>
<link rel="stylesheet" href="/style.css"/>
<link rel="index" href="/"/>
<link rel="icon" href="/gnu.ico"/>
<link rel="stylesheet" href="/style.css"/>
<link rel="index" href="/"/>
@@
-40,9
+42,9
@@
ifelse(__slug,`home',`<h1>__title</h1>',
</header>
<nav>
<ul>
</header>
<nav>
<ul>
-<li><a href="/publications">Publications</a></li>
-<li><a href="/#projects">Projects</a></li>
<li><a href="/#notes">Notes</a></li>
<li><a href="/#notes">Notes</a></li>
+<li><a href="/projects">Projects</a></li>
+<li><a href="/publications">Publications</a></li>
<li><a href="/cv" title="curriculum vitae">CV</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
<li><a href="/cv" title="curriculum vitae">CV</a></li>
<li><a href="/contact">Contact</a></li>
</ul>