website/data/template.sgt

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-09-08 18:28:26 +02:00
# fpc-sitegen example template
# labels (e.g. head-format) can be taken as plain-text when prefixed with a back-slash
title-format:
<div class="title-format"> $$CONTENT$$ </div>
head-format:
<div class="header"> $$CONTENT$$ </div>
sub-head-format:
<div class="sub-header"> $$CONTENT$$ </div>
text-format:
<div class="text"> $$CONTENT$$ </div>
section-format:
<div id="section-$$SECTION_NAME$$">
$$CONTENT$$
</div>
output-format:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="test.css">
</head>
<body>
<div class="sidenav">
<a href="#">Start</a>
<a href="https://github.com/FelixEcker"> GitHub </a>
<a href="https://twitter.com/karpfenhoe"> Tiwtter </a>
<a href="https://www.pouet.net/user.php?who=106160"> Pouet </a>
</div>
<div class="main">
<div class="title-format"> $$DOCUMENT_TITLE$$ </div>
<hr>
$$CONTENT$$
<hr>
<div class="banners">
<img src="banners/under-con.gif"><img src="banners/linux-p.gif"><img src="banners/minibanner.gif"><img src="banners/pouet.gif"><img src="banners/transnow2.gif">
</div>
</div>
</body>
</html>