Corrected markup on homepage.

This commit is contained in:
Russell Keith-Magee 2020-02-13 16:40:13 +08:00
parent d330f33c6a
commit 683be13b9a
No known key found for this signature in database
GPG key ID: 3D2DAB6A37BB5BC3
5 changed files with 13 additions and 9 deletions

View file

@ -50,9 +50,9 @@ url_prefix = /cs_CZ/
locale = cs_CZ
[packages]
lektor-rst = 0.1
lektor-rst = 0.2.0
lektor-github-repos = 0.1.1
lektor-atom = 0.2
lektor-atom = 0.3
lektor-gravatar = 0.1.2
[servers.ghpages]

View file

@ -57,7 +57,7 @@ rtfd_name: batavia
---
customlogo: yes
---
showcase: yes
showcase: no
---
image: batavia.png
---

View file

@ -81,6 +81,6 @@ exploitative business practices of the company.
---
rtfd_name: voc
---
showcase: yes
showcase: no
---
github_repo: beeware/voc

View file

@ -8,7 +8,7 @@ languages: py
---
platforms: macOS, iOS, android, tvOS, win
---
short_description: Tools to support converting a Python project into a standalone native application.
short_description: Covert a Python project into a standalone native application.
---
description:

View file

@ -76,8 +76,8 @@
</div>
</div>
</div>
#}
<hr/>
#}
<h3><a href="{{ '/news/buzz/'|url(alt=this.alt) }}">{{ t_latest_news }}</a></h3>
{% set blog = site.query('/news/buzz', alt=this.alt).all() %}
@ -125,7 +125,7 @@
{% for project in site.query(project_type.path, alt=this.alt).filter(F.showcase==True) %}
<div>
<h4><a href="{{ project|url(alt=this.alt) }}"><img src="{{ site.get(project.path)|url }}{{ project.image }}" height="32px" alt="{{ project.name }}"> {{ project.name }}</h4></a>
{{ project.short_description|string|wordwrap(width=40, wrapstring='<br>')|safe }}
{{ project.short_description|safe }}
</div>
{% endfor %}
{% endfor %}
@ -138,6 +138,10 @@
<div class="row" style="background-color: #e9ecef;">
<div class="col-sm-12 d-block d-sm-none gutter">
{{ this.gutter_top }}
{#
Mar 30 2019: Removed the sponsors block because there's no current sponsors.
However, any site redesign needs to keep a place for it.
<div id="carousel-members" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-members" data-slide-to="0" class="active"></li>
@ -151,7 +155,7 @@
</div>
<hr/>
#}
<h3><a href="{{ '/news/buzz/'|url(alt=this.alt) }}">{{ t_latest_news }}</a></h3>
{% set blog = site.query('/news/buzz', alt=this.alt).all() %}
<p><a href="{{ blog[0]|url(alt=this.alt) }}">{{ blog[0].pub_date.strftime("%d %b")}}: {{ blog[0].title }}</a></p>
@ -198,7 +202,7 @@
{% for project in site.query(project_type.path, alt=this.alt).filter(F.showcase==True) %}
<div>
<h4><a href="{{ project|url(alt=this.alt) }}"><img src="{{ site.get(project.path)|url }}{{ project.image }}" height="32px" alt="{{ project.name }}"> {{ project.name }}</h4></a>
{{ project.short_description|string|wordwrap(width=40, wrapstring='<br>')|safe }}
{{ project.short_description|safe }}
</div>
{% endfor %}
{% endfor %}