aboutsummaryrefslogtreecommitdiff
path: root/_site/rewrites
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-06-29 21:10:46 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-06-29 21:10:46 +0200
commit5c5014a95ae79af4b052b5011e7d0c11d6eae6a6 (patch)
tree2e01690505d48a296d1826096f974762f46380dc /_site/rewrites
parentd2733aa17b7932dfb78e97639e7d568ac41b9ee1 (diff)
downloadunchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.gz
unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.bz2
unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.zip
It's all done? Almost, just missing the RSS feed!
Diffstat (limited to '_site/rewrites')
-rw-r--r--_site/rewrites/article.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/_site/rewrites/article.php b/_site/rewrites/article.php
index eb98798..613121b 100644
--- a/_site/rewrites/article.php
+++ b/_site/rewrites/article.php
@@ -39,7 +39,13 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php";
?>, by <?= implode(" and ", $item["author"]) ?></p>
</div>
</div>
+</div>
+
+<?php if (!is_null($item["cover"])): ?>
+<header id="article-cover" style="background-image:url('<?= $item["cover"] ?>')"></header>
+<?php endif; ?>
+<div class="container" style="margin-top:15px;">
<article>
<?= $item["content"]["full"] ?>
</article>