Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix breadcrumb links and add collections/schema.html #351

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

kngai
Copy link
Contributor

@kngai kngai commented Aug 12, 2024

This PR fixes breadcrumb links and adds the missing schema.html to maintain parity with pygeoapi default theme files. Other minor changes:

  • Add truncate(25) to collection titles; similar to pygeoapi default theme
  • Remove use of non-existant data['id'] in certain templates; only available in collection/items template
  • Add missing translations for schema.html
  • Replace with URL pathing with use of data['collections_path'] for path to collections

@kngai kngai marked this pull request as ready for review August 12, 2024 20:43
@kngai kngai marked this pull request as draft August 12, 2024 20:57
- Remove use of non existant data['id'] on certain templates
- Use data['collections_path'] in breadcrumb as the first URL pathing in most cases
@kngai kngai marked this pull request as ready for review August 13, 2024 13:42
@tomkralidis tomkralidis merged commit a502a6e into ECCC-MSC:master Aug 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants