Compare commits

...

3 Commits

Author SHA1 Message Date
Solene Rapenne 5fb81cf7cd allow creating puffy website 2021-10-06 22:08:22 +02:00
Solene Rapenne 7d8fc44c49 make a simple website for puffy.cafe and adapt make_issue.sh so it works for more cases than index.html 2021-10-06 22:08:12 +02:00
Solene Rapenne 46b23bf9b9 dark theme is less agressive for the eyes 2021-10-06 22:07:40 +02:00
7 changed files with 26 additions and 5 deletions

View File

@ -9,6 +9,9 @@ generate-site: clean
tools/atom.sh webzine.puffy.cafe > ../public/atom.xml
xmllint -format ../public/atom.xml
puffy: clean
tools/make_issue.sh _puffy.cafe ../public/index.html
all: generate-site
clean:

View File

@ -148,12 +148,12 @@ cite {
main { column-count: 1; }
}
@media (prefers-color-scheme: dark) {
body { color: #eee; background-color: #111; }
body { color: #ccc; background-color: #222; }
html { background-color: black; }
.permalink { color: deepskyblue; }
img { border-color: #eee; }
#banner { border-color:#eee; }
a { color: #eee; }
img { border-color: #ccc; }
#banner { border-color:#ccc; }
a { color: #ccc; }
}
</style>
</head>

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