add php issue listing
This commit is contained in:
parent
892f13da8e
commit
393d46f8d3
|
@ -1,2 +1,2 @@
|
||||||
*.pdf
|
dist/*.pdf
|
||||||
*.html
|
dist/*.html
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
|
||||||
|
<title>tildeverse zine</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<h1>tildeverse zine</h1>
|
||||||
|
|
||||||
|
<p>this is the tildeverse zine</p>
|
||||||
|
<p>get involved and send in some content: <a href="https://tildegit.org/tildeverse/zine">tildeverse/zine</a></p>
|
||||||
|
|
||||||
|
<h2>issues</h2>
|
||||||
|
|
||||||
|
<?php foreach (glob("dist/*.html") as $issue) {
|
||||||
|
$issue = mb_substr(basename($issue, ".html"), 6); ?>
|
||||||
|
<h4>issue <?=$issue?></h4>
|
||||||
|
<p>
|
||||||
|
<a href="issue-<?=$issue?>.html">html version</a>
|
||||||
|
<a href="issue-<?=$issue?>.pdf">pdf version</a>
|
||||||
|
</p>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue