setup per meme views, use html includes
parent
49eb1470f5
commit
8e3a6338c7
@ -0,0 +1,9 @@
|
|||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>SuchWowX!</title>
|
||||||
|
<script src="https://unpkg.com/unpoly@2.5.0/unpoly.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://unpkg.com/unpoly@2.5.0/unpoly.min.css">
|
||||||
|
<link rel="stylesheet" href="/static/css/bulma.min.css">
|
||||||
|
<link rel="stylesheet" href="/static/css/bulma.css.map">
|
||||||
|
</head>
|
@ -0,0 +1,33 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
{% include 'includes/head.html' %}
|
||||||
|
<body>
|
||||||
|
<section class="section">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="title">
|
||||||
|
SuchWowX.
|
||||||
|
</h1>
|
||||||
|
<p class="subtitle">
|
||||||
|
Memes. <strong>Interplanetary</strong>!
|
||||||
|
</p>
|
||||||
|
<a class="button" href="{{ url_for('meta.index') }}" up-target=".container">Go Home</a>
|
||||||
|
|
||||||
|
{% if meme %}
|
||||||
|
<div id="meme">
|
||||||
|
<div class="meme" style="padding-top:1em;">
|
||||||
|
<p>Meme: {{ meme }}</p>
|
||||||
|
<p>Upload path: {{ meme.upload_path }}</p>
|
||||||
|
<p>Meta IPFS: {{ meme.meta_ipfs_hash }}</p>
|
||||||
|
<p>Meme IPFS: {{ meme.meme_ipfs_hash }}</p>
|
||||||
|
<p>Title: {{ meme.title }}</p>
|
||||||
|
<p>Description: {{ meme.description }}</p>
|
||||||
|
<p>Creator handle: {{ meme.creator_handle }}</p>
|
||||||
|
<img src="{{ url_for('meta.uploaded_file', filename=meme.upload_path) }}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,17 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script src="https://unpkg.com/unpoly@2.5.0/unpoly.min.js"></script>
|
|
||||||
<link rel="stylesheet" href="https://unpkg.com/unpoly@2.5.0/unpoly.min.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<!-- HTML here may use Unpoly attributes like [up-follow] -->
|
|
||||||
<a href="/" class="one" up-target=".one">
|
|
||||||
♥
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a href="/" class="two" up-target=".two">
|
|
||||||
♠
|
|
||||||
</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue