test static gen
parent
f73274c13f
commit
7e7931e40c
File diff suppressed because it is too large
Load Diff
@ -1,58 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{% block title %} - {{ title }} {% endblock %}</title>
|
||||
|
||||
<!-- style -->
|
||||
|
||||
<link rel="icon" href="{{url_for('static', filename='favicon.ico')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='font/font.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/variables.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/categories.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/global.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/highlight.css')}}" />
|
||||
|
||||
<!-- script -->
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
|
||||
<!-- Meta -->
|
||||
|
||||
<!-- Primary Meta Tags -->
|
||||
|
||||
|
||||
<meta name="title" content="{{ title }}">
|
||||
<meta name="description" content="Documentation workout for the Experimental Publishing master at Piet Zwart Institute, Rotterdam">
|
||||
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://hub.xpub.nl/soupboat/~kamo/">
|
||||
<meta property="og:title" content="{{ title }}">
|
||||
<meta property="og:description" content="Documentation workout for the Experimental Publishing master at Piet Zwart Institute, Rotterdam">
|
||||
<meta property="og:image" content="https://hub.xpub.nl/soupboat/~kamo/static/img/sharknado.jpg">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:url" content="https://hub.xpub.nl/soupboat/~kamo/">
|
||||
<meta property="twitter:title" content="{{title}}">
|
||||
<meta property="twitter:description" content="Documentation workout for the Experimental Publishing master at Piet Zwart Institute, Rotterdam">
|
||||
<meta property="twitter:image" content="https://hub.xpub.nl/soupboat/~kamo/static/img/sharknado.jpg">
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
{% block nav %} {% endblock %}
|
||||
</nav>
|
||||
|
||||
<header>
|
||||
<h1 class="title">{{ title }}</h1>
|
||||
{% block header %} {% endblock %}
|
||||
</header>
|
||||
<main>{%block content%} {% endblock %}</main>
|
||||
</body>
|
||||
</html>
|
@ -1,9 +0,0 @@
|
||||
{% extends "project.html" %}
|
||||
|
||||
{% block cover%}
|
||||
<figure class='cards'>
|
||||
{% for card in cards %}
|
||||
<img src="{{url_for('static', filename='img/' + card)}}"/>
|
||||
{%endfor%}
|
||||
</figure>
|
||||
{% endblock %}
|
@ -1,80 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Kamo {% block title %} - {{ title }} {% endblock %}</title>
|
||||
|
||||
<!-- style -->
|
||||
|
||||
<link rel="icon" href="{{url_for('static', filename='favicon.ico')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='font/font.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/variables.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/global.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/home.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/categories.css')}}" />
|
||||
<!-- script -->
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<main class="content">
|
||||
|
||||
<div class="homepage-intro">
|
||||
<h2 class="title">{{ title }}</h2>
|
||||
<div class="description">{{content|safe}}</div>
|
||||
</div>
|
||||
|
||||
<table id="table">
|
||||
{% for project in projects %}
|
||||
<tr>
|
||||
<td class="title">
|
||||
<h3 class="title--name">
|
||||
<a href="projects/{{project.slug}}/" class="stretched-link">
|
||||
{{project.title}}
|
||||
</a>
|
||||
</h3>
|
||||
<div class="title--description">
|
||||
{% if project.description %}
|
||||
{{ project.description }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
<td class="links">
|
||||
|
||||
{% if project.url %}
|
||||
<a href="{{project.url}}">project</a>
|
||||
{% endif %}
|
||||
|
||||
{% if project.pad %}
|
||||
<a href="{{project.pad}}">pad</a>
|
||||
{% endif %}
|
||||
|
||||
{% if project.git %}
|
||||
<a href="{{project.git}}">git</a>
|
||||
{% endif %}
|
||||
|
||||
{% if project.links %}
|
||||
{% for link in project.links %}
|
||||
<a href="{{link.url}}">{{link.title}}</a>
|
||||
{% endfor %}
|
||||
{% endif%}
|
||||
|
||||
</td>
|
||||
<td class="categories">
|
||||
{% for category in project.categories %}
|
||||
<span class="tag" data-tag="{{category}}">{{category}}</span>
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td class="date">
|
||||
{% if project.date %}
|
||||
<span>{{project.date}}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
@ -1,42 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
<!-- Additional styles and scripts -->
|
||||
{% block head %}
|
||||
|
||||
|
||||
{% if css %}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{url_for('static', filename='css/' +css)}}"
|
||||
/>
|
||||
{% endif %}
|
||||
|
||||
{% if script %}
|
||||
<script
|
||||
src="{{url_for('static', filename='js/' + script)}}"
|
||||
defer ></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
{% block title %}
|
||||
{{title}}
|
||||
{% endblock %}
|
||||
|
||||
{% block nav %}
|
||||
<a href="/soupboat/{{base_url}}/">Back</a>
|
||||
{% endblock %}
|
||||
|
||||
<!-- Contents in the body -->
|
||||
{% block content%}
|
||||
|
||||
{% if cover %}
|
||||
<img class='cover' alt='{{cover_alt}}' src="{{url_for('static', filename='img/' + cover)}}"/>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{{ content|safe }}
|
||||
{% endblock %}
|
@ -1,123 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{ title }} </title>
|
||||
|
||||
<!-- style -->
|
||||
|
||||
<link rel="icon" href="{{url_for('static', filename='favicon.ico')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='font/font.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/variables.css')}}" />
|
||||
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/global.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/project.css')}}" />
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/categories.css')}}" />
|
||||
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/highlight.css')}}" />
|
||||
|
||||
|
||||
{% if css %}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{url_for('static', filename='css/' +css)}}"
|
||||
/>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<!-- script -->
|
||||
|
||||
|
||||
<script src="{{url_for('static', filename='js/mover.js')}}" defer ></script>
|
||||
|
||||
|
||||
{% if script %}
|
||||
<script
|
||||
src="{{url_for('static', filename='js/' + script)}}"
|
||||
defer ></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<!-- Meta -->
|
||||
{% if description %}
|
||||
<meta name="description" content="{{ description }}">
|
||||
<meta property="og:description" content="{{description}}">
|
||||
<meta property="twitter:description" content="{{description}}">
|
||||
{% endif %}
|
||||
|
||||
{% if cover %}
|
||||
<meta property="og:image" content="https://hub.xpub.nl{{url_for('static', filename='img/' + cover)}}">
|
||||
<meta property="twitter:image" content="https://hub.xpub.nl{{url_for('static', filename='img/' + cover)}}">
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div class="content-wrapper">
|
||||
<a href="/soupboat/~kamo/" class="return">←</a>
|
||||
<h2 class="title"> {{title }} </h2>
|
||||
<div class="date"> {{ date}} </div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<header class="project--header">
|
||||
|
||||
{% block cover %}
|
||||
{% if cover and cover_alt %}
|
||||
<figure class="header--cover">
|
||||
<img src="{{url_for('static', filename='img/' + cover)}}" alt="{{cover_alt}}" />
|
||||
</figure>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
<h1 class="header--title" style="transform: translate(-50%, -50%)" data-mover="2">{{ title }}</h1>
|
||||
|
||||
|
||||
<div class="header--links">
|
||||
|
||||
{% if project %}
|
||||
<a href="{{url_for('static', filename='html/' + project + '/')}}" class="goto-link"> go to the project </a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if url %}
|
||||
<a href="{{url}}" target="__blank">go to project</a>
|
||||
{% endif %}
|
||||
|
||||
{% if pad %}
|
||||
<a href="{{pad}}" target="__blank">pad</a>
|
||||
{% endif %}
|
||||
|
||||
{% if git %}
|
||||
<a href="{{git}}" target="__blank">git</a>
|
||||
{% endif %}
|
||||
|
||||
{% if links %}
|
||||
{% for link in links %}
|
||||
<a href="{{link.url}}" target="__blank">{{link.title}}</a>
|
||||
{% endfor %}
|
||||
{% endif%}
|
||||
</div>
|
||||
|
||||
<div class="header--categories">
|
||||
{% for category in categories %}
|
||||
<span class="tag" data-tag="{{category}}" data-mover="1"
|
||||
style="transform: translate({{range(10,90) | random }}vw, {{range(10,90) | random }}vh)"
|
||||
>
|
||||
{{category}}
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="project--content">
|
||||
|
||||
{{content|safe}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
@ -1,42 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
<!-- Additional styles and scripts -->
|
||||
{% block head %}
|
||||
|
||||
|
||||
{% if css %}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{url_for('static', filename='css/' +css)}}"
|
||||
/>
|
||||
{% endif %}
|
||||
|
||||
{% if script %}
|
||||
<script
|
||||
src="{{url_for('static', filename='js/' + script)}}"
|
||||
defer ></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block head %} {% if css %}
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/' +css)}}" />
|
||||
{% endif %} {% if script %}
|
||||
<script src="{{url_for('static', filename='js/' + script)}}" defer></script>
|
||||
{% endif %} {% endblock %}
|
||||
|
||||
<!-- Title -->
|
||||
{% block title %}
|
||||
{{title}}
|
||||
{% endblock %}
|
||||
|
||||
{% block nav %}
|
||||
<a href="/soupboat/{{base_url}}/">Back</a>
|
||||
{% block title %} {{title}} {% endblock %} {% block nav %}
|
||||
<a href="{{url_for('home_page')}}">Back</a>
|
||||
{% endblock %}
|
||||
|
||||
<!-- Contents in the body -->
|
||||
{% block content%}
|
||||
|
||||
{% if cover %}
|
||||
<img class='cover' alt='{{cover_alt}}' src="{{url_for('static', filename='img/' + cover)}}"/>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{{ content|safe }}
|
||||
{% endblock %}
|
||||
{% block content%} {% if cover %}
|
||||
<img class="cover" alt="{{cover_alt}}" src="{{url_for('static', filename='img/' + cover)}}" />
|
||||
{% endif %} {{ content|safe }} {% endblock %}
|
||||
|
Loading…
Reference in New Issue