diff options
Diffstat (limited to 'templates/index.liquid')
| -rw-r--r-- | templates/index.liquid | 84 |
1 files changed, 7 insertions, 77 deletions
diff --git a/templates/index.liquid b/templates/index.liquid index 1968816..ad198a0 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -18,86 +18,16 @@ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <title>How to make a Folkestone.</title> - <link href='/assets/flickity.css' rel='stylesheet' type='text/css'> - <link href='/assets/css.css' rel='stylesheet' type='text/css'> </head> -<body> - -<img src="/assets/header.jpg" id="header"> - -<div id='posts'> - {% for entry in entries %} - {% unless entry.disabled %} - <div class='cell' data-id='{{ entry.id }}'> - <div class='title'> - <span>{{ entry.title }}</span> - </div> - <div class='media'> - {% for media in entry.media %} - {% if media.type == 'youtube' %} - <iframe src="https://www.youtube.com/embed/{{ media.token }}?modestbranding=1&rel=0" width="{{media.width}}" height="{{media.height}}" frameborder="0" allowfullscreen></iframe> - {% else %} - <img src="{{media.uri}}"> - {% endif %} - {% endfor %} - </div> - <div class="content"> - {{ entry.body | newline_to_br }} - </div> - </div> - {% endunless %} - {% endfor %} -</div> - -{% for page in pages %} - {% unless page.disabled %} - <div id='{{ page.id }}' class='page'> - <div class='inner'> - <h2>{{ page.title }}</h2> - {{ page.body | newline_to_br }} - </div> - </div> - {% endunless %} +<body style='background-color:black'> +<div style='opacity:0' id='entries'> +{% for entry in entries %} + <a href='/entry/{{ entry.id }}'>{{ entry.title }}</a> {% endfor %} - -<div id="footer"> - <div id="testimonials"> - {% for testimonial in testimonials %} - {% unless testimonial.disabled %} - <div id='{{ testimonial.id }}' class='testimonial'> - <span class="blurb"> - {{ testimonial.body | newline_to_br }} - —{{ testimonial.byline }} - </span> - </div> - {% endunless %} - {% endfor %} - </div> - - <div id="coda"> - <a href="/acknowledgements">Acknowledgements</a> - <a href="https://docs.google.com/forms/d/10dqrK_3UZW_xlPWQLERd0xTwVONryyicNuz2aYz3X_I/edit?c=0&w=1">Participate!</a> - </div> - <div id="logos"> - <a target="_blank" href="http://asdf.us/"><img src="/assets/bird.png"></a> - <a target="_blank" href="http://catalinavallejos.com/"><img src="/assets/wayshape.png"></a> - <a target="_blank" href="http://www.geidai.ac.jp/english/"><img src="/assets/geidai.png"></a> - <a target="_blank" href="http://www.arts.ac.uk/csm/"><img src="/assets/csm.png"></a> - <a target="_blank" href="http://gap.geidai.ac.jp/en/"><img src="/assets/gap.png"></a> - </div> -</div> - -<div id='entry'> - <div class='inner'> - <div class='close'>×</div> - <div class='media'></div> - <h2></h2> - <div class='content'></div> - </div> </div> </body> <script src="http://www.youtube.com/player_api"></script> -<script src="/assets/jquery.min.js"></script> -<script src="/assets/flickity.pkgd.js"></script> -<script src="/assets/site.js"></script> +<script> +window.location.href=document.getElementById('entries').children[0].href +</script> </html> |
