begin to phase in projects
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
8f1338e012
commit
3f23695b6a
5 changed files with 18 additions and 45 deletions
|
@ -1,6 +1,9 @@
|
||||||
title: ungleich cms
|
title: ungleich cms
|
||||||
---
|
---
|
||||||
body: There is not much here - everything is stored below /u/.
|
_model: page-2020
|
||||||
|
---
|
||||||
|
content: There is not much here - everything is stored below /u/.
|
||||||
|
|
||||||
You should actually not be able to see this page below ungleich.ch. If
|
You should actually not be able to see this page below ungleich.ch. If
|
||||||
you do, please let us know.
|
you do, please let us know.
|
||||||
|
---
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
_model: page-2020
|
||||||
|
---
|
||||||
title: /u/: the new home of ungleich
|
title: /u/: the new home of ungleich
|
||||||
---
|
---
|
||||||
body: We are changing our CMS and our blog to a static
|
body: We are changing our CMS and our blog to a static
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
|
_model: projects
|
||||||
|
---
|
||||||
title: Projects
|
title: Projects
|
||||||
---
|
---
|
||||||
body:
|
subtitle: Things we do at ungleich
|
||||||
|
---
|
||||||
This is a list of the projects:
|
|
||||||
|
|
||||||
* Project 1
|
|
||||||
* Project 2
|
|
||||||
* Project 3
|
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="/u/static/bootstrap-4.4.1-dist/css/bootstrap.min.css">
|
href="/u/static/bootstrap-4.4.1-dist/css/bootstrap.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>{% block title %}Welcome to {% endblock %} | ungleich.ch</title>
|
<title>{% block title %}Welcome to {% endblock %} | ungleich.ch</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -23,6 +21,7 @@
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<!-- MENU HERE -->
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav mr-auto">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
|
@ -37,6 +36,9 @@
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/u/products/">Products</a>
|
<a class="nav-link" href="/u/products/">Products</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/u/projects/">Projects</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<form class="form-inline my-2 my-lg-0"
|
<form class="form-inline my-2 my-lg-0"
|
||||||
action="https://search.ungleich.ch/yacysearch.html" method="get">
|
action="https://search.ungleich.ch/yacysearch.html" method="get">
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
{% extends "layout-2020.html" %}
|
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
|
||||||
{% block subtitle %}{{ this.subtitle }}{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
{% for product in this.children %}
|
|
||||||
{% if loop.first %}
|
|
||||||
<div class="row mb-3">
|
|
||||||
{% endif %}
|
|
||||||
<div class="col-md-4 mb-3">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-body">
|
|
||||||
<h5 class="card-title">{{ product.title }}</h5>
|
|
||||||
<p class="card-text">{{ product.subtitle }}</p>
|
|
||||||
<a class="btn btn-primary" href="{{ product|url }}">Check it out</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% if loop.index is divisibleby 3 %}
|
|
||||||
</div>
|
|
||||||
<div class="row mb-3">
|
|
||||||
{% endif %}
|
|
||||||
{% if loop.last %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
1
templates/products.html
Symbolic link
1
templates/products.html
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
summary-page.html
|
Loading…
Reference in a new issue