mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 13:51:38 +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
|
||||
---
|
||||
body:
|
||||
html:
|
||||
|
||||
<p><br/></p>
|
||||
<h3>Unser nächster Anlass: </h3>
|
||||
<p><br/></p>
|
||||
<p>Sonntag <strong>8. Dezember, Gangfischschiessen</strong> in Ermatingen
|
||||
<p><br/></p>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Unser nächster Anlass: </h3><br/>
|
||||
<br/>
|
||||
Sonntag <strong>8. Dezember, Gangfischschiessen</strong> in Ermatingen<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="threecolumn">
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
[model]
|
||||
name = HTMLPage
|
||||
label = {{ this.title }}
|
||||
label = htmlpage
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
type = string
|
||||
|
||||
[fields.body]
|
||||
label = Body
|
||||
[fields.html]
|
||||
label = HTML
|
||||
type = html
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<div class="left_header">
|
||||
<ul class="nav">
|
||||
<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>
|
||||
</div>
|
||||
<div class="right_header">
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
<div class="inner_page">
|
||||
<h2>{{ this.title }}</h2>
|
||||
{{ this.body }}
|
||||
{{ this.html }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue