fix two links
[~bandali/bndl.org] / header.html
index 9371905..892805b 100644 (file)
@@ -1,22 +1,24 @@
 include(meta_defs.m4)dnl
 ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl
 ifdef(`__feed_atom',
 include(meta_defs.m4)dnl
 ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl
 ifdef(`__feed_atom',
-`<entry xml:base="https://bndl.org">
+`<entry xml:base="__d">
 <author><name>bandali</name></author>
 <author><name>bandali</name></author>
-<id>tag:bndl.org,2020:notes.atom:__slug</id>
+<id>tag:shemshak.org,2020:__p/notes.atom:__slug</id>
 <published>__pub</published>
 <published>__pub</published>
-ifdef(`__upd',`<updated>__upd</updated>',`<updated>__pub</updated>')
-<link href="https://bndl.org/__slug" rel="alternate" type="text/html"/>
+ifdef(`__upd',`<updated>__upd</updated>',`<updated>__pub</updated>')dnl
+<link href="__d`'__p/__slug.html" rel="alternate" type="text/html"/>
 <title>__title</title>
 <title>__title</title>
-<content type="html">',
+<content type="html">
+<![CDATA[',
 `ifdef(`__feed_rss',
 `<item>
 <title>__title</title>
 `ifdef(`__feed_rss',
 `<item>
 <title>__title</title>
-<link>https://bndl.org/__slug</link>
-<guid isPermaLink="false">tag:bndl.org,2020:notes.rss:__slug</guid>
+<link>__d`'__p/__slug.html</link>
+<guid isPermaLink="false">tag:shemshak.org,2020:__p/notes.rss:__slug</guid>
 <pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
 ifdef(`__upd',`<atom:updated>__upd</atom:updated>')dnl
 <pubDate>syscmd(date "-uRd __pub" | tr -d \\n)</pubDate>
 ifdef(`__upd',`<atom:updated>__upd</atom:updated>')dnl
-<description>',
+<content:encoded>
+<![CDATA[',
 `<!doctype html>
 <html lang="en">
 <head>
 `<!doctype html>
 <html lang="en">
 <head>
@@ -24,29 +26,28 @@ ifdef(`__upd',`<atom:updated>__upd</atom:updated>')dnl
 <meta name="author" content="bandali"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
 <title>__title`'ifdef(`__nts',,` &mdash; bandali')</title>
 <meta name="author" content="bandali"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
 <title>__title`'ifdef(`__nts',,` &mdash; bandali')</title>
-<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="alternate" href="__p/notes.atom" type="application/atom+xml"/>
+<link rel="alternate" href="__p/notes.rss" type="application/rss+xml"/>
+<link rel="icon" href="__p/gnu.ico"/>
+<link rel="stylesheet" href="__p/style.css"/>
 ifdef(`__pub',
 define(__previd, `_get(`notes', decr(__id))')dnl
 define(__nextid, `_get(`notes', incr(__id))')dnl
 ifdef(`__pub',
 define(__previd, `_get(`notes', decr(__id))')dnl
 define(__nextid, `_get(`notes', incr(__id))')dnl
-`ifelse(__previd,,,`<link rel="prev" href="/__previd">')'dnl
-`ifelse(__nextid,,,`<link rel="next" href="/__nextid">')')dnl
+`ifelse(__previd,,,`<link rel="prev" href="__p/__previd.html">')'dnl
+`ifelse(__nextid,,,`<link rel="next" href="__p/__nextid.html">')')dnl
 </head>
 <body>
 <header>
 </head>
 <body>
 <header>
-ifelse(__slug,`home',`<h1>__title</h1>',
-`<strong><a href="/">Bandali</a>&apos;s Personal Site</strong>')
+ifelse(__slug,`home',`<h1>__site__title</h1>',
+`<strong><a href="__p/">__site__title</a></strong>')
 </header>
 <nav>
 <ul>
 </header>
 <nav>
 <ul>
-<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>
+<li><a href="__p/#notes">notes</a></li>
+<li><a href="__p/publications.html">publications</a></li>
+<li><a href="__p/cv.html" title="curriculum vitae">cv</a></li>
+<li><a href="__p/contact.html">contact</a></li>
+dnl<li><a href="__p/fa/" title="Persian">فارسی</a></li>
 </ul>
 </nav>
 <main>
 </ul>
 </nav>
 <main>