X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/066f756557045139f7cafc2b5fb30034bc9e021b..f51063bc476aaaa47b2ff9d83e78372b11418498:/header.html?ds=sidebyside diff --git a/header.html b/header.html index 9c73747..78e73d6 100644 --- a/header.html +++ b/header.html @@ -1,3 +1,5 @@ +include(meta_notes.m4)dnl +ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl ifdef(`__feed_atom', ` Amin Bandali @@ -26,8 +28,10 @@ ifdef(`__feed_atom', 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
@@ -50,4 +54,4 @@ ifdef(`__pub',

__title

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