thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Change position of page titles and add page headers #98

Open danieldegroot2 opened 2 years ago

danieldegroot2 commented 2 years ago

For at least the following pages, add

'Join Event' on the Attend page. (code)

{% block title %}
    Join Event | OpenStreetMap Calendar
{% endblock %}

image


"New Event" on the Repeat Event page. (code - display code)

{% block title %}
    {% if page_title %}{{ page_title }} | {% endif %}OpenStreetMap Calendar
{% endblock %}

(similar could be done for Add Event page.)

image


Documentation is currently a single title "OpenStreetMap Calendar Manual", it could be split as above to assure the user they're still on the same website.

thomersch commented 2 years ago

Yes, they are not very consistent. I think this is a result of some stylesheet changes that I made but haven't check on all the pages if they're still ok.

The general idea is that almost all pages have narrow, center content, because it's easier to read, but there are a few which use a multi-column design (like the event detail pages) and fallback to single column on narrow devices. The titles themselves should be offset as you say as on e.g. the documentation page.