summaryrefslogtreecommitdiff
path: root/templates/index.liquid
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-08-18 23:39:59 +0200
committerJules Laplace <julescarbon@gmail.com>2017-08-18 23:39:59 +0200
commit1e006b7df774ac9966ba2105e68cebf5e395e98d (patch)
treeb145e5f68ac7ca4ba3f80ee1cb4df7cc9089c21d /templates/index.liquid
parenta8a5509a02fec7dcc57ec9382c97685cf711360d (diff)
folkestone
Diffstat (limited to 'templates/index.liquid')
-rw-r--r--templates/index.liquid37
1 files changed, 23 insertions, 14 deletions
diff --git a/templates/index.liquid b/templates/index.liquid
index 317ee58..57f2238 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -2,33 +2,42 @@
<html>
<head>
<title>The Folkestone Gossip</title>
-<link href='/css.css' rel='stylesheet' type='text/css'>
+<link href='/assets/css.css' rel='stylesheet' type='text/css'>
</head>
<body>
-<div id="header">
+<div id='header'>
+ <h1>The Folkestone Gossip</h1>
<div id='tags'></div>
</div>
-<div id="body">
- {% for entry in entrys %}
- <div class='cell' data-id='{entry.id}'>
- {entry.title}
- </div>
+<div id='body'>
+ {% for entry in entries %}
+ {% unless entry.disabled %}
+ <div class='cell' data-id='{{ entry.id }}'>
+ {{ entry.title }}
+ </div>
+ {% endunless %}
{% endfor %}
</div>
-<div id="about">
- {% for page in pages %}
- {% page.body %}
- {% endfor %}
-</div>
+{% for page in pages %}
+ {% unless page.disabled %}
+ <div id='{{ page.id }}' class='page'>
+ <h2>{{ page.title }}</h2>
+ {{ page.body | newline_to_br }}
+ </div>
+ {% endunless %}
+{% endfor %}
-<div id="entry">
+<div id='entry'>
+ <div class='close'>&times;</div>
<div class='media'></div>
- <h1></h1>
+ <h2></h2>
<div class='content'></div>
</div>
</body>
+<script src="/assets/jquery.min.js"></script>
+<script src="/assets/site.js"></script>
</html>