X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/505a94190f4aba9404b7c9d95444bfa0a14925ec..c5d21f5538f970f6145160826979f3663bb3d383:/header.html?ds=sidebyside diff --git a/header.html b/header.html index e371576..892805b 100644 --- a/header.html +++ b/header.html @@ -1,39 +1,53 @@ -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 -', + + +__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 +55,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