templates/status/single.html: Fixing visually outdated Status overview pages
This commit is contained in:
parent
b2d3dc40a3
commit
9a3f8321c2
|
@ -1,5 +1,5 @@
|
|||
{% extends "page.html" %}
|
||||
|
||||
{% import 'macros/taxonomy.html' as macros_taxonomy -%}
|
||||
{% block seo %}
|
||||
{% set state_name_in_url = term.permalink | trim_end_matches(pat="/") | split(pat="/") | last %}
|
||||
{% set section = get_section(path="state/_index.md") %}
|
||||
|
@ -49,38 +49,13 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-md-12 col-lg-10 col-xl-8">
|
||||
<article class="taxonomies>
|
||||
<h1 class="text-center">{{ title }}</h1>
|
||||
<h1 class="text-center">Status: {{ title }}</h1>
|
||||
{% if state_page and state_page.content %}<div class="text-center">{{ state_page.content | safe }}</div>{% endif %}
|
||||
<div class="card-list">
|
||||
{% for page in term.pages %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<strong>
|
||||
<a class="stretched-link" href="{{ page.permalink }}">{{ page.title }}</a>
|
||||
</strong>
|
||||
<span class="description" style="float:right;">{{ page.description }}</span>
|
||||
<p class="description" style="text-align: right;">
|
||||
{% for category in page.taxonomies.categories %}
|
||||
<code class="{{ category }}" title="Category">{{ category }}</code>
|
||||
{% endfor %}
|
||||
{% if page.taxonomies.status %}
|
||||
{% for state in page.taxonomies.status %}
|
||||
<small class="{{ state }}" style="float:left;" title="Project State">{{ state }}</small>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for framework in page.taxonomies.frameworks %}
|
||||
<code class="{{ framework }}" title="Framework">{{ framework }}</code>
|
||||
{% endfor %}
|
||||
{% for compatibility in page.taxonomies.mobile_compatibility %}
|
||||
<code class="{{ compatibility }}" title="Mobile compatibility">{{ compatibility }}</code>
|
||||
{% endfor %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<p><a href="..">← Back to all {{ taxonomy.name }}</a></p>
|
||||
</article>
|
||||
<div class="card-list">
|
||||
{{ macros_taxonomy::taxonomy_single() }}
|
||||
</div>
|
||||
{{ macros_taxonomy::taxonomy_backlink() }}
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue