Commit graph

8 commits

Author SHA1 Message Date
65dd0847bf Update CSS and HTML 2025-03-04 15:36:38 +01:00
a14f206a2a
Finalize assets (#26)
* Add favicons and app images

* Add to root head: meta id elements, favicons

* Finish ship ready CSS/HTML

* Add static non-media assets
2024-10-18 09:30:28 +02:00
27fb1b7a86
Fix validation errors (#25)
* Fix HTML validation errors

* Fix a11y validation errors
2024-10-16 16:31:42 +02:00
57e935ec00
Improve HTML for robot consumtion (#24)
* Fix icalendar validation errors

* Add RSS feed to documents

* Add stuff to meta: opengraph, canonical

* Add SEO robots meta elements

* Fix correct page titles

* Add more semantics to HTML

* Remove breadcrumbs from templates

* Render breadcrumbs in layout

Each controller should provide their own breadcrumb
trail as a list of tuples, where each tuple is the
pair of a slugified key and a human readable label.

Example:

[{"blog", "Webblogg"}]
[{"blog", "Webblogg"}, "2024", "2024"]

* Add CSS util class to show content only to screen readers

* Load interactive event map only on events page

* Decrease home logo size

* Use correct HTML element for time

* Improve Home page HTML semantics

* Add Person RFDa to footer

* Add RDFa to articles: annual, item, articles

* Enrich links semantics using RDFa

* Enrich Page semantics using RDFa

* Enrich Album semantics using RFDa

* Enrich Event semantics with RDFa
2024-10-16 15:40:53 +02:00
ef937ca0eb
Add feeds: event-map.js, RSS feed, ICS feed (#23)
* Add Feed view

* Update Directus client to support feeds

- Provide content for list data
- Add virtual fields to albums.

* Finalize archive view for Timeline module

* Remove unused scaffold code

* Add feed controller views: rss, calendar, js map

* Use module var to set fallback limit value

* Setup routes to feeds

* Fix warnings and typos
2024-10-07 23:44:22 +02:00
84f4b8007a
Article list view (#12)
* Add article list view

* Add article view CSS

* Cleanup scaffold app layout

Most importantly, fix issue with page title.

* Add article view to Page controller

* Add article list view to router
2024-10-03 09:38:07 +02:00
8bbe8a1b24
Item views (#7)
* Add Earmark dependency

For markdown to HTML conversion

* Display items by slug: articles, pages

* Handle 401 Forbidden responses in Directus

* Add item controller as pokemon route

* Strip out generated layouts

* Plan future routes

* Look for item in order: article, link, event, album

* Add item templates
2024-09-06 22:41:12 +02:00
Anders Englöf Ytterström
8e1f1bae97 Initiate next madr.se site
mix phx.new mse25 \
  --no-ecto \
  --no-tailwind \
  --no-dashboard \
  --no-live \
  --no-mailer
2024-09-04 10:12:36 +02:00