make a simple website for puffy.cafe and adapt make_issue.sh so it works for more cases than index.html

This commit is contained in:
Solene Rapenne 2021-10-06 22:08:12 +02:00
parent 46b23bf9b9
commit 7d8fc44c49
5 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<header>
<h2 id="title">Puffy.cafe</h2>
<p id="banner"><span aria-hidden="true"></span><em>Your tasty dose of OpenBSD news</em><span aria-hidden="true"></span></p>
</header>
<main>

View File

@ -0,0 +1,6 @@
<article id="content">
<h2>Related work</h2>
<ul>
<li><a class="permalink" href="https://webzine.puffy.cafe/">The OpenBSD Webzine</a></li>
</ul>
</article>

View File

@ -0,0 +1,6 @@
<article id="infos">
<h2>Infos</h2>
<div>
<p>Puffy.cafe may become in the future a place for many OpenBSD related content creator (artwork, stories, news). If you want to publish something under a domain name ending with .puffy.cafe please contact us.</p>
</div>
</article>

View File

@ -0,0 +1 @@

View File

@ -41,7 +41,7 @@ fi
cat _common/header $DIR/*html _common/footer > $DESTFILENAME
if ! [ "$DIR" = "_index" ]
if echo $DIR | grep issue
then
set -e
# replace with issue number