diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-20 19:47:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-11-21 12:48:15 +0100 |
commit | a1fe768c6d40c7c885db1c9843c61527cbe583e3 (patch) | |
tree | c397e7d6796049607d6348c538621d1e8809a847 /views/index.ejs | |
parent | d1318d147297161691f5048e1f2cb4e516159144 (diff) | |
download | server-a1fe768c6d40c7c885db1c9843c61527cbe583e3.tar.gz |
Rewrite view templates to use Pug engine.
Diffstat (limited to 'views/index.ejs')
-rw-r--r-- | views/index.ejs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/views/index.ejs b/views/index.ejs deleted file mode 100644 index 1f23381..0000000 --- a/views/index.ejs +++ /dev/null @@ -1,29 +0,0 @@ -<%- include('header', { title: "Rally the Troops!" }) _%> -<style> -.list { display: flex; flex-wrap: wrap; justify-content: left; max-width: 800px; } -.list a { margin: 1em; display: block; } -.list img { box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); height: 200px; } -</style> - -<p> -Rally the Troops! is a website where you can play historic games with other -players. - -<p> -Registration and use is free, and there are no ads. - -<div class="list"> -<% - for (let t in titles) { - let title = titles[t]; - if (!title.hidden) { -_%> -<a href="/info/<%- title.title_id %>"><img src="/<%- title.title_id %>/cover.jpg"></a> -<% - } - } -_%> -</div> - -<p> -Join the <a href="https://discord.gg/CBrTh8k84A">Discord</a> server to find players or report bugs. |