//- vim:ts=4:sw=4:
doctype html
html
head
include head
+social(SITE_NAME, "Play historic board games on the web.")
meta(name="keywords" content="wargames, war games, block games")
title= SITE_NAME
style.
div.list {
max-width: 800px;
display: flex;
flex-wrap: wrap;
justify-content: left;
}
div.list div {
min-width: 150px;
margin: 10px 15px;
text-align: center;
}
div.list a:not(:hover) {
color: black;
text-decoration: none;
}
div.list img {
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
height: 200px;
margin: 5px auto;
display: block;
}
body
include header
article
h1= SITE_NAME
p #{SITE_NAME} is a website where you can play historic board games online.
p Registration and use is free, and there are no ads.
div.list
each title in titles
unless title.is_hidden
- let cover = "/" + title.title_id + "/cover"
div
+gamecover(title.title_id)
| #{title.title_name}
p: a(href="/games/public") List of all open and active games.
p!= process.env.SITE_INVITE