X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/bndl.org/blobdiff_plain/505a94190f4aba9404b7c9d95444bfa0a14925ec..29f0d7b9e10f827c29213a40279b8a767c99d80b:/header.html diff --git a/header.html b/header.html index e371576..fbc63f8 100644 --- a/header.html +++ b/header.html @@ -1,39 +1,51 @@ -ifdef(`__feed', -` -Amin Bandali -tag:bandali.eu.org,2016:__slug +include(meta_defs.m4)dnl +ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl +ifdef(`__feed_atom', +` +bandali +tag:shemshak.org,2020:__p/notes.atom:__slug __pub -__upd - +ifdef(`__upd',`__upd',`__pub')dnl + __title ', +`ifdef(`__feed_rss', +` +__title +__d`'__p/__slug.html +tag:shemshak.org,2020:__p/notes.rss:__slug +syscmd(date "-uRd __pub" | tr -d \\n) +ifdef(`__upd',`__upd')dnl +', ` - + -__title`'ifdef(`__nts',,` — Amin Bandali') - - - - +__title`'ifdef(`__nts',,` — bandali') + + + + ifdef(`__pub', -`ifdef(`__first',,`')' -`ifdef(`__last',,`')') +define(__previd, `_get(`notes', decr(__id))')dnl +define(__nextid, `_get(`notes', incr(__id))')dnl +`ifelse(__previd,,,`')'dnl +`ifelse(__nextid,,,`')')dnl
-ifelse(__slug,`home',`

__title

', -`Amin Bandali's Personal Site') +ifelse(__slug,`home',`

__site__title

', +`__site__title')
@@ -41,6 +53,6 @@ ifdef(`__pub', `

__title

-

Published on syscmd(date "-d __pub" "+%B %e`,' %Y")`'ifdef(`__upd',`
-Last updated on syscmd(date "-d __upd" "+%B %e`,' %Y")')

-
')') +

Published on syscmd(date "-d __pub" "+%B %e`,' %Y" | tr -d \\n)`'ifdef(`__upd',`
+Last updated on syscmd(date "-d __upd" "+%B %e`,' %Y" | tr -d \\n)')

+')')')dnl