mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 15:41:37 +01:00
Finally managed to use my own HTML model so HTML gets rendered correctly. And added alt tags for images to comply wit w3c requirements
This commit is contained in:
parent
8794ba7170
commit
3f77ddba6a
4 changed files with 17 additions and 14 deletions
|
|
@ -1,23 +1,25 @@
|
||||||
_model: HTMLPage
|
_model: htmlpage
|
||||||
---
|
---
|
||||||
title: Willkommen beim PC Stammertal
|
title: Willkommen beim PC Stammertal
|
||||||
---
|
---
|
||||||
body:
|
html:
|
||||||
|
|
||||||
<p><br/></p>
|
<br/>
|
||||||
<h3>Unser nächster Anlass: </h3>
|
<br/>
|
||||||
<p><br/></p>
|
<h3>Unser nächster Anlass: </h3><br/>
|
||||||
<p>Sonntag <strong>8. Dezember, Gangfischschiessen</strong> in Ermatingen
|
<br/>
|
||||||
<p><br/></p>
|
Sonntag <strong>8. Dezember, Gangfischschiessen</strong> in Ermatingen<br/>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
<div class="threecolumn">
|
<div class="threecolumn">
|
||||||
<div>
|
<div>
|
||||||
<a href="termine/"><img src=" /images/termine_square.jpg"> All unsere Termine</a></p>
|
<a href="termine/"><img src=" /images/termine_square.jpg" alt="Terminkalender"> All unsere Termine</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="about/"><img src="/images/about_square.jpg"> Alle Infos über uns</a>
|
<a href="about/"><img src="/images/about_square.jpg" alt="Buch"> Alle Infos über uns</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="kontakt/"><img src="/images/kontakt_square.jpg"> Kontaktiere uns</a>
|
<a href="kontakt/"><img src="/images/kontakt_square.jpg" alt="Briefe"> Kontaktiere uns</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
[model]
|
[model]
|
||||||
name = HTMLPage
|
name = HTMLPage
|
||||||
label = {{ this.title }}
|
label = htmlpage
|
||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
[fields.body]
|
[fields.html]
|
||||||
label = Body
|
label = HTML
|
||||||
type = html
|
type = html
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="left_header">
|
<div class="left_header">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="{% if this._path == '/' %}active{% endif
|
<li class="{% if this._path == '/' %}active{% endif
|
||||||
%}"><a href="{{ '/'|url }}"><img class="header-logo" src="/images/logo.svg">Pistolenclub Stammertal</a></li>
|
%}"><a href="{{ '/'|url }}"><img class="header-logo" src="/images/logo.svg" alt="PCS Logo">Pistolenclub Stammertal</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="right_header">
|
<div class="right_header">
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@
|
||||||
<div class="inner_page">
|
<div class="inner_page">
|
||||||
<h2>{{ this.title }}</h2>
|
<h2>{{ this.title }}</h2>
|
||||||
{{ this.body }}
|
{{ this.body }}
|
||||||
|
{{ this.html }}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue