Skip to content

Template broken for TMS endpoints #2422

Description

@doublebyte1

Description
HTML templating is not working for the HTML encoding of the TileMatrixSets resource

Steps to Reproduce

  • Apply html templating by following these steps.

        cat example-config.yml | grep themes
            path: /home/joana/git/tmp/pygeoapi/pygeoapi/themes/hand-drawn/templates
            static: /home/joana/git/tmp/pygeoapi/pygeoapi/themes/hand-drawn/static
    
        ls themes/hand-drawn/
        static  templates
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ ls themes/hand-drawn/templates/
        _base.html  tilematrixsets
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ ls themes/hand-drawn/templates/tilematrixsets/
        index.html  tilematrixset.html
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ 
    
  • Visit the "TileMatrixSets" endpoint on a browser.

Expected behavior
The templating should be applied to the "TileMatrixSets" and derived endpoints.

Screenshots/Tracebacks

Image Image Image

Environment

  • OS: Ubuntu 24.04.5 LTS
  • Python version: Python 3.12.0
  • pygeoapi version: 0.25.dev0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions